]> xenbits.xen.org Git - xenclient/xen-pq.git/commitdiff
And casts for constants where's my motorola bag phone now!
authorJames Mckenzie <jamesmck@taoand.(none)>
Wed, 9 Sep 2009 02:24:33 +0000 (03:24 +0100)
committerJames Mckenzie <jamesmck@taoand.(none)>
Wed, 9 Sep 2009 02:24:33 +0000 (03:24 +0100)
master/boot-second-cd

index dc884c46d3a8a77383193382c8f2a808922e6be8..1c5676d2f8c2349f44e9a72e531ec377d75989a6 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/tools/firmware/rombios/rombios.c b/tools/firmware/rombios/rombios.c
-index bb1c8e7..4d73bce 100644
+index bb1c8e7..b2a5627 100644
 --- a/tools/firmware/rombios/rombios.c
 +++ b/tools/firmware/rombios/rombios.c
 @@ -3702,8 +3702,9 @@ static char eltorito[24]="EL TORITO SPECIFICATION";
@@ -29,9 +29,9 @@ index bb1c8e7..4d73bce 100644
  #if BX_ELTORITO_BOOT
    case IPL_TYPE_CDROM: /* CD-ROM */
 -    status = cdrom_boot();
-+    status = cdrom_boot(0);
++    status = cdrom_boot((Bit16u) 0);
 +    if ((status & 0x00ff)!=0)
-+    status = cdrom_boot(1);
++    status = cdrom_boot((Bit16u) 1);
  
      // If failure
      if ( (status & 0x00ff) !=0 ) {