[SeaBIOS] [PATCH 07/12] Update reset() to use call16_back()

Kevin O'Connor kevin at koconnor.net
Tue Sep 30 20:38:41 CEST 2014


Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 src/stacks.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stacks.c b/src/stacks.c
index a36f643..9c0001c 100644
--- a/src/stacks.c
+++ b/src/stacks.c
@@ -269,8 +269,8 @@ void
 reset(void)
 {
     extern void reset_vector(void) __noreturn;
-    if (!MODESEGMENT)
-        call16(0, 0, reset_vector);
+    if (!MODE16)
+        call16_back(0, 0, reset_vector);
     reset_vector();
 }
 
-- 
1.9.3




More information about the SeaBIOS mailing list