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

Re: [MiNT] trunk-09082010 file structure / content



Helmut Karlowski wrote:
Make all CPU-dependant stuff a km. MiNT reduces to init.c and module.c

The CPU-dependent stuff is mainly to choose the best assembler instructions to implement an algorithm written in C. This is the job of the compiler, this can hardly be done at runtime :S (except if we have some kind of intermediate language like Java and a JIT - not the case here).

However, the drivers for additional CPU features (MMU, cache management, etc.) should really go into a km, like any driver.

--
Vincent Rivière