ZXFoundation™ 26h2
Loading...
Searching...
No Matches
arch.s390x.cpu.processor Module Reference

Exported Modules

module  zxfoundation.base.types
module  arch.s390x.cpu.ctlreg
module  arch.s390x.cpu.diag
module  arch.s390x.cpu.types
module  lib.bit

Data Structures

struct  arch::s390x::cpu::processor::cpuid
 cpuid structure (STIDP result). More...

Functions

auto arch::s390x::cpu::processor::cpu_addr () noexcept -> u16
 Store CPU Address (STAP) — returns the hardware CPU address.
auto arch::s390x::cpu::processor::get_cpuid (cpuid *id) -> void
auto arch::s390x::cpu::processor::get_current_sp () noexcept -> u64
 Read the current stack pointer (r15).
auto arch::s390x::cpu::processor::get_prefix () noexcept -> u32
 Store Prefix (STPX) — returns the physical address in the Prefix Register.
auto arch::s390x::cpu::processor::is_hypervisor () noexcept -> bool
 Probe whether the kernel is running under a hypervisor.
auto arch::s390x::cpu::processor::set_prefix (const u32 prefix) noexcept -> void
 Set Prefix (SPX) — loads a new value into the Prefix Register.

Variables

u32 ident:24
u32 machine:16
u32 unused:16
u32 version:8

Files

file  arch/s390x/cpu/processor.cxxm
 cpu synchronization