#include <gpxe/nap.h>#include <realmode.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| static void | bios_cpu_nap (void) |
| Save power by halting the CPU until the next interrupt. | |
| PROVIDE_NAP (pcbios, cpu_nap, bios_cpu_nap) | |
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| static void bios_cpu_nap | ( | void | ) | [static] |
Save power by halting the CPU until the next interrupt.
Definition at line 10 of file bios_nap.c.
References __asm__(), and REAL_CODE.
00010 { 00011 __asm__ __volatile__ ( REAL_CODE ( "sti\n\t" 00012 "hlt\n\t" 00013 "cli\n\t" ) : : ); 00014 }
| PROVIDE_NAP | ( | pcbios | , | |
| cpu_nap | , | |||
| bios_cpu_nap | ||||
| ) |
1.5.7.1