Re: HalTranslateBusAddress
From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 10/29/04
- Next message: David Liao \(MS\): "Re: USB Function Driver ERROR !"
- Previous message: David Liao \(MS\): "Re: EHCI host controller not work on CE 5.0"
- In reply to: K. S. Huang: "Re: HalTranslateBusAddress"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 11:18:23 -0700
Please use bus function in CEDDK.
like
BusTranslateBusAddress.
The different between hal function and bus bus function is bus function will
route to Bus driver before calling into OAL. If you have not one to one
mapping from one bus to another. BusTranslateBusAddress will do correct
thing for you while HalTranslateBusAddress can't.
David Liao.
"K. S. Huang" <ks_huang@AlphaNetworks.com_remove.this> wrote in message
news:uCol3hZvEHA.716@TK2MSFTNGP10.phx.gbl...
> 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: David Liao \(MS\): "Re: USB Function Driver ERROR !"
- Previous message: David Liao \(MS\): "Re: EHCI host controller not work on CE 5.0"
- In reply to: K. S. Huang: "Re: HalTranslateBusAddress"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|