github.com/hbdrawn/golang@v0.0.0-20141214014649-6b835209aba2/src/runtime/defs_nacl_386.go (about) 1 package runtime 2 3 const ( 4 // These values are referred to in the source code 5 // but really don't matter. Even so, use the standard numbers. 6 _SIGSEGV = 11 7 _SIGPROF = 27 8 ) 9 10 type timespec struct { 11 tv_sec int64 12 tv_nsec int32 13 } 14 15 type excregs386 struct { 16 eax uint32 17 ecx uint32 18 edx uint32 19 ebx uint32 20 esp uint32 21 ebp uint32 22 esi uint32 23 edi uint32 24 eip uint32 25 eflags uint32 26 } 27 28 type exccontext struct { 29 size uint32 30 portable_context_offset uint32 31 portable_context_size uint32 32 arch uint32 33 regs_size uint32 34 reserved [11]uint32 35 regs excregs386 36 } 37 38 type excportablecontext struct { 39 pc uint32 40 sp uint32 41 fp uint32 42 }