Justin M. Forbes 35f47e
diff -ruNp seabios-0.6.2.orig/Makefile seabios-0.6.2/Makefile
Justin M. Forbes 35f47e
--- seabios-0.6.2.orig/Makefile	2011-07-13 10:52:50.000000000 -0500
Justin M. Forbes 35f47e
+++ seabios-0.6.2/Makefile	2011-07-13 11:14:14.000000000 -0500
Justin M. Forbes 35f47e
@@ -5,7 +5,7 @@
Justin M. Forbes 35f47e
 # This file may be distributed under the terms of the GNU LGPLv3 license.
Justin M. Forbes 35f47e
 
Justin M. Forbes 35f47e
 # Program version
Justin M. Forbes 35f47e
-VERSION=0.6.2-$(shell date +"%Y%m%d_%H%M%S")-$(shell hostname)
Justin M. Forbes 35f47e
+VERSION=0.6.2
Justin M. Forbes 35f47e
 
Justin M. Forbes 35f47e
 # Output directory
Justin M. Forbes 35f47e
 OUT=out/
Justin M. Forbes 35f47e
diff -ruNp seabios-0.6.2.orig/src/ahci.c seabios-0.6.2/src/ahci.c
Justin M. Forbes 35f47e
--- seabios-0.6.2.orig/src/ahci.c	2011-07-13 10:52:50.000000000 -0500
Justin M. Forbes 35f47e
+++ seabios-0.6.2/src/ahci.c	2011-07-13 11:14:14.000000000 -0500
Justin M. Forbes 35f47e
@@ -408,7 +408,6 @@ static void
Justin M. Forbes 35f47e
 ahci_detect(void *data)
Justin M. Forbes 35f47e
 {
Justin M. Forbes 35f47e
     struct ahci_ctrl_s *ctrl = data;
Justin M. Forbes 35f47e
-    struct ahci_port_s *port;
Justin M. Forbes 35f47e
     u32 pnr, max;
Justin M. Forbes 35f47e
     int rc;
Justin M. Forbes 35f47e
 
Justin M. Forbes 35f47e
@@ -422,7 +421,7 @@ ahci_detect(void *data)
Justin M. Forbes 35f47e
         dprintf(1, "AHCI/%d: link %s\n", pnr, rc == 0 ? "up" : "down");
Justin M. Forbes 35f47e
         if (rc != 0)
Justin M. Forbes 35f47e
             continue;
Justin M. Forbes 35f47e
-        port = ahci_port_init(ctrl, pnr);
Justin M. Forbes 35f47e
+        ahci_port_init(ctrl, pnr);
Justin M. Forbes 35f47e
     }
Justin M. Forbes 35f47e
 }
Justin M. Forbes 35f47e
 
Justin M. Forbes 35f47e
diff -ruNp seabios-0.6.2.orig/src/bregs.h seabios-0.6.2/src/bregs.h
Justin M. Forbes 35f47e
--- seabios-0.6.2.orig/src/bregs.h	2011-07-13 10:52:50.000000000 -0500
Justin M. Forbes 35f47e
+++ seabios-0.6.2/src/bregs.h	2011-07-13 11:16:04.000000000 -0500
Justin M. Forbes 35f47e
@@ -37,9 +37,9 @@
Justin M. Forbes 35f47e
 struct bregs {
Justin M. Forbes 35f47e
     u16 ds;
Justin M. Forbes 35f47e
     u16 es;
Justin M. Forbes 35f47e
-    UREG(edi, di, di_hi, di_lo);
Justin M. Forbes 35f47e
-    UREG(esi, si, si_hi, si_lo);
Justin M. Forbes 35f47e
-    UREG(ebp, bp, bp_hi, bp_lo);
Justin M. Forbes 35f47e
+    UREG(edi, di, di8u, di8l);
Justin M. Forbes 35f47e
+    UREG(esi, si, si8u, si8l);
Justin M. Forbes 35f47e
+    UREG(ebp, bp, bp8u, bp8l);
Justin M. Forbes 35f47e
     UREG(ebx, bx, bh, bl);
Justin M. Forbes 35f47e
     UREG(edx, dx, dh, dl);
Justin M. Forbes 35f47e
     UREG(ecx, cx, ch, cl);
Justin M. Forbes 35f47e
Binary files seabios-0.6.2.orig/tools/layoutrom.pyc and seabios-0.6.2/tools/layoutrom.pyc differ