diff options
author | David Crawshaw <crawshaw@golang.org> | 2015-10-27 19:46:49 -0400 |
---|---|---|
committer | David Crawshaw <crawshaw@golang.org> | 2015-11-17 16:28:18 +0000 |
commit | ce8f49f42ff98a87a6766aa50efa0449c4525ce3 (patch) | |
tree | 9750e774fcf23cccfa156842243942b47726b80d /src/runtime/defs_linux_arm64.go | |
parent | babdb3832072b6ca55e2dfe071bac25d865f8911 (diff) | |
download | go-ce8f49f42ff98a87a6766aa50efa0449c4525ce3.tar.gz go-ce8f49f42ff98a87a6766aa50efa0449c4525ce3.zip |
runtime: android/arm64 support
Not all tests passing yet, but a good chunk are.
Change-Id: I5daebaeabf3aecb380674ece8830a86751a8d139
Reviewed-on: https://go-review.googlesource.com/16458
Reviewed-by: Rahul Chaudhry <rahulchaudhry@google.com>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/runtime/defs_linux_arm64.go')
-rw-r--r-- | src/runtime/defs_linux_arm64.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/runtime/defs_linux_arm64.go b/src/runtime/defs_linux_arm64.go index 1a4d8846e3..d1b1a3677f 100644 --- a/src/runtime/defs_linux_arm64.go +++ b/src/runtime/defs_linux_arm64.go @@ -87,6 +87,10 @@ const ( _EPOLL_CTL_ADD = 0x1 _EPOLL_CTL_DEL = 0x2 _EPOLL_CTL_MOD = 0x3 + + _AF_UNIX = 0x1 + _F_SETFL = 0x4 + _SOCK_DGRAM = 0x2 ) type timespec struct { @@ -167,6 +171,11 @@ type sigcontext struct { __reserved [4096]byte } +type sockaddr_un struct { + family uint16 + path [108]byte +} + type ucontext struct { uc_flags uint64 uc_link *ucontext |