...
Run Format

Source file src/runtime/defs_nacl_amd64p32.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 excregs386 struct {
    17  	eax    uint32
    18  	ecx    uint32
    19  	edx    uint32
    20  	ebx    uint32
    21  	esp    uint32
    22  	ebp    uint32
    23  	esi    uint32
    24  	edi    uint32
    25  	eip    uint32
    26  	eflags uint32
    27  }
    28  
    29  type excregsamd64 struct {
    30  	rax    uint64
    31  	rcx    uint64
    32  	rdx    uint64
    33  	rbx    uint64
    34  	rsp    uint64
    35  	rbp    uint64
    36  	rsi    uint64
    37  	rdi    uint64
    38  	r8     uint64
    39  	r9     uint64
    40  	r10    uint64
    41  	r11    uint64
    42  	r12    uint64
    43  	r13    uint64
    44  	r14    uint64
    45  	r15    uint64
    46  	rip    uint64
    47  	rflags uint32
    48  }
    49  
    50  type exccontext struct {
    51  	size                    uint32
    52  	portable_context_offset uint32
    53  	portable_context_size   uint32
    54  	arch                    uint32
    55  	regs_size               uint32
    56  	reserved                [11]uint32
    57  	regs                    excregsamd64
    58  }
    59  
    60  type excportablecontext struct {
    61  	pc uint32
    62  	sp uint32
    63  	fp uint32
    64  }
    65  

View as plain text