mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
cris: do not use ram_size global
Use the machine properties instead. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6e504a989d
commit
58a70f169e
3 changed files with 3 additions and 1 deletions
|
@ -333,6 +333,7 @@ void axisdev88_init(MachineState *machine)
|
|||
if (kernel_filename) {
|
||||
li.image_filename = kernel_filename;
|
||||
li.cmdline = kernel_cmdline;
|
||||
li.ram_size = machine->ram_size;
|
||||
cris_load_image(cpu, &li);
|
||||
} else if (!qtest_enabled()) {
|
||||
fprintf(stderr, "Kernel image must be specified\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue