Function uacpi_kernel_lock_spinlock

uacpi_cpu_flags uacpi_kernel_lock_spinlock(uacpi_handle)

Description

Lock/unlock helpers for spinlocks.

These are expected to disable interrupts, returning the previous state of cpu flags, that can be used to possibly re-enable interrupts if they were enabled before. Note that lock is infalliable.