summaryrefslogtreecommitdiff
path: root/gpxe/src/arch/i386/interface/pcbios/bios_nap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/arch/i386/interface/pcbios/bios_nap.c')
-rw-r--r--gpxe/src/arch/i386/interface/pcbios/bios_nap.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gpxe/src/arch/i386/interface/pcbios/bios_nap.c b/gpxe/src/arch/i386/interface/pcbios/bios_nap.c
deleted file mode 100644
index e38cac7a..00000000
--- a/gpxe/src/arch/i386/interface/pcbios/bios_nap.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <gpxe/nap.h>
-#include <realmode.h>
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-/**
- * Save power by halting the CPU until the next interrupt
- *
- */
-static void bios_cpu_nap ( void ) {
- __asm__ __volatile__ ( REAL_CODE ( "sti\n\t"
- "hlt\n\t"
- "cli\n\t" ) : : );
-}
-
-PROVIDE_NAP ( pcbios, cpu_nap, bios_cpu_nap );