mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
microblaze: factored out common boot code
factored out the copy-pasted common boot code from the two microblaze platforms into a dedicated microblaze bootloader (microblaze_boot.o). Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
27a9476cf7
commit
d94e743476
5 changed files with 211 additions and 254 deletions
10
hw/microblaze_boot.h
Normal file
10
hw/microblaze_boot.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef __MICROBLAZE_BOOT__
|
||||
#define __MICROBLAZE_BOOT__
|
||||
|
||||
#include "hw.h"
|
||||
|
||||
void microblaze_load_kernel(CPUState *env, target_phys_addr_t ddr_base,
|
||||
uint32_t ramsize, const char *dtb_filename,
|
||||
void (*machine_cpu_reset)(CPUState *));
|
||||
|
||||
#endif /* __MICROBLAZE_BOOT __ */
|
Loading…
Add table
Add a link
Reference in a new issue