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

Delta Between Two Patch Sets: src/pkg/runtime/signal_nacl_amd64p32.h

Issue 160200044: [dev.power64] code review 160200044: build: merge default into dev.power64 (Closed)
Left Patch Set: Created 10 years, 4 months ago
Right Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 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
« no previous file with change/comment | « src/pkg/runtime/signal_arm.c ('k') | src/pkg/runtime/signal_unix.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2013 The Go Authors. All rights reserved. 1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #define SIG_REGS(ctxt) (((ExcContext*)(ctxt))->regs64) 5 #define SIG_REGS(ctxt) (((ExcContext*)(ctxt))->regs.regs64)
6 6
7 #define SIG_RAX(info, ctxt) (SIG_REGS(ctxt).rax) 7 #define SIG_RAX(info, ctxt) (SIG_REGS(ctxt).rax)
8 #define SIG_RBX(info, ctxt) (SIG_REGS(ctxt).rbx) 8 #define SIG_RBX(info, ctxt) (SIG_REGS(ctxt).rbx)
9 #define SIG_RCX(info, ctxt) (SIG_REGS(ctxt).rcx) 9 #define SIG_RCX(info, ctxt) (SIG_REGS(ctxt).rcx)
10 #define SIG_RDX(info, ctxt) (SIG_REGS(ctxt).rdx) 10 #define SIG_RDX(info, ctxt) (SIG_REGS(ctxt).rdx)
11 #define SIG_RDI(info, ctxt) (SIG_REGS(ctxt).rdi) 11 #define SIG_RDI(info, ctxt) (SIG_REGS(ctxt).rdi)
12 #define SIG_RSI(info, ctxt) (SIG_REGS(ctxt).rsi) 12 #define SIG_RSI(info, ctxt) (SIG_REGS(ctxt).rsi)
13 #define SIG_RBP(info, ctxt) (SIG_REGS(ctxt).rbp) 13 #define SIG_RBP(info, ctxt) (SIG_REGS(ctxt).rbp)
14 #define SIG_RSP(info, ctxt) (SIG_REGS(ctxt).rsp) 14 #define SIG_RSP(info, ctxt) (SIG_REGS(ctxt).rsp)
15 #define SIG_R8(info, ctxt) (SIG_REGS(ctxt).r8) 15 #define SIG_R8(info, ctxt) (SIG_REGS(ctxt).r8)
16 #define SIG_R9(info, ctxt) (SIG_REGS(ctxt).r9) 16 #define SIG_R9(info, ctxt) (SIG_REGS(ctxt).r9)
17 #define SIG_R10(info, ctxt) (SIG_REGS(ctxt).r10) 17 #define SIG_R10(info, ctxt) (SIG_REGS(ctxt).r10)
18 #define SIG_R11(info, ctxt) (SIG_REGS(ctxt).r11) 18 #define SIG_R11(info, ctxt) (SIG_REGS(ctxt).r11)
19 #define SIG_R12(info, ctxt) (SIG_REGS(ctxt).r12) 19 #define SIG_R12(info, ctxt) (SIG_REGS(ctxt).r12)
20 #define SIG_R13(info, ctxt) (SIG_REGS(ctxt).r13) 20 #define SIG_R13(info, ctxt) (SIG_REGS(ctxt).r13)
21 #define SIG_R14(info, ctxt) (SIG_REGS(ctxt).r14) 21 #define SIG_R14(info, ctxt) (SIG_REGS(ctxt).r14)
22 #define SIG_R15(info, ctxt) (SIG_REGS(ctxt).r15) 22 #define SIG_R15(info, ctxt) (SIG_REGS(ctxt).r15)
23 #define SIG_RIP(info, ctxt) (SIG_REGS(ctxt).rip) 23 #define SIG_RIP(info, ctxt) (SIG_REGS(ctxt).rip)
24 #define SIG_RFLAGS(info, ctxt) (SIG_REGS(ctxt).rflags) 24 #define SIG_RFLAGS(info, ctxt) (SIG_REGS(ctxt).rflags)
25 25
26 #define SIG_CS(info, ctxt) (~0) 26 #define SIG_CS(info, ctxt) (~0)
27 #define SIG_FS(info, ctxt) (~0) 27 #define SIG_FS(info, ctxt) (~0)
28 #define SIG_GS(info, ctxt) (~0) 28 #define SIG_GS(info, ctxt) (~0)
29 29
30 #define SIG_CODE0(info, ctxt) (~0) 30 #define SIG_CODE0(info, ctxt) (~0)
31 #define SIG_CODE1(info, ctxt) (0) 31 #define SIG_CODE1(info, ctxt) (0)
LEFTRIGHT

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