diff bootmatch/comp_defs.h @ 9:bfcc8180cf3c

bootmatch compiler written
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 10 Jun 2023 02:55:29 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bootmatch/comp_defs.h	Sat Jun 10 02:55:29 2023 +0000
@@ -0,0 +1,11 @@
+/*
+ * This header file contains global definitions for our bootmatch compiler.
+ */
+
+#define	BOOT_BLOCK_SIZE	0x2000
+#define	MAX_RANGES	32
+
+struct range {
+	unsigned	offset;
+	unsigned	nbytes;
+};