Introduce a #define for the length of the bootloader code.

This commit is contained in:
phk 2003-04-23 08:04:30 +00:00
parent 2d7e7620e8
commit cc4a9d46fe

View File

@ -60,6 +60,14 @@
#define SUN_NPART 8
#define SUN_RAWPART 2
#define SUN_SIZE 512
/*
* XXX: I am actually not sure if this should be "16 sectors" or "8192 bytes".
* XXX: Considering that Sun went to the effort of getting 512 byte compatible
* XXX: CDROM drives produced my guess is that Sun computers stand little or
* XXX: even no chance of running, much less booting on !=512 byte media.
* XXX: Define this is in terms of bytes since that is easier for us.
*/
#define SUN_BOOTSIZE 8192
/* partition info */
struct sun_dkpart {