Function ostd::arch::x86::trap::is_kernel_interrupted

source ยท
pub fn is_kernel_interrupted() -> bool
Expand description

Returns true if this function is called within the context of an IRQ handler and the IRQ occurs while the CPU is executing in the kernel mode. Otherwise, it returns false.