summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkimg/pc98.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mkimg/pc98.c')
-rw-r--r--usr.bin/mkimg/pc98.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr.bin/mkimg/pc98.c b/usr.bin/mkimg/pc98.c
index 12311d9..bce6c3c 100644
--- a/usr.bin/mkimg/pc98.c
+++ b/usr.bin/mkimg/pc98.c
@@ -38,6 +38,19 @@ __FBSDID("$FreeBSD$");
#include "mkimg.h"
#include "scheme.h"
+#ifndef PC98_MAGIC
+#define PC98_MAGIC 0xaa55
+#endif
+#ifndef PC98_MAGICOFS
+#define PC98_MAGICOFS 510
+#endif
+#ifndef PC98_NPARTS
+#define PC98_NPARTS 16
+#endif
+#ifndef PC98_PTYP_386BSD
+#define PC98_PTYP_386BSD 0xc494
+#endif
+
#define PC98_BOOTCODESZ 8192
static struct mkimg_alias pc98_aliases[] = {
OpenPOWER on IntegriCloud