Commit fa770016 authored by Vladimir Stefanovic's avatar Vladimir Stefanovic Committed by Brad Fitzpatrick

runtime/internal/sys: add arch defs for GOARCH=mips{,le}

Change-Id: I6288f1fca1ae4c64b3907af700811ee842053020
Reviewed-on: https://go-review.googlesource.com/31472Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 66fdf433
......@@ -11,6 +11,7 @@ const (
ARM
ARM64
I386
MIPS
MIPS64
PPC64
S390X
......
// 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 (
ArchFamily = MIPS
BigEndian = 1
CacheLineSize = 32
DefaultPhysPageSize = 65536
PCQuantum = 4
Int64Align = 4
HugePageSize = 0
MinFrameSize = 4
)
type Uintreg uint32
// Copyright 2016 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 (
ArchFamily = MIPS
BigEndian = 0
CacheLineSize = 32
DefaultPhysPageSize = 65536
PCQuantum = 4
Int64Align = 4
HugePageSize = 0
MinFrameSize = 4
)
type Uintreg uint32
// generated by gengoos.go using 'go generate'
package sys
const GOARCH = `mips`
const Goarch386 = 0
const GoarchAmd64 = 0
const GoarchAmd64p32 = 0
const GoarchArm = 0
const GoarchArmbe = 0
const GoarchArm64 = 0
const GoarchArm64be = 0
const GoarchPpc64 = 0
const GoarchPpc64le = 0
const GoarchMips = 1
const GoarchMipsle = 0
const GoarchMips64 = 0
const GoarchMips64le = 0
const GoarchMips64p32 = 0
const GoarchMips64p32le = 0
const GoarchPpc = 0
const GoarchS390 = 0
const GoarchS390x = 0
const GoarchSparc = 0
const GoarchSparc64 = 0
// generated by gengoos.go using 'go generate'
package sys
const GOARCH = `mipsle`
const Goarch386 = 0
const GoarchAmd64 = 0
const GoarchAmd64p32 = 0
const GoarchArm = 0
const GoarchArmbe = 0
const GoarchArm64 = 0
const GoarchArm64be = 0
const GoarchPpc64 = 0
const GoarchPpc64le = 0
const GoarchMips = 0
const GoarchMipsle = 1
const GoarchMips64 = 0
const GoarchMips64le = 0
const GoarchMips64p32 = 0
const GoarchMips64p32le = 0
const GoarchPpc = 0
const GoarchS390 = 0
const GoarchS390x = 0
const GoarchSparc = 0
const GoarchSparc64 = 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment