|
From: Alan B. <al...@ms...> - 2001-09-17 16:16:08
|
hi, Can someone please re-educate or inform me of the memory layout system under APUS? I recall we are a bit 'weird' in that memory does not start at 0x00000000 my problem has arisen in that I find some code that I'm needing to fix....the code does the following. it takes two values, 0x2100 and 0x3000 and then tries to find a size of 0x10 available (stepping through the memory space in +4 steps the function operating on this memory is phys_to_virt() I note in the bootuyp that APU does some IORemapping fffc0000 -> fdfff000 fffe0000 -> fdffe000 these occur early on fffc0000 -> c6000000 fffe0000 -> c6002000 e0000000 -> c6004000 ef010000 -> c6805000 these occur later. a few weird numbers in there.... can anyone help as to where i really should be allocating such memory? (I altered the function to look between 0x4000 and 0x5000 and it did find some free space.... well, is a resulting area on something like 0xc000000 but then the program Kernel panic'ed (not suprising really! ;-) ) Alan |