summaryrefslogtreecommitdiff
path: root/src/runtime/defs_plan9_386.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-11-20 11:48:08 -0500
committerRuss Cox <rsc@golang.org>2014-11-20 11:48:08 -0500
commit4a674f45d109048fcef7cd9f2b876e270625c8ed (patch)
tree3015eab80ef343dda34fb968843c8b2d28987f05 /src/runtime/defs_plan9_386.go
parentfbd764146d71d8929edadc4abd51e89932742000 (diff)
parent1ac4b754e58ba42944de03808fb96210b065e4c4 (diff)
downloadgo-4a674f45d109048fcef7cd9f2b876e270625c8ed.tar.gz
[dev.cc] all: merge default (e4ab8f908aac) into dev.cc
TBR=austin CC=golang-codereviews https://codereview.appspot.com/179040044
Diffstat (limited to 'src/runtime/defs_plan9_386.go')
-rw-r--r--src/runtime/defs_plan9_386.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/runtime/defs_plan9_386.go b/src/runtime/defs_plan9_386.go
new file mode 100644
index 000000000..170506b23
--- /dev/null
+++ b/src/runtime/defs_plan9_386.go
@@ -0,0 +1,23 @@
+package runtime
+
+type ureg struct {
+ di uint32 /* general registers */
+ si uint32 /* ... */
+ bp uint32 /* ... */
+ nsp uint32
+ bx uint32 /* ... */
+ dx uint32 /* ... */
+ cx uint32 /* ... */
+ ax uint32 /* ... */
+ gs uint32 /* data segments */
+ fs uint32 /* ... */
+ es uint32 /* ... */
+ ds uint32 /* ... */
+ trap uint32 /* trap _type */
+ ecode uint32 /* error code (or zero) */
+ pc uint32 /* pc */
+ cs uint32 /* old context */
+ flags uint32 /* old flags */
+ sp uint32
+ ss uint32 /* old stack segment */
+}