Black Lives Matter. Support the Equal Justice Initiative.

Source file src/runtime/defs_solaris_amd64.go

Documentation: runtime

     1  // Copyright 2014 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build ignore
     6  // +build ignore
     7  
     8  /*
     9  Input to cgo.
    10  
    11  GOARCH=amd64 go tool cgo -cdefs defs_solaris.go defs_solaris_amd64.go >defs_solaris_amd64.h
    12  */
    13  
    14  package runtime
    15  
    16  /*
    17  #include <sys/types.h>
    18  #include <sys/regset.h>
    19  */
    20  import "C"
    21  
    22  const (
    23  	REG_RDI    = C.REG_RDI
    24  	REG_RSI    = C.REG_RSI
    25  	REG_RDX    = C.REG_RDX
    26  	REG_RCX    = C.REG_RCX
    27  	REG_R8     = C.REG_R8
    28  	REG_R9     = C.REG_R9
    29  	REG_R10    = C.REG_R10
    30  	REG_R11    = C.REG_R11
    31  	REG_R12    = C.REG_R12
    32  	REG_R13    = C.REG_R13
    33  	REG_R14    = C.REG_R14
    34  	REG_R15    = C.REG_R15
    35  	REG_RBP    = C.REG_RBP
    36  	REG_RBX    = C.REG_RBX
    37  	REG_RAX    = C.REG_RAX
    38  	REG_GS     = C.REG_GS
    39  	REG_FS     = C.REG_FS
    40  	REG_ES     = C.REG_ES
    41  	REG_DS     = C.REG_DS
    42  	REG_TRAPNO = C.REG_TRAPNO
    43  	REG_ERR    = C.REG_ERR
    44  	REG_RIP    = C.REG_RIP
    45  	REG_CS     = C.REG_CS
    46  	REG_RFLAGS = C.REG_RFL
    47  	REG_RSP    = C.REG_RSP
    48  	REG_SS     = C.REG_SS
    49  )
    50  

View as plain text