summaryrefslogtreecommitdiffstats
path: root/net/etherboot/files
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2002-03-11 10:25:30 +0000
committerluigi <luigi@FreeBSD.org>2002-03-11 10:25:30 +0000
commit0138b1f17fa42d9aaa6bd00ef64a3b2dd913a308 (patch)
treef722a227c14ad7f2fdc06cc521e577264b7444f1 /net/etherboot/files
parent4dbde58ea4d73e1b21003dd74fbd2257beb9bc5b (diff)
downloadFreeBSD-ports-0138b1f17fa42d9aaa6bd00ef64a3b2dd913a308.zip
FreeBSD-ports-0138b1f17fa42d9aaa6bd00ef64a3b2dd913a308.tar.gz
Keep in sync the partition type recognized by this code, and
the partition type stored in the fake partition table at the end of this boot sector.
Diffstat (limited to 'net/etherboot/files')
-rw-r--r--net/etherboot/files/patch-aa13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/etherboot/files/patch-aa b/net/etherboot/files/patch-aa
index 7a6f1c7..a1afaa6 100644
--- a/net/etherboot/files/patch-aa
+++ b/net/etherboot/files/patch-aa
@@ -9,8 +9,8 @@
# These flags affect the loader that is prepended to the Etherboot image
LCONFIG+= -DMOVEROM
---- boot1a.s.orig Sat Jun 23 08:56:25 2001
-+++ boot1a.s Mon Feb 4 14:49:28 2002
+--- boot1a.s.orig Sat Jun 23 10:56:25 2001
++++ boot1a.s Mon Mar 11 09:06:00 2002
@@ -56,7 +56,7 @@
# Partition Constants
.set PRT_OFF,0x1be # Partition offset
@@ -20,6 +20,15 @@
# Flag Bits
.set FL_PACKET,0x80 # Packet mode
+@@ -398,7 +398,7 @@
+ .byte 0x00 # start head
+ .byte 0x01 # start sector (6 bits) + start cyl (2 bit)
+ .byte 0x00 # start cyl (low 8 bits)
+- .byte 0x1 # part.type
++ .byte PRT_BSD # part.type
+ .byte 0xff # end head
+ .byte 0xff # end sect (6) + end_cyl(2)
+ .byte 0xff # end cyl
--- makerom.c.orig Thu Aug 2 00:27:48 2001
+++ makerom.c Mon Feb 4 15:05:00 2002
@@ -67,7 +67,7 @@
OpenPOWER on IntegriCloud