diff --git a/src/runtime/arch_mips64.go b/src/runtime/arch_mips64.go deleted file mode 100644 index dff830fe98..0000000000 --- a/src/runtime/arch_mips64.go +++ /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 index bc4b73f0ff..0000000000 --- a/src/runtime/arch_mips64le.go +++ /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 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