Skip to content

Commit d3498c5

Browse files
committed
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 <[email protected]>
1 parent ab196ae commit d3498c5

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

src/runtime/arch_mips64.go

-19
This file was deleted.

src/runtime/arch_mips64le.go

-19
This file was deleted.
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright 2015 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package sys
6+
7+
const (
8+
TheChar = '0'
9+
BigEndian = 1
10+
CacheLineSize = 32
11+
PhysPageSize = 16384
12+
PCQuantum = 4
13+
Int64Align = 8
14+
HugePageSize = 0
15+
MinFrameSize = 8
16+
)
17+
18+
type Uintreg uint64
19+
type Intptr int64 // TODO(rsc): remove
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright 2015 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package sys
6+
7+
const (
8+
TheChar = '0'
9+
BigEndian = 0
10+
CacheLineSize = 32
11+
PhysPageSize = 16384
12+
PCQuantum = 4
13+
Int64Align = 8
14+
HugePageSize = 0
15+
MinFrameSize = 8
16+
)
17+
18+
type Uintreg uint64
19+
type Intptr int64 // TODO(rsc): remove

0 commit comments

Comments
 (0)