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:
Stefan Reinauer
2006-07-18 21:42:16 +00:00
parent b03ab3d3ae
commit e492087dbe
12 changed files with 117 additions and 39 deletions

View File

@@ -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");
}