On 5/9/10 7:33 AM, Keith Hui wrote:
Joseph OTOH suggests that I should port this code into cache_as_ram.inc which is much earlier, actually before motherboard romstage. This code is assembly, meaning I'll need to port this thing back to assembly.
Question is: Where should I port this code to? CPU driver, or cache_as_ram.inc?
If there are no penalties for putting it in the CPU driver, put it there. If you run without cache until the CPU driver is executed otherwise (and that makes a measurable difference of several ms) you might want to do this earlier
Stefan