Function uacpi_kernel_disable_interrupts
uacpi_interrupt_state uacpi_kernel_disable_interrupts()
Description
Disable interrupts and return an kernel-defined value representing the
"before" state. This value is used in the subsequent call to restore the prior state. Note that this is talking about ALL interrupts on the current CPU, not just those installed by uACPI. This is typically achieved by executing the 'cli' instruction on x86, 'msr daifset, #3' on aarch64 etc.