diff options
| author | Michael Matloob <matloob@golang.org> | 2015-11-12 13:43:27 -0500 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2015-11-12 19:54:53 +0000 |
| commit | d3498c5abdea7bd8c74f349abb5c2bf110229e75 (patch) | |
| tree | 1adf013609fc3c755339fc7109d0e443be64cead /src/runtime/internal/sys | |
| parent | ab196aeff21bedd7acd0e38d74e77989255f1d3f (diff) | |
| download | go-d3498c5abdea7bd8c74f349abb5c2bf110229e75.tar.xz | |
runtime: move arch_mips64(le)?.go into runtime/internal/sys
Somehow these were left out of the orignial CL.
Updates #11647
Change-Id: I058a30eaa25fbb72d60e7fb6bc9ff0a3b54fdb2a
Reviewed-on: https://go-review.googlesource.com/16870
Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/internal/sys')
| -rw-r--r-- | src/runtime/internal/sys/arch_mips64.go | 19 | ||||
| -rw-r--r-- | src/runtime/internal/sys/arch_mips64le.go | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/src/runtime/internal/sys/arch_mips64.go b/src/runtime/internal/sys/arch_mips64.go new file mode 100644 index 0000000000..6fa0f5ee74 --- /dev/null +++ b/src/runtime/internal/sys/arch_mips64.go @@ -0,0 +1,19 @@ +// Copyright 2015 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 sys + +const ( + TheChar = '0' + BigEndian = 1 + CacheLineSize = 32 + PhysPageSize = 16384 + PCQuantum = 4 + Int64Align = 8 + HugePageSize = 0 + MinFrameSize = 8 +) + +type Uintreg uint64 +type Intptr int64 // TODO(rsc): remove diff --git a/src/runtime/internal/sys/arch_mips64le.go b/src/runtime/internal/sys/arch_mips64le.go new file mode 100644 index 0000000000..92b35ad65b --- /dev/null +++ b/src/runtime/internal/sys/arch_mips64le.go @@ -0,0 +1,19 @@ +// Copyright 2015 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 sys + +const ( + TheChar = '0' + BigEndian = 0 + CacheLineSize = 32 + PhysPageSize = 16384 + PCQuantum = 4 + Int64Align = 8 + HugePageSize = 0 + MinFrameSize = 8 +) + +type Uintreg uint64 +type Intptr int64 // TODO(rsc): remove |
