memdisk: Move common structures into headers
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 9 Mar 2010 07:08:36 +0000 (02:08 -0500)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Fri, 11 Jun 2010 01:49:10 +0000 (01:49 +0000)
commit2f4137d83abc2a63e982439b0506f6a630a91096
treeedac3ef5066428bb6d62d9d6287b94c6b93649fa
parent08b3602db548775ca819780de77686a186156ec7
memdisk: Move common structures into headers

Since MDISKCHK.COM (and possibly COM32 modules) could make use of
structures found in MEMDISK's setup.c, we move these into a new
header file mstructs.h.

Also, since the OpenWatcom compiler uses a structure packing prefix
and GCC uses a structure packing postfix, we accomodate this with
preprocessor definitions around those structures needing to be
packed.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
memdisk/acpi.h
memdisk/eltorito.h
memdisk/memdisk.h
memdisk/mstructs.h [new file with mode: 0644]
memdisk/setup.c