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:
Right Patch Set: diff -r ff8459d06e3f https://code.google.com/p/go
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
src/cmd/dist/buildruntime.c
src/pkg/runtime/arch_amd64.h
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/cgocall.c
src/pkg/runtime/defs_solaris.go
src/pkg/runtime/defs_solaris_amd64.h
src/pkg/runtime/defs_solaris_amd64.go
src/pkg/runtime/env_posix.c
src/pkg/runtime/lfstack.c
src/pkg/runtime/lock_sema.c
src/pkg/runtime/mem_solaris.c
src/pkg/runtime/netpoll.goc
src/pkg/runtime/os_solaris.h
src/pkg/runtime/os_solaris.c
src/pkg/runtime/os_windows.c
src/pkg/runtime/proc.c
src/pkg/runtime/rt0_solaris_amd64.s
src/pkg/runtime/runtime.h
src/pkg/runtime/runtime.c
src/pkg/runtime/signal_amd64.c
src/pkg/runtime/signal_solaris_amd64.h
src/pkg/runtime/signal_unix.c
src/pkg/runtime/signals_solaris.h
src/pkg/runtime/sys_solaris_amd64.s
src/pkg/runtime/sys_windows_386.s
src/pkg/runtime/sys_windows_amd64.s
src/pkg/runtime/syscall_solaris.goc
src/pkg/runtime/syscall_windows.goc
LEFT RIGHT
(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 )
LEFT RIGHT