mirror of
https://github.com/golang/go
synced 2024-09-30 04:34:33 -06:00
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>
This commit is contained in:
parent
ab196aeff2
commit
d3498c5abd
@ -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
|
@ -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
|
19
src/runtime/internal/sys/arch_mips64.go
Normal file
19
src/runtime/internal/sys/arch_mips64.go
Normal file
@ -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
|
19
src/runtime/internal/sys/arch_mips64le.go
Normal file
19
src/runtime/internal/sys/arch_mips64le.go
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user