mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Partially fix up the OpenBIOS PPC build. While the code technically works, even with this fix in place the PPC console output
disappears when booting a FC12 test ISO directly. Interestingly enough, if the equivalent "load" and "go" commands are entered manually then the console output works fine and the ISO can boot?! So there is still an issue with the console not being initialised correctly somewhere. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@734 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
a757d43d04
commit
f21a9ceb00
@@ -6,6 +6,7 @@
|
||||
#define NO_QEMU_PROTOS
|
||||
#include "arch/common/fw_cfg.h"
|
||||
|
||||
extern char _start, _end;
|
||||
extern unsigned long virt_offset;
|
||||
|
||||
#define phys_to_virt(phys) ((void *) ((unsigned long) (phys) - virt_offset))
|
||||
|
||||
@@ -40,6 +40,10 @@ typedef uint64_t ducell;
|
||||
#define FMT_ucellx "%08x"
|
||||
#define FMT_ucellX "%08X"
|
||||
|
||||
#define FMT_elf "%#x"
|
||||
#define FMT_sizet "%lx"
|
||||
#define FMT_aout_ehdr "%lx"
|
||||
|
||||
#define bitspercell (sizeof(cell)<<3)
|
||||
#define bitsperdcell (sizeof(dcell)<<3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user