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

View as plain text