diff options
author | Gert Hulselmans <gerth@zytor.com> | 2010-07-01 17:57:44 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-01 13:39:34 -0700 |
commit | 01dc2ad8336cc9dbd76f1e74cd4fec2e45334797 (patch) | |
tree | 68cc1b44e61ca6a71f4deb3fe150769e827f52cf /com32/modules/Makefile | |
parent | 4d98f51f96a841bd80438e25d1630cb91a9e4d7f (diff) | |
download | syslinux-01dc2ad8336cc9dbd76f1e74cd4fec2e45334797.tar.gz |
ifplop.c32: Detect if PLoP USB/CD INT13h hook is enabled/disabled
New module which detects if the PLoP Boot Loader already has booted a
CDROM or USB drive by checking for the presence of the PLoP INT13h hook.
The following assembly code (NASM) can detect the PLoP INT13h hook:
mov eax,'PoLP' ; Reverse of 'PLoP'
mov ebp,'DKHC' ; Reverse of 'CHKD'
int 13h
cmp eax,' sey' ; Reverse of 'yes '
jz plop_INT13h_active
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/modules/Makefile')
-rw-r--r-- | com32/modules/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/Makefile b/com32/modules/Makefile index 79018df9..f42ce963 100644 --- a/com32/modules/Makefile +++ b/com32/modules/Makefile @@ -22,7 +22,7 @@ MODULES = chain.c32 config.c32 ethersel.c32 dmitest.c32 cpuidtest.c32 \ disk.c32 pcitest.c32 elf.c32 linux.c32 reboot.c32 pmload.c32 \ meminfo.c32 sdi.c32 sanboot.c32 ifcpu64.c32 vesainfo.c32 \ kbdmap.c32 cmd.c32 vpdtest.c32 host.c32 ls.c32 gpxecmd.c32 \ - ifcpu.c32 cpuid.c32 cat.c32 pwd.c32 + ifcpu.c32 cpuid.c32 cat.c32 pwd.c32 ifplop.c32 TESTFILES = |