FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static void bios_cpu_nap(void)
Save power by halting the CPU until the next interrupt.
__asm__ __volatile__("call *%9" :"=a"(result), "=c"(discard_ecx), "=d"(discard_edx) :"d"(0), "a"(code), "b"(0), "c"(in_phys), "D"(0), "S"(out_phys), "m"(hypercall))
__asm__(".section \".rodata\", \"a\", " PROGBITS "\n\t" "\nprivate_key_data:\n\t" ".size private_key_data, ( . - private_key_data )\n\t" ".equ private_key_len, ( . - private_key_data )\n\t" ".previous\n\t")
void cpu_nap(void)
Sleep with interrupts enabled until next CPU interrupt.
PROVIDE_NAP(pcbios, cpu_nap, bios_cpu_nap)