diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-18 13:42:19 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-18 13:44:35 -0700 |
commit | 4826c90afd85d3bc8ee963de0bf1438340db865a (patch) | |
tree | 5975a83deef10ec240c35bcdafed5a168c49be55 /core/isolinux.asm | |
parent | 208721a5fa25e5a12d31e7a51488bf5ea7e2a680 (diff) | |
download | syslinux-4826c90afd85d3bc8ee963de0bf1438340db865a.tar.gz |
Try to HLT the processor during idlesyslinux-3.81-pre4
Try to HLT the processor during idle. All the events we care about
should have interrupts associated with them, except possibly the
serial console. Try to deal with the serial console by waiting some
time before going into HLT, and giving the user the option of enabling
the serial console interrupt, on the assumption that the BIOS will
simply IRET.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r-- | core/isolinux.asm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm index 62b1a9ce..cc97f479 100644 --- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -40,16 +40,6 @@ SECTOR_SIZE equ (1 << SECTOR_SHIFT) ROOT_DIR_WORD equ 0x002F ; -; This is what we need to do when idle -; -%macro RESET_IDLE 0 - ; Nothing -%endmacro -%macro DO_IDLE 0 - ; Nothing -%endmacro - -; ; The following structure is used for "virtual kernels"; i.e. LILO-style ; option labels. The options we permit here are `kernel' and `append ; Since there is no room in the bottom 64K for all of these, we @@ -1707,6 +1697,7 @@ getfssec: %include "highmem.inc" ; High memory sizing %include "strcpy.inc" ; strcpy() %include "rawcon.inc" ; Console I/O w/o using the console functions +%include "idle.inc" ; Idle handling %include "adv.inc" ; Auxillary Data Vector %include "localboot.inc" ; Disk-based local boot |