From e2bba11e4aabeada9e4b8bb184ffadbdf14add3c Mon Sep 17 00:00:00 2001 From: Shao Miller Date: Mon, 28 Jun 2010 00:31:08 -0400 Subject: libcom32: Introduce disk header and module An effort to move significant portions out of chain.c32 and into library is underway. We begin by simply moving SECTOR into a header and building a disk module. Note that some of this work will essentially duplicate some of what's found in Pierre-Alexandre Meyer's fine work in com32/gpllib/disk/. A difference would be the licensing, of course. Signed-off-by: Shao Miller --- com32/modules/chain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'com32/modules') diff --git a/com32/modules/chain.c b/com32/modules/chain.c index 48a83d2a..d6005e28 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -117,10 +117,9 @@ #include #include #include +#include #include -#define SECTOR 512 /* bytes/sector */ - static struct options { const char *loadfile; uint16_t keeppxe; -- cgit v1.2.1