mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Switch sparc64 to ofmem (Igor Kovalenko)
Initialize ofmem at startup. Switch malloc/realloc/free to use ofmem. Implement runtime migration of startup mappings to ofmem. Implement mmu miss handlers to install tlb entries based on ofmem translations list. git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@517 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#define NO_QEMU_PROTOS
|
||||
#include "openbios/fw_cfg.h"
|
||||
#include "video_subr.h"
|
||||
#include "ofmem.h"
|
||||
|
||||
#define UUID_FMT "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x"
|
||||
|
||||
@@ -495,6 +496,8 @@ int openbios(void)
|
||||
printk("OpenBIOS for Sparc64\n");
|
||||
#endif
|
||||
|
||||
ofmem_init();
|
||||
|
||||
collect_sys_info(&sys_info);
|
||||
|
||||
dict = malloc(DICTIONARY_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user