cpu synchronization More...
import lib.bit;import arch.s390x.cpu.diag;import arch.s390x.cpu.ctlreg;import zxfoundation.base.types;import arch.s390x.cpu.types;Go to the source code of this file.
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. | |
cpu synchronization
some miscellaneous srtuff
SPDX-License-Identifier: Apache-2.0
|
exportnoexcept |
Store CPU Address (STAP) — returns the hardware CPU address.
|
exportnoexcept |
Store Prefix (STPX) — returns the physical address in the Prefix Register.
|
exportnoexcept |
Probe whether the kernel is running under a hypervisor.
|
exportnoexcept |
Set Prefix (SPX) — loads a new value into the Prefix Register.
| prefix | New physical base address (must be 4 KB aligned). |