bus address converter
-
hii all..i got a problem regarding to convert the requested memory address to bus address..as we know, for the CPU to access a memory (doing transaction) it must go to bus address first..txx
-
hii all..i got a problem regarding to convert the requested memory address to bus address..as we know, for the CPU to access a memory (doing transaction) it must go to bus address first..txx
Hi, what is your application, why would you need this? Are you going to write a device driver that services a DMA device? Normally all addresses handled by code running on the CPU will get translated from logical to physical addresses automatically by the built-in MMU; you should not worry unless you dive into the kernel, the drivers and/or your own hardware... :confused: :)
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
-
Hi, what is your application, why would you need this? Are you going to write a device driver that services a DMA device? Normally all addresses handled by code running on the CPU will get translated from logical to physical addresses automatically by the built-in MMU; you should not worry unless you dive into the kernel, the drivers and/or your own hardware... :confused: :)
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
oke,let me explain to you..i need to convert the requested memory addressto bus address.. because for a CPU to do a transaction such as I/O Read, I/o Write ,interrupt and others memory transaction, the CPU need to got through the front-side bus for it to access to requested memory in the DDR or in the Memory Controller Hub (MCH).By the way thanks for your help. i will try my best!