Skip to main content

read_thread_pointer

Function read_thread_pointer 

Source
pub fn read_thread_pointer() -> usize
Expand description

Reads the hardware thread pointer register (TPIDR_EL0) on AArch64 EL0 targets, returning 0 on host test targets or before a thread control block is installed.