summaryrefslogtreecommitdiff
path: root/src/runtime/defs_plan9_386.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-11-20 11:30:43 -0500
committerRuss Cox <rsc@golang.org>2014-11-20 11:30:43 -0500
commit1ac4b754e58ba42944de03808fb96210b065e4c4 (patch)
tree7e903d8afe4ac7dc3f7a19cce1765d48d44ec5aa /src/runtime/defs_plan9_386.go
parent76fd55b06c1f4f9d5b5981810d4a723f4bf9952e (diff)
parent4556dad5c76734a7966c6d0c23f9dec4de7196a6 (diff)
downloadgo-1ac4b754e58ba42944de03808fb96210b065e4c4.tar.gz
[dev.cc] all: merge dev.power64 (f57928630b36) into dev.cc
This will be the last dev.power64 merge; we'll finish on dev.cc. TBR=austin CC=golang-codereviews https://codereview.appspot.com/175420043
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 */
+}