|To:||Youngduk Goo <email@example.com>|
|Subject:||Re: using the 36bit physical address on AMD AU1200|
|From:||Dan Malek <firstname.lastname@example.org>|
|Date:||Mon, 16 Jan 2006 23:14:57 -0500|
On Jan 16, 2006, at 10:40 PM, Youngduk Goo wrote:
I guess I need to convert this address to virtual address for access it.
You have to map it, yes.
But I don't know exactly how to do it. Do I need to configure the TBL? I am using the YAMON as a bootloader. and try to access the DM9000.
You will have to modify the YAMON source code to map TLB entries for the device. Take a look at the sys_tlb_write() function along with ensuring you update the CP0 wired register so they don't disappear. Also, you will have to check what else may be doing this so you don't mess up other mappings. In Linux, all you need to do is call ioremap() and use the virtual address returned to you. -- Dan
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||64-bit Linux kernel, Vadivelan|
|Next by Date:||Re: 64-bit Linux kernel, Stuart Longland|
|Previous by Thread:||using the 36bit physical address on AMD AU1200, Youngduk Goo|
|Next by Thread:||Re: using the 36bit physical address on AMD AU1200, Youngduk Goo|
|Indexes:||[Date] [Thread] [Top] [All Lists]|