]> Cypherpunks.ru repositories - gostls13.git/blob - src/runtime/internal/sys/arch_amd64.go
runtime: break out system-specific constants into package sys
[gostls13.git] / src / runtime / internal / sys / arch_amd64.go
1 // Copyright 2014 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       = '6'
9         BigEndian     = 0
10         CacheLineSize = 64
11         PhysPageSize  = 4096
12         PCQuantum     = 1
13         Int64Align    = 8
14         HugePageSize  = 1 << 21
15         MinFrameSize  = 0
16 )
17
18 type Uintreg uint64
19 type Intptr int64 // TODO(rsc): remove