Adam Agnew <[EMAIL PROTECTED]> writes: > Hey Eric, > Could you take a minute to explain why you're doing this? I understand the > importance of turning on cache, etc. And I understand that cache is > terribly faster than dram, but how does using cache as ram help us? > Thanks. > - Adam
1) We can write ram initialization in C, because we have a stack. This is much easier and more maintainable. 2) It becomes possible to write a generic ipl.sys for the DOC and we can use the DOC on more platforms where ram initialization is more difficult. 3) Assembly sucks. 4) Code size reduction. Before we initialize memory the easy compensation is to just make your code longer. Additionally we get better code reuse between the memory initialization routines and linuxBIOS. Does that help? Eric
