diff options
author | nyan <nyan@FreeBSD.org> | 2000-08-12 14:20:31 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2000-08-12 14:20:31 +0000 |
commit | 784618782ee6136ae55c487d6cd37057e7713394 (patch) | |
tree | 595442ab24ee1b8cd5cde2487f8a5d440ec1864d /lib/libdisk/libdisk.h | |
parent | 0f9d7e675d007edbbc28ad5299e578b24acae95f (diff) | |
download | FreeBSD-src-784618782ee6136ae55c487d6cd37057e7713394.zip FreeBSD-src-784618782ee6136ae55c487d6cd37057e7713394.tar.gz |
- Added support for installing boot0 and boot0.5 for PC-98.
- Cosmetic changes.
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r-- | lib/libdisk/libdisk.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index bfc3c72..34646dd 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -31,8 +31,15 @@ struct disk { u_long bios_cyl; u_long bios_hd; u_long bios_sect; +#ifdef PC98 + u_char *bootipl; + size_t bootipl_size; + u_char *bootmenu; + size_t bootmenu_size; +#else u_char *bootmgr; size_t bootmgr_size; +#endif u_char *boot1; #if defined(__i386__) /* the alpha only has one boot program */ u_char *boot2; @@ -163,8 +170,14 @@ Disk_Names(); * each pointer, as well as the array by hand */ +#ifdef PC98 +void +Set_Boot_Mgr(struct disk *d, const u_char *bootipl, const size_t bootipl_size, + const u_char *bootmenu, const size_t bootmenu_size); +#else void Set_Boot_Mgr(struct disk *d, const u_char *bootmgr, const size_t bootmgr_size); +#endif /* Use this boot-manager on this disk. Gets written when Write_Disk() * is called */ |