github.com/comwrg/go/src@v0.0.0-20220319063731-c238d0440370/runtime/defs_netbsd_arm.go (about) 1 // Copyright 2013 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=arm go tool cgo -cdefs defs_netbsd.go defs_netbsd_arm.go >defs_netbsd_arm.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_R0 = C._REG_R0 24 REG_R1 = C._REG_R1 25 REG_R2 = C._REG_R2 26 REG_R3 = C._REG_R3 27 REG_R4 = C._REG_R4 28 REG_R5 = C._REG_R5 29 REG_R6 = C._REG_R6 30 REG_R7 = C._REG_R7 31 REG_R8 = C._REG_R8 32 REG_R9 = C._REG_R9 33 REG_R10 = C._REG_R10 34 REG_R11 = C._REG_R11 35 REG_R12 = C._REG_R12 36 REG_R13 = C._REG_R13 37 REG_R14 = C._REG_R14 38 REG_R15 = C._REG_R15 39 REG_CPSR = C._REG_CPSR 40 )