[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [PATCH] Disable memory protection if the PMMU is not present - separate files



So yet again. Taken Andreas' notice into account, I explicitely set .arch in the beginning of mmu030.S and mmu040.S Tested on all builds (thank god for cross compilers :)).

01_bootmenu.patch:

'6' is working again. '1' - '6' cycle on Aranym through 2 stages (yes/no) and not 3. Refactored code.

Contributed by Miro Kropacek.

02_cleanup.patch:

Use real 030/040 instructions instead of dc.w directives. Remove #if 0'ed code

Contributed by Miro Kropacek.

03_pmmu.patch:

Make memory protection active on Aranym by default again. First read mint.ini and *then* try to override its values (namely no_mem_prot flag). Check (very simply) if the PMMU is present on CPU, override no_mem_prot if it is not. Make the CT60 PMMU hack actually visible, before no_mem_prot was always overriden by mint.ini.

Contributed by Miro Kropacek.

04_wo_mmu.patch:

Check MMU-related files against WITH_MMU_SUPPORT so CF builds dont mess up with 68040 code.

Contributed by Miro Kropacek.


--
MiKRO / Mystic Bytes
http://mikro.atari.org

Attachment: 04_wo_mmu.patch
Description: Binary data

Attachment: 01_bootmenu.patch
Description: Binary data

Attachment: 02_cleanup.patch
Description: Binary data

Attachment: 03_pmmu.patch
Description: Binary data