Module asm
Expand description
Wrapper functions for assembly instructions.
Functions§
- disable_
irqs  - Makes the current CPU to ignore interrupts.
 - enable_
irqs  - Allows the current CPU to respond to interrupts.
 - flush_
tlb  - Flushes the TLB.
 - halt
 - Halt the current CPU.
 - irqs_
enabled  - Returns whether the current CPU is allowed to respond to interrupts.
 - read_
kernel_ page_ table  - Reads the current page table root register for kernel space (
CR3). - read_
thread_ pointer  - Reads the thread pointer of the current CPU (
FS_BASE). - read_
user_ page_ table  - Reads the current page table root register for user space (
CR3). - wait_
for_ irqs  - Relaxes the current CPU and waits for interrupts.
 - write_
kernel_ ⚠page_ table  - Writes the register to update the current page table root for kernel space
(
CR3). - write_
thread_ ⚠pointer  - Writes the thread pointer of the current CPU (
FS_BASE). - write_
user_ ⚠page_ table  - Writes the register to update the current page table root for user space
(
CR3).