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