| 1 | //go:build 386 || amd64p32 || arm || mipsle || mips64p32le |
| 2 | |
| 3 | package sys |
| 4 | |
| 5 | import ( |
| 6 | "structs" |
| 7 | "unsafe" |
| 8 | ) |
| 9 | |
| 10 | // Pointer wraps an unsafe.Pointer to be 64bit to |
| 11 | // conform to the syscall specification. |
| 12 | type Pointer struct { |
| 13 | structs.HostLayout |
| 14 | ptr unsafe.Pointer |
| 15 | pad uint32 |
| 16 | } |