Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(183)

Delta Between Two Patch Sets: src/pkg/runtime/defs_solaris_amd64.go

Issue 35990043: code review 35990043: runtime: add support for GOOS=solaris
Left Patch Set: Created 11 years, 4 months ago
Right Patch Set: diff -r ff8459d06e3f https://code.google.com/p/go Created 11 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
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 // +build ignore
6
7 /*
8 Input to cgo.
9
10 GOARCH=amd64 go tool cgo -cdefs defs_solaris.go defs_solaris_amd64.go >defs_sola ris_amd64.h
11 */
12
13 package runtime
14
15 /*
16 #include <sys/types.h>
17 #include <sys/regset.h>
18 */
19 import "C"
20
21 const (
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 )
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b