[SeaBIOS] [PATCH 2/2] BCVs should inherrit the legacy harddrive priority.

Kevin O'Connor kevin at koconnor.net
Sat Jan 14 18:18:34 CET 2012


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 at koconnor.net>
---
 src/boot.c |    2 +-
 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");
 }
-- 
1.7.6.4




More information about the SeaBIOS mailing list