Delta Between Two Patch Sets: src/pkg/runtime/defs_plan9_386.h
Issue 6569068 :
code review 6569068: pkg/runtime: Plan 9: add support for recover() and pani... (Closed)
Left Patch Set:
Right Patch Set: diff -r 5b5399bc3335 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/defs_plan9_386.h
src/pkg/runtime/defs_plan9_amd64.h
src/pkg/runtime/os_plan9.h
src/pkg/runtime/runtime.h
src/pkg/runtime/signal_plan9_386.c
src/pkg/runtime/signal_plan9_amd64.c
src/pkg/runtime/signals_plan9.h
src/pkg/runtime/stack.h
src/pkg/runtime/sys_plan9_386.s
src/pkg/runtime/sys_plan9_amd64.s
src/pkg/runtime/thread_plan9.c
LEFT RIGHT
(no file at all) 1 // nothing to see here
2 #define tos_pid 48
3 #define PAGESIZE 0x1000 1 #define PAGESIZE 0x1000
2
3 typedef struct Ureg Ureg;
4
5 struct Ureg
6 {
7 uint32 di; /* general registers */
8 uint32 si; /* ... */
9 uint32 bp; /* ... */
10 uint32 nsp;
11 uint32 bx; /* ... */
12 uint32 dx; /* ... */
13 uint32 cx; /* ... */
14 uint32 ax; /* ... */
15 uint32 gs; /* data segments */
16 uint32 fs; /* ... */
17 uint32 es; /* ... */
18 uint32 ds; /* ... */
19 uint32 trap; /* trap type */
20 uint32 ecode; /* error code (or zero) */
21 uint32 pc; /* pc */
22 uint32 cs; /* old context */
23 uint32 flags; /* old flags */
24 union {
25 uint32 usp;
26 uint32 sp;
27 };
28 uint32 ss; /* old stack segment */
29 };
LEFT RIGHT