Re: HalTranslateBusAddress
From: K. S. Huang (ks_huang_at_AlphaNetworks.com_remove.this)
Date: 10/29/04
- Next message: K. S. Huang: "Re: Is this a bug in PB 5.0?"
- Previous message: Manoj: "HalTranslateBusAddress"
- In reply to: Manoj: "HalTranslateBusAddress"
- Next in thread: David Liao \(MS\): "Re: HalTranslateBusAddress"
- Reply: David Liao \(MS\): "Re: HalTranslateBusAddress"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 17:19:58 +0800
The HalTranslateBusAddress will translate the specific bus address into the
system's (usually the CPU) address space.
But no matter the Bus Address or System address handled by
HalTranslateBusAddress are all physical address.
You must use the value returned for TranslatedAddr in a subsequent call to
MmMapIoSpace if the AddressSpace value returns 0, which indicates that it is
a memory address.
you may use the TransBusAddrToVirtual instead of calling
HalTranslateBusAddress and MmMapIoSpace.
the TransBusAddrToVirtual will invoke the MmMapIoSpace if needed.
"Manoj" <Manoj@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:F86272FA-1B07-447B-903F-2E847DA2E44B@microsoft.com...
> what is the function of HalTranslateBusAddress ,can u explain in
detail...
> since i am a beginner in wince ,i really want to know the exact working
of
> the function in detail.....
>
>
> Thanking you
- Next message: K. S. Huang: "Re: Is this a bug in PB 5.0?"
- Previous message: Manoj: "HalTranslateBusAddress"
- In reply to: Manoj: "HalTranslateBusAddress"
- Next in thread: David Liao \(MS\): "Re: HalTranslateBusAddress"
- Reply: David Liao \(MS\): "Re: HalTranslateBusAddress"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|