...
Run Format

Source file src/runtime/defs_nacl_arm.go

Documentation: runtime

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

View as plain text