]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: move arch_mips64(le)?.go into runtime/internal/sys
authorMichael Matloob <matloob@golang.org>
Thu, 12 Nov 2015 18:43:27 +0000 (13:43 -0500)
committerMichael Matloob <matloob@golang.org>
Thu, 12 Nov 2015 19:54:53 +0000 (19:54 +0000)
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>
src/runtime/arch_mips64.go [deleted file]
src/runtime/arch_mips64le.go [deleted file]
src/runtime/internal/sys/arch_mips64.go [new file with mode: 0644]
src/runtime/internal/sys/arch_mips64le.go [new file with mode: 0644]

diff --git a/src/runtime/arch_mips64.go b/src/runtime/arch_mips64.go
deleted file mode 100644 (file)
index dff830f..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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 runtime
-
-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/arch_mips64le.go b/src/runtime/arch_mips64le.go
deleted file mode 100644 (file)
index bc4b73f..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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 runtime
-
-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
diff --git a/src/runtime/internal/sys/arch_mips64.go b/src/runtime/internal/sys/arch_mips64.go
new file mode 100644 (file)
index 0000000..6fa0f5e
--- /dev/null
@@ -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 (file)
index 0000000..92b35ad
--- /dev/null
@@ -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