github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/src/pkg/runtime/defs_plan9_amd64.h (about) 1 #define PAGESIZE 0x200000ULL 2 3 typedef struct Ureg Ureg; 4 5 struct Ureg { 6 uint64 ax; 7 uint64 bx; 8 uint64 cx; 9 uint64 dx; 10 uint64 si; 11 uint64 di; 12 uint64 bp; 13 uint64 r8; 14 uint64 r9; 15 uint64 r10; 16 uint64 r11; 17 uint64 r12; 18 uint64 r13; 19 uint64 r14; 20 uint64 r15; 21 22 uint16 ds; 23 uint16 es; 24 uint16 fs; 25 uint16 gs; 26 27 uint64 type; 28 uint64 error; /* error code (or zero) */ 29 uint64 ip; /* pc */ 30 uint64 cs; /* old context */ 31 uint64 flags; /* old flags */ 32 uint64 sp; /* sp */ 33 uint64 ss; /* old stack segment */ 34 };