vm_config.rombios = region_start;
vm_config.rombios_size = rombios->length;
-
+
+ vm_config.mem_size = 128 * 1024 * 1024;
+
region_start += rombios->length;
+#ifdef PROFILE_VMM
+ vm_config.enable_profiling = 1;
+#else
vm_config.enable_profiling = 0;
-
+#endif
+ vm_config.enable_pci = 1;
+
vm_config.vgabios = region_start;
vm_config.vgabios_size = vgabios->length;
}
if (g_ramdiskImage != NULL) {
- vm_config.use_ramdisk = 1;
+ vm_config.use_ram_cd = 1;
vm_config.ramdisk = g_ramdiskImage;
vm_config.ramdisk_size = s_ramdiskSize;
}
PrintBoth("Allocated Guest\n");
- (v3_ops).config_guest(vm_info, &vm_config);
- PrintBoth("Configured guest\n");
- (v3_ops).init_guest(vm_info);
+
+ PrintBoth("Initializing guest\n");
+ (v3_ops).init_guest(vm_info, &vm_config);
+
PrintBoth("Starting Guest\n");
//Clear_Screen();