[memdisk] Add disk probing code to support a drive shifting limit
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Sat, 1 Aug 2009 05:07:50 +0000 (01:07 -0400)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 4 Aug 2009 02:09:37 +0000 (22:09 -0400)
commit004082b85c0362ab7a47598b889c9d9c4ef570d8
tree4ba843f059a90d4e0e5e03cbbb37ec019dbc0c7a
parentd5d62c379dde5a852ad049286cbabb770c4955a1
[memdisk] Add disk probing code to support a drive shifting limit

Our INT 13h hook will now only shift BIOS drive numbers up to a limit.
This limit is found by probing for a contiguous range of BIOS drives.  Anything
above this range of contiguous drive numbers is not shifted, and will thus be
available to callers at the same drive number.
memdisk/Makefile
memdisk/dskprobe.c [new file with mode: 0644]
memdisk/dskprobe.h [new file with mode: 0644]
memdisk/setup.c