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