Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for offsetPpa1 (0.28 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	entry := ((*[2]uintptr)(unsafe.Pointer(f)))[1]
    	preamp := ((*[4]uint32)(unsafe.Pointer(entry - eyecatcherOffset)))
    
    	offsetPpa1 := preamp[2]
    	if offsetPpa1 > 0x0ffff {
    		return "", fmt.Errorf("PPA1 offset seems too big 0x%x\n", offsetPpa1)
    	}
    
    	ppa1 := uintptr(unsafe.Pointer(preamp)) + uintptr(offsetPpa1)
    	res := ptrtest(ppa1)
    	if res != 0 {
    		return "", fmt.Errorf("PPA1 address not valid")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top