summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/stand/biosboot/biosboot.S23
1 files changed, 18 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/biosboot/biosboot.S b/sys/arch/i386/stand/biosboot/biosboot.S
index 9beb090a717..bc86305a1a2 100644
--- a/sys/arch/i386/stand/biosboot/biosboot.S
+++ b/sys/arch/i386/stand/biosboot/biosboot.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosboot.S,v 1.4 1997/04/11 19:09:59 weingart Exp $ */
+/* $OpenBSD: biosboot.S,v 1.5 1997/04/14 10:58:31 deraadt Exp $ */
.file "bootbios.S"
@@ -12,7 +12,7 @@
#define data32 .byte 0x66
/* Better use 32, 48 does not seem to compile */
-#define BLKCNT 32
+#define BLKCNT 16
#if 0
#ifdef DEBUG
#define BLKCNT 32
@@ -298,7 +298,20 @@ _block_table:
_block_count:
.byte BLKCNT /* entries in _block_table */
- . = 0x200 - 4
+ /* partitions 0 */
+ . = 446
+ .globl _partitions
+_partitions:
+ .word 0x0080
+ .word 0x0001
+ .word 0x01a6
+ .word 0x4f12
+ .word 0x0000
+ .word 0x0000
+ .word 0x0b40
+ .word 0x0000
+ .word 0x0000
+
+ . = 0x200 - 2
/* a little signature */
- .ascii "boot"
-
+ .word 0xaa55