mirror of
https://github.com/golang/go.git
synced 2025-05-20 06:43:26 +00:00
After mdempsky's recent changes, these are the only references to "TheChar" left in the Go tree. Without the context, and without knowing the history, this is confusing. Also rename sys.TheGoos and sys.TheGoarch to sys.GOOS and sys.GOARCH. Also change the heap dump format to include sys.GOARCH rather than TheChar, which is no longer a concept. Updates #15169 (changes heapdump format) Change-Id: I3e99eeeae00ed55d7d01e6ed503d958c6e931dca Reviewed-on: https://go-review.googlesource.com/21647 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
19 lines
392 B
Go
19 lines
392 B
Go
// Copyright 2014 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 = ARM
|
|
BigEndian = 0
|
|
CacheLineSize = 32
|
|
PhysPageSize = 65536*GoosNacl + 4096*(1-GoosNacl)
|
|
PCQuantum = 4
|
|
Int64Align = 4
|
|
HugePageSize = 0
|
|
MinFrameSize = 4
|
|
)
|
|
|
|
type Uintreg uint32
|