summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/arch_amd64.h
blob: d7b81ee904171271a14b453aa88bdaef2365ccea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2011 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.

enum {
	thechar = '6',
	BigEndian = 0,
	CacheLineSize = 64,
#ifdef GOOS_solaris
	RuntimeGogoBytes = 80,
#else
#ifdef GOOS_windows
	RuntimeGogoBytes = 80,
#else
#ifdef GOOS_plan9
	RuntimeGogoBytes = 80,
#else
	RuntimeGogoBytes = 64,
#endif	// Plan 9
#endif	// Windows
#endif	// Solaris
	PhysPageSize = 4096,
	PCQuantum = 1,
	Int64Align = 8
};