summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAkshat Kumar <seed@mail.nanosouffle.net>2012-08-31 13:21:13 -0400
committerAkshat Kumar <seed@mail.nanosouffle.net>2012-08-31 13:21:13 -0400
commite7a1f77ef9dc2a8ac0010dcaa6ba9f20c68ef81c (patch)
treec360da3c9af3fa6bb7d0442379d07c0a278c6bce /include
parent6487b027b55926e488ae514dd76a8762208e8de2 (diff)
downloadgo-e7a1f77ef9dc2a8ac0010dcaa6ba9f20c68ef81c.tar.gz
src: Add support for 64-bit version of Plan 9
This set of changes extends the Plan 9 support to include the AMD64 architecture and should work on all versions of Plan 9. R=golang-dev, rminnich, noah.evans, rsc, minux.ma, npe CC=akskuma, golang-dev, jfflore, noah.evans http://codereview.appspot.com/6479052 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'include')
-rw-r--r--include/plan9/amd64/u.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/plan9/amd64/u.h b/include/plan9/amd64/u.h
new file mode 100644
index 000000000..f2430b535
--- /dev/null
+++ b/include/plan9/amd64/u.h
@@ -0,0 +1,14 @@
+// Copyright 2012 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#include "/amd64/include/u.h"
+
+typedef char int8;
+typedef uchar uint8;
+typedef short int16;
+typedef ushort uint16;
+typedef int int32;
+typedef uint uint32;
+typedef vlong int64;
+typedef uvlong uint64;