What is being setup in chrp_setup_pci_ptrs()?
apc at agelectronics.co.uk
Tue Aug 10 18:41:24 EST 1999
Andrew_Klosterman at 3com.com wrote:
> In the function chrp_setup_pci_ptrs() at the end of the file
> /arch/ppc/kernel/chrp_pci.c there are three different variables that are
> initialized depending on the system being used:
The PCI address of physical memory address 0 (which should also be
kernel virtual address 0xc0000000). If physical memory does not start at
0, then things are a bit more complicated.
> isa_mem_base and
The kernel virtual address to which you have mapped ISA memory space.
You may need this for the ROMs on ISA cards.
The kernel virtual address to which you have mapped IO space. This is
used by insb and similar instructions.
For more details of these, read include/asm-ppc/io.h
- Adrian Cox, AG Electronics
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
More information about the Linuxppc-dev