new NATMEM_OFFSET (0x02000000) makes it possible to allocate space for

the MacOS DR emulator code, though the usual limitations exist there
This commit is contained in:
gbeauche 2004-12-11 08:59:57 +00:00
parent 27eb7cccae
commit ef8e363c5c

View File

@ -301,15 +301,12 @@ int main(int argc, char **argv)
D(bug("Emulator Data at %p (%08x)\n", emulator_data, KERNEL_DATA_BASE + offsetof(KernelData, ed)));
// Create area for DR Cache
#warning FIXME: support DR emulator
#if 0
if (vm_mac_acquire(DR_EMULATOR_BASE, DR_EMULATOR_SIZE) < 0) {
sprintf(str, GetString(STR_DR_EMULATOR_MMAP_ERR), strerror(errno));
ErrorAlert(str);
goto quit;
}
dr_emulator_area_mapped = true;
#endif
if (vm_mac_acquire(DR_CACHE_BASE, DR_CACHE_SIZE) < 0) {
sprintf(str, GetString(STR_DR_CACHE_MMAP_ERR), strerror(errno));
ErrorAlert(str);