github.com/megatontech/mynoteforgo@v0.0.0-20200507084910-5d0c6ea6e890/源码/runtime/defs_nacl_arm.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 _SIGQUIT = 3 7 _SIGTRAP = 5 8 _SIGSEGV = 11 9 _SIGPROF = 27 10 ) 11 12 type timespec struct { 13 tv_sec int64 14 tv_nsec int32 15 } 16 17 type excregsarm struct { 18 r0 uint32 19 r1 uint32 20 r2 uint32 21 r3 uint32 22 r4 uint32 23 r5 uint32 24 r6 uint32 25 r7 uint32 26 r8 uint32 27 r9 uint32 // the value reported here is undefined. 28 r10 uint32 29 r11 uint32 30 r12 uint32 31 sp uint32 /* r13 */ 32 lr uint32 /* r14 */ 33 pc uint32 /* r15 */ 34 cpsr uint32 35 } 36 37 type exccontext struct { 38 size uint32 39 portable_context_offset uint32 40 portable_context_size uint32 41 arch uint32 42 regs_size uint32 43 reserved [11]uint32 44 regs excregsarm 45 } 46 47 type excportablecontext struct { 48 pc uint32 49 sp uint32 50 fp uint32 51 }