call 030 when 030, and 040 when 040, and not 030 when 040 and 040 when 030...

This commit is contained in:
Laurent Vivier 2004-03-06 01:29:27 +00:00
parent 3329589705
commit 235a70d6f3

View File

@ -136,13 +136,13 @@ int main(int argc, char** argv)
if (mmu_type == gestalt68040MMU) if (mmu_type == gestalt68040MMU)
{ {
enter_kernel = (unsigned long)enter_kernel030; enter_kernel = (unsigned long)enter_kernel040;
end_enter_kernel = (unsigned long)&end_enter_kernel030; end_enter_kernel = (unsigned long)&end_enter_kernel040;
} }
else else
{ {
enter_kernel = (unsigned long)enter_kernel040; enter_kernel = (unsigned long)enter_kernel030;
end_enter_kernel = (unsigned long)&end_enter_kernel040; end_enter_kernel = (unsigned long)&end_enter_kernel030;
} }
ret = logical2physical(enter_kernel, (unsigned long*)&entry); ret = logical2physical(enter_kernel, (unsigned long*)&entry);