github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/runtime/defs_solaris_amd64.go (about) 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 7 /* 8 Input to cgo. 9 10 GOARCH=amd64 go tool cgo -cdefs defs_solaris.go defs_solaris_amd64.go >defs_solaris_amd64.h 11 */ 12 13 package runtime 14 15 import "C" 16 17 const ( 18 REG_RDI = C.REG_RDI 19 REG_RSI = C.REG_RSI 20 REG_RDX = C.REG_RDX 21 REG_RCX = C.REG_RCX 22 REG_R8 = C.REG_R8 23 REG_R9 = C.REG_R9 24 REG_R10 = C.REG_R10 25 REG_R11 = C.REG_R11 26 REG_R12 = C.REG_R12 27 REG_R13 = C.REG_R13 28 REG_R14 = C.REG_R14 29 REG_R15 = C.REG_R15 30 REG_RBP = C.REG_RBP 31 REG_RBX = C.REG_RBX 32 REG_RAX = C.REG_RAX 33 REG_GS = C.REG_GS 34 REG_FS = C.REG_FS 35 REG_ES = C.REG_ES 36 REG_DS = C.REG_DS 37 REG_TRAPNO = C.REG_TRAPNO 38 REG_ERR = C.REG_ERR 39 REG_RIP = C.REG_RIP 40 REG_CS = C.REG_CS 41 REG_RFLAGS = C.REG_RFL 42 REG_RSP = C.REG_RSP 43 REG_SS = C.REG_SS 44 )