sys

package
v0.0.0-...-187095f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

package sys contains system- and configuration- and architecture-specific constants used by the runtime.

Index

Constants

View Source
const DefaultPhysPageSize = goarch.DefaultPhysPageSize

DefaultPhysPageSize is the default physical page size.

View Source
const Int64Align = goarch.PtrSize

Int64Align is the required alignment for a 64-bit integer (4 on 32-bit systems, 8 on 64-bit).

View Source
const MinFrameSize = goarch.MinFrameSize

MinFrameSize is the size of the system-reserved words at the bottom of a frame (just above the architectural stack pointer). It is zero on x86 and PtrSize on most non-x86 (LR-based) systems. On PowerPC it is larger, to cover three more reserved words: the compiler word, the link editor word, and the TOC save word.