[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



Today I did a complete build and noticed one interesting thing. ColdFire kernel is built both with -DM68040 and -DCOLDFIRE, making my real 040 instructions to fail because they wouldn't compile only in case #ifndef M68040. This smells very wrong, the whole idea of M680x0, ARANYM, MILAN etc was to *separate* needs of different CPUs, not as a kind of bit mask.

Of course I can fix it in the mm040.S (M68040 && !COLDFIRE) but I'd be interested to know why is this happening.

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