mirror of
https://github.com/golang/go
synced 2024-11-20 07:54:39 -07:00
70321df02f
Before3c0fee1
, runtime.gogo was just long enough to align to 64 bytes on OSs with short get_tls implementations and 80 bytes on OSs with longer get_tls implementations (Windows, Solaris, and Plan 9).3c0fee1
added a few instructions, which pushed it to 80 on most OSs, including Windows and Plan 9, and 96 on Solaris. Fixes #9770. Change-Id: Ie84810657c14ab16dce9f0e0a932955251b0bf33 Reviewed-on: https://go-review.googlesource.com/3850 Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
16 lines
375 B
Go
16 lines
375 B
Go
// 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.
|
|
|
|
package runtime
|
|
|
|
const (
|
|
thechar = '6'
|
|
_BigEndian = 0
|
|
_CacheLineSize = 64
|
|
_RuntimeGogoBytes = 80 + (goos_solaris)*16
|
|
_PhysPageSize = 4096
|
|
_PCQuantum = 1
|
|
_Int64Align = 8
|
|
)
|