mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 13:53:45 +08:00
b786256488
Add the Altera 10M50 Nios2 GHRD model. This allows emulating the 10M50 development kit with the Nios2 GHRD loaded in the FPGA. It is possible to boot Linux kernel and run userspace, thus far only from initrd as storage support is not yet implemented. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chris Wulff <crwulff@gmail.com> Cc: Jeff Da Silva <jdasilva@altera.com> Cc: Ley Foon Tan <lftan@altera.com> Cc: Sandra Loosemore <sandra@codesourcery.com> Cc: Yves Vandervennet <yvanderv@altera.com> Reviewed-by: Alexander Graf <agraf@suse.de> Message-Id: <20170118220146.489-7-marex@denx.de> Signed-off-by: Richard Henderson <rth@twiddle.net>
12 lines
321 B
C
12 lines
321 B
C
#ifndef NIOS2_BOOT_H
|
|
#define NIOS2_BOOT_H
|
|
|
|
#include "hw/hw.h"
|
|
#include "cpu.h"
|
|
|
|
void nios2_load_kernel(Nios2CPU *cpu, hwaddr ddr_base, uint32_t ramsize,
|
|
const char *initrd_filename, const char *dtb_filename,
|
|
void (*machine_cpu_reset)(Nios2CPU *));
|
|
|
|
#endif /* NIOS2_BOOT_H */
|