memdisk: Use MEMDISK header to access "safe hook"
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 9 Mar 2010 21:02:39 +0000 (16:02 -0500)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Fri, 11 Jun 2010 01:49:10 +0000 (01:49 +0000)
commitec3733b81f4771a4b8e212edd9bd4a8600a2d382
tree9aaf4cd3aeedb95a78bc16109598ddc992cee0f1
parent345a7cba6786de010359607e40f96f6fccbf40a5
memdisk: Use MEMDISK header to access "safe hook"

This commit moves the MEMDISK header structure into
the common structures header file.

It also adds the "safe hook" structure to the MEMDISK
header structure, since that matches what's in the hook
binaries.  Thus, we access the "safe hook" via the
header pointer, instead of separately.

Tested against a DOS floppy image including an
experimental MDISKCHK.COM and also gainst WinVBlock.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
memdisk/mstructs.h
memdisk/setup.c