Previously the plumbing for phys_ram_size was broken.
*/
#include "hw.h"
+#include "pc.h"
#include "boards.h"
#include "exec-all.h"
#include "qemu-xen.h"
"xenfv",
"Xen Fully-virtualized PC",
xen_init_fv,
+ (VGA_RAM_SIZE + BIOS_SIZE) | RAMSIZE_FIXED,
};
/*
*/
#include "hw.h"
+#include "pc.h"
#include "xen_console.h"
#include "xenfb.h"
#include "sysemu.h"
"xenpv",
"Xen Para-virtualized PC",
xen_init_pv,
+ (VGA_RAM_SIZE + BIOS_SIZE) | RAMSIZE_FIXED,
};
/*
}
}
+#endif
/* init the memory */
phys_ram_size = machine->ram_require & ~RAMSIZE_FIXED;
phys_ram_size += ram_size;
}
+#ifndef CONFIG_DM
phys_ram_base = qemu_vmalloc(phys_ram_size);
if (!phys_ram_base) {
fprintf(stderr, "Could not allocate physical memory\n");
# undef bool
#endif
+#define BIOS_SIZE ((256 + 64) * 1024)
+
#undef CONFIG_GDBSTUB
void main_loop_prepare(void);