mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
64-bit fixes
General 64-bit fixes and a hack for x86 to Sparc64 crosscompiling problem, where x86 misses 128-bit types. git-svn-id: svn://coreboot.org/openbios/openbios-devel@68 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "openbios/config.h"
|
||||
#include "openbios/stack.h"
|
||||
#include "cross.h"
|
||||
|
||||
#define dstacksize 512
|
||||
int dstackcnt = 0;
|
||||
@@ -24,7 +25,7 @@ void printdstack(void)
|
||||
int i;
|
||||
printk("dstack:");
|
||||
for (i = 0; i <= dstackcnt; i++) {
|
||||
printk(" 0x%x", dstack[i]);
|
||||
printk(" 0x%" FMT_CELL_x , dstack[i]);
|
||||
}
|
||||
printk("\n");
|
||||
}
|
||||
@@ -35,7 +36,7 @@ void printrstack(void)
|
||||
int i;
|
||||
printk("rstack:");
|
||||
for (i = 0; i <= rstackcnt; i++) {
|
||||
printk(" 0x%x", rstack[i]);
|
||||
printk(" 0x%" FMT_CELL_x , rstack[i]);
|
||||
}
|
||||
printk("\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user