mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[i386] Change [u]int32_t to [unsigned] int, rather than [unsigned] long
This brings us in to line with Linux definitions, and also simplifies adding x86_64 support since both platforms have 2-byte shorts, 4-byte ints and 8-byte long longs.
This commit is contained in:
@@ -43,7 +43,7 @@ static int efi_image_exec ( struct image *image ) {
|
||||
user_to_virt ( image->data, 0 ),
|
||||
image->len, &handle ) ) != 0 ) {
|
||||
/* Not an EFI image */
|
||||
DBGC ( image, "EFIIMAGE %p could not load: %lx\n",
|
||||
DBGC ( image, "EFIIMAGE %p could not load: %x\n",
|
||||
image, efirc );
|
||||
return -ENOEXEC;
|
||||
}
|
||||
@@ -51,7 +51,7 @@ static int efi_image_exec ( struct image *image ) {
|
||||
/* Start the image */
|
||||
if ( ( efirc = bs->StartImage ( handle, &exit_data_size,
|
||||
&exit_data ) ) != 0 ) {
|
||||
DBGC ( image, "EFIIMAGE %p returned with status %lx\n",
|
||||
DBGC ( image, "EFIIMAGE %p returned with status %x\n",
|
||||
image, efirc );
|
||||
goto done;
|
||||
}
|
||||
@@ -81,7 +81,7 @@ static int efi_image_load ( struct image *image ) {
|
||||
user_to_virt ( image->data, 0 ),
|
||||
image->len, &handle ) ) != 0 ) {
|
||||
/* Not an EFI image */
|
||||
DBGC ( image, "EFIIMAGE %p could not load: %lx\n",
|
||||
DBGC ( image, "EFIIMAGE %p could not load: %x\n",
|
||||
image, efirc );
|
||||
return -ENOEXEC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user