1
2
3
4
5
6
7
8
9
10
11
12
13
//! Process Stack Pointer Limit Register

/// Reads the CPU register
#[inline]
pub fn read() -> u32 {
    call_asm!(__psplim_r() -> u32)
}

/// Writes `bits` to the CPU register
#[inline]
pub unsafe fn write(bits: u32) {
    call_asm!(__psplim_w(bits: u32))
}