Map RAM memory in PCI memory space?

Hi all,

Operating System: Windows NT 4.0 SP 6

I allocated a contiguous zone of RAM memory. Is it possible to translate it in PCI memory space (an inverse function for HalTranslateBusAddress?!) and make it available for another PCI devices? More specifically, I have a PCI board with a MPC8240 processor on it which is doing NOTHING because it has no code to run yet. In MPC8240’s user manual it states that it is possible to fetch instruction(s?) from PCI memory space via an Outbound Window Translation operation. I don’t know how to allocate some memory of PCI memory space and make it available for MPC8240.

Any suggestion is welcome.

Thanks in advance,
Daniel


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>I allocated a contiguous zone of RAM memory. Is it possible to translate it
in

PCI memory space (an inverse function for HalTranslateBusAddress?!) and

  1. HalAllocateCommonBuffer
  2. allocate any memory, then allocate a MDL describing it, then
    IoMapTransfer or pDmaAdapter->GetScatterGatherList

Both ways will give you the physical address (or addresses) to fed to your
PCI device.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com