memdisk: Correct El Torito termination response
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 15 Jun 2010 03:36:34 +0000 (23:36 -0400)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 15 Jun 2010 04:48:50 +0000 (00:48 -0400)
commit38792ac66a4d4285a06ba8b6ee5b866792f536f4
tree939c7bbf7124c2326dd558694f59e6fed6dce66f
parent62ac3a7710b846c66a190156a11b7170015e7afb
memdisk: Correct El Torito termination response

Two changes to the INT 0x13, AH=0x7B El Torito function:

1. Support the DL=0x7F "terminate all" parameter
2. Only respond to DL=0x7F or DL=our particular emulated drive number

This prevents tools like Bart Lagerweij's El Torito tools from
receiving false positives when probing all drive numbers.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
memdisk/memdisk.inc