3 * Generic implementation of the CPU lock.
4 * This implementation uses Proc::cli and
5 * Proc::sti from the processor headers.
15 IMPLEMENT inline NEEDS ["processor.h"]
21 IMPLEMENT inline NEEDS ["processor.h"]
28 IMPLEMENT inline NEEDS ["processor.h"]
29 Cpu_lock::Status Cpu_lock::test() const
31 return ! Proc::interrupts();