aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2012-01-14 11:58:14 -0500
committerKevin O'Connor <kevin@koconnor.net>2012-03-05 18:37:38 -0500
commit97e902dbfdfa988e8053eba2ac7a7347b7e23135 (patch)
tree614e1dee2a9eba7ead0eea3d7ba4e1ccd4de666a
parentc69e288adfe6c273df4b1f3d9c223d8a4fb613cd (diff)
downloadseabios-97e902dbfdfa988e8053eba2ac7a7347b7e23135.zip
seabios-97e902dbfdfa988e8053eba2ac7a7347b7e23135.tar.gz
seabios-97e902dbfdfa988e8053eba2ac7a7347b7e23135.tar.bz2
BCVs should inherrit the legacy harddrive priority.
A BCV will (almost assuredly) be a hard drive, so it makes sense to prioritize them the same as builtin hard drives when only the legacy priority system is used. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.c b/src/boot.c
index 93928d3..e26dad1 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -326,7 +326,7 @@ boot_add_bev(u16 seg, u16 bev, u16 desc, int prio)
void
boot_add_bcv(u16 seg, u16 ip, u16 desc, int prio)
{
- bootentry_add(IPL_TYPE_BCV, defPrio(prio, DEFAULT_PRIO)
+ bootentry_add(IPL_TYPE_BCV, defPrio(prio, DefaultHDPrio)
, SEGOFF(seg, ip).segoff
, desc ? MAKE_FLATPTR(seg, desc) : "Legacy option rom");
}