github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/src/pkg/runtime/defs_windows_amd64.h (about) 1 // c:\go\bin\godefs.exe -f -m64 defs.c 2 3 // MACHINE GENERATED - DO NOT EDIT. 4 5 // Constants 6 enum { 7 PROT_NONE = 0, 8 PROT_READ = 0x1, 9 PROT_WRITE = 0x2, 10 PROT_EXEC = 0x4, 11 MAP_ANON = 0x1, 12 MAP_PRIVATE = 0x2, 13 DUPLICATE_SAME_ACCESS = 0x2, 14 THREAD_PRIORITY_HIGHEST = 0x2, 15 SIGINT = 0x2, 16 CTRL_C_EVENT = 0, 17 CTRL_BREAK_EVENT = 0x1, 18 CONTEXT_CONTROL = 0x100001, 19 CONTEXT_FULL = 0x10000b, 20 EXCEPTION_ACCESS_VIOLATION = 0xc0000005, 21 EXCEPTION_BREAKPOINT = 0x80000003, 22 EXCEPTION_FLT_DENORMAL_OPERAND = 0xc000008d, 23 EXCEPTION_FLT_DIVIDE_BY_ZERO = 0xc000008e, 24 EXCEPTION_FLT_INEXACT_RESULT = 0xc000008f, 25 EXCEPTION_FLT_OVERFLOW = 0xc0000091, 26 EXCEPTION_FLT_UNDERFLOW = 0xc0000093, 27 EXCEPTION_INT_DIVIDE_BY_ZERO = 0xc0000094, 28 EXCEPTION_INT_OVERFLOW = 0xc0000095, 29 }; 30 31 // Types 32 #pragma pack on 33 34 typedef struct SystemInfo SystemInfo; 35 struct SystemInfo { 36 byte Pad_godefs_0[4]; 37 uint32 dwPageSize; 38 void *lpMinimumApplicationAddress; 39 void *lpMaximumApplicationAddress; 40 uint64 dwActiveProcessorMask; 41 uint32 dwNumberOfProcessors; 42 uint32 dwProcessorType; 43 uint32 dwAllocationGranularity; 44 uint16 wProcessorLevel; 45 uint16 wProcessorRevision; 46 }; 47 48 typedef struct ExceptionRecord ExceptionRecord; 49 struct ExceptionRecord { 50 uint32 ExceptionCode; 51 uint32 ExceptionFlags; 52 ExceptionRecord *ExceptionRecord; 53 void *ExceptionAddress; 54 uint32 NumberParameters; 55 byte pad_godefs_0[4]; 56 uint64 ExceptionInformation[15]; 57 }; 58 59 typedef struct M128a M128a; 60 struct M128a { 61 uint64 Low; 62 int64 High; 63 }; 64 65 typedef struct Context Context; 66 struct Context { 67 uint64 P1Home; 68 uint64 P2Home; 69 uint64 P3Home; 70 uint64 P4Home; 71 uint64 P5Home; 72 uint64 P6Home; 73 uint32 ContextFlags; 74 uint32 MxCsr; 75 uint16 SegCs; 76 uint16 SegDs; 77 uint16 SegEs; 78 uint16 SegFs; 79 uint16 SegGs; 80 uint16 SegSs; 81 uint32 EFlags; 82 uint64 Dr0; 83 uint64 Dr1; 84 uint64 Dr2; 85 uint64 Dr3; 86 uint64 Dr6; 87 uint64 Dr7; 88 uint64 Rax; 89 uint64 Rcx; 90 uint64 Rdx; 91 uint64 Rbx; 92 uint64 Rsp; 93 uint64 Rbp; 94 uint64 Rsi; 95 uint64 Rdi; 96 uint64 R8; 97 uint64 R9; 98 uint64 R10; 99 uint64 R11; 100 uint64 R12; 101 uint64 R13; 102 uint64 R14; 103 uint64 R15; 104 uint64 Rip; 105 byte Pad_godefs_0[512]; 106 M128a VectorRegister[26]; 107 uint64 VectorControl; 108 uint64 DebugControl; 109 uint64 LastBranchToRip; 110 uint64 LastBranchFromRip; 111 uint64 LastExceptionToRip; 112 uint64 LastExceptionFromRip; 113 }; 114 #pragma pack off