Re: HalTranslateBusAddress

From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 10/29/04


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
>
>



Relevant Pages

  • [origin tree SLAB corruption] BUG kmalloc-64: Poison overwritten, INFO: Allocated in bdi_alloc_w
    ... Bus #0 is PCI ... Performance Counters: AMD PMU driver. ... initcall migration_init+0x0/0x69 returned 0 after 3255 usecs ... calling spawn_ksoftirqd+0x0/0x69 @ 1 ...
    (Linux-Kernel)
  • Re: The Body as Battlefield
    ... The only really potentially scary situation I have been in as an adult ... He then became emollient and unctuously friendly, calling me ... alternatively 'sir' and 'mate', I decided to be his mate indeed. ... Fortunately he did not get on the bus. ...
    (uk.philosophy.humanism)
  • Re: The Body as Battlefield
    ... He then became emollient and unctuously friendly, calling me ... alternatively 'sir' and 'mate', I decided to be his mate indeed. ... Fortunately he did not get on the bus. ...
    (uk.philosophy.humanism)
  • 2.6.24-rc4: pci_remove_bus_device() => pci_scan_child_bus() => pci_bus_add_devices bug?
    ... Calling pci_scan_child_bus() on that bus will scan the bus for devices and add them all. ... Right now I have devised a hideous hack to circumvent pci.h and directly remap the pci device registers. ... Is this a bug or am I doing something wrong? ...
    (Linux-Kernel)
  • Re: Rainout Policy
    ... the bus at no charge and reschedule. ... I'd suggest calling the ticket office not looking for advice on here. ...
    (alt.sports.baseball.ny-yankees)

Loading