diff options
| author | Russ Cox <rsc@golang.org> | 2021-01-26 21:18:01 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2021-02-19 00:40:42 +0000 |
| commit | f6c4b4bf9646f2a3dce6f09ecb93498ddf06d96c (patch) | |
| tree | 9fc57acafa592804725c7b0822857dbda05c14e6 | |
| parent | ac024a0c7bd799dcb3d8cd1f9b55a3047a14556e (diff) | |
| download | go-f6c4b4bf9646f2a3dce6f09ecb93498ddf06d96c.tar.xz | |
syscall: add windows/arm64 support
types_windows_arm64.go is a copy of types_windows_amd64.go.
All that matters for these types seems to be that they are 64-bit vs 32-bit.
This CL is part of a stack adding windows/arm64
support (#36439), intended to land in the Go 1.17 cycle.
Change-Id: Ia7788d6e88e5db899371c75dc7dea7d912a689ad
Reviewed-on: https://go-review.googlesource.com/c/go/+/288825
Trust: Russ Cox <rsc@golang.org>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
| -rw-r--r-- | src/syscall/types_windows_arm64.go | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/syscall/types_windows_arm64.go b/src/syscall/types_windows_arm64.go new file mode 100644 index 0000000000..7d45ddbc0b --- /dev/null +++ b/src/syscall/types_windows_arm64.go @@ -0,0 +1,22 @@ +// Copyright 2011 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. + +package syscall + +type WSAData struct { + Version uint16 + HighVersion uint16 + MaxSockets uint16 + MaxUdpDg uint16 + VendorInfo *byte + Description [WSADESCRIPTION_LEN + 1]byte + SystemStatus [WSASYS_STATUS_LEN + 1]byte +} + +type Servent struct { + Name *byte + Aliases **byte + Proto *byte + Port uint16 +} |
