memdisk: Change patch area to include the entire MDI
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 9 Mar 2010 21:54:17 +0000 (16:54 -0500)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Fri, 11 Jun 2010 01:49:10 +0000 (01:49 +0000)
commit3397b50cfc534f7ee0b65b7501b1081df03a106b
tree8aa30881eda34070ea0ef305b30d1f21d9d64b24
parentec3733b81f4771a4b8e212edd9bd4a8600a2d382
memdisk: Change patch area to include the entire MDI

Previously, the patch area began after the beginning of
the MDI, but continued past its end.  This is difficult
to express with C structures, so we've simply changed
the patch area to include the entire MDI.  So it now
includes the MDI size and MEMDISK version info, which
we simply make constant to avoid modifying.

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