|
From: Roman Z. <zi...@li...> - 2001-09-21 19:34:06
|
Hi, Alan Buxey wrote: > under APUS, what does phys_to_virt operate on? Only on the main memory. > I'm sure that my memory starts at 0x66000000 and that APUS > looks at the execption vectors at 0xfff00000 (the last is certainly > true according to the kernel sources! ;-) ) At 0xfffxxxxx you can access the last 512KB of your memory on the ppc board. This is used to keep a copy of the exception vectors there. At 0 is already the chip ram, which could also be used, but it would only slow down the exception handling. > do we have a value of KERNELBASE or MEM_OFFSET that operate under > APUS? It's the same as for all other ppc machines - 0xc0000000. It's just that the physical memory location is dynamic. > if phys_to_virt isnt working normally, then what function do I use > to replace > > start_val = phys_to_virt(0x1200); > > start_val = 0xfff01200; ?? The exception vectors are directly mapped and can be accessed at 0xfff00000, so no conversion is needed for them. > Thanks if anyone can help....I'm getting worried about no responses from > this list Sorry, busy, busy... :) bye, Roman |