[OpenBIOS] Latest ESP patch problem

Blue Swirl blueswir1 at hotmail.com
Fri Jun 2 21:16:31 CEST 2006


Using the latest version of esp.c, I get exception at boot. But if I disable 
the POP(), boot succeeds. I understand that my-unit should push two ints, so 
there must be a stack messing error (maybe extra POP?) later.

Index: drivers/esp.c
===================================================================
--- drivers/esp.c       (revision 37)
+++ drivers/esp.c       (working copy)
@@ -263,7 +263,7 @@

     fword("my-unit");
     id = POP();
-    POP(); // unit id is 2 ints but we only need one.
+    //POP(); // unit id is 2 ints but we only need one.
     *sd = &global_esp->sd[id];

#ifdef CONFIG_DEBUG_ESP

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the OpenBIOS mailing list