github.com/gidoBOSSftw5731/go/src@v0.0.0-20210226122457-d24b0edbf019/runtime/defs_netbsd_amd64.go (about) 1 // Copyright 2009 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_netbsd.go defs_netbsd_amd64.go >defs_netbsd_amd64.h 12 */ 13 14 package runtime 15 16 /* 17 #include <sys/types.h> 18 #include <machine/mcontext.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_RFLAGS 47 REG_RSP = C._REG_RSP 48 REG_SS = C._REG_SS 49 )