package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Packages

Package fpu provides basic floating point helpers.
No description provided by the author

# Functions

New returns a new architecture context.

# Constants

AMD64 is the x86-64 architecture.
ARM64 is the aarch64 architecture.
Host specifies the host architecture.
MmapBottomUp instructs mmap to prefer lower addresses.
MmapTopDown instructs mmap to prefer higher addresses.
hostarch.Addr(-1).
SyscallWidth is the width of syscall, sysenter, and int 80 insturctions.

# Variables

CPUIDInstruction is the x86 CPUID instruction.
TrapInstruction is the x86 trap instruction.
X86TrapFlag is an exported const for use by other packages.

# Structs

An AuxEntry represents an entry in an ELF auxiliary vector.
Context64 represents an AMD64 context.
MmapLayout defines the layout of the user address space for a particular MemoryManager.
Registers represents the CPU registers for this architecture.
SignalContext64 is equivalent to struct sigcontext, the type passed as the second argument to signal handlers set by signal(2).
Stack is a simple wrapper around a hostarch.IO and an address.
StackLayout describes the location of the arguments and environment on the stack.
State contains the common architecture bits for X86 (the build tag of this file ensures it's only built on x86).
SyscallArgument is an argument supplied to a syscall implementation.
UContext64 is equivalent to ucontext_t on 64-bit x86.

# Type aliases

Arch describes an architecture.
An Auxv represents an ELF auxiliary vector.
MmapDirection is a search direction for mmaps.
SyscallArguments represents the set of arguments passed to a syscall.