* What is being setup in chrp_setup_pci_ptrs()?
@ 1999-08-10 2:45 Andrew_Klosterman
1999-08-10 8:17 ` Geert Uytterhoeven
1999-08-10 8:41 ` Adrian Cox
0 siblings, 2 replies; 3+ messages in thread
From: Andrew_Klosterman @ 1999-08-10 2:45 UTC (permalink / raw)
To: linuxppc-dev
Dear PCI Gurus,
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:
pci_dram_offset,
isa_mem_base and
isa_io_base.
Could someone please explain to me what the addresses these variables refer
to mean, please?
Many thanks,
--Andy
[[ 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. ]]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: What is being setup in chrp_setup_pci_ptrs()?
1999-08-10 2:45 What is being setup in chrp_setup_pci_ptrs()? Andrew_Klosterman
@ 1999-08-10 8:17 ` Geert Uytterhoeven
1999-08-10 8:41 ` Adrian Cox
1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 1999-08-10 8:17 UTC (permalink / raw)
To: Andrew_Klosterman; +Cc: linuxppc-dev
On Mon, 9 Aug 1999 Andrew_Klosterman@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:
> pci_dram_offset,
> isa_mem_base and
> isa_io_base.
>
> Could someone please explain to me what the addresses these variables refer
> to mean, please?
- pci_dram_offset: address at which system memory starts when viewed from a
PCI device. CPU and PCI may have a different view to RAM.
- isa_mem_base: address where the ISA memory space is located (first 1 MB on
a PC)
- isa_io_base: address where the ISA I/O space is located (65536 I/O ports on
a PC)
Greetings,
Geert
--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
[[ 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. ]]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: What is being setup in chrp_setup_pci_ptrs()?
1999-08-10 2:45 What is being setup in chrp_setup_pci_ptrs()? Andrew_Klosterman
1999-08-10 8:17 ` Geert Uytterhoeven
@ 1999-08-10 8:41 ` Adrian Cox
1 sibling, 0 replies; 3+ messages in thread
From: Adrian Cox @ 1999-08-10 8:41 UTC (permalink / raw)
To: Andrew_Klosterman; +Cc: linuxppc-dev
Andrew_Klosterman@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:
> pci_dram_offset,
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.
> isa_io_base.
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. ]]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-08-10 8:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-10 2:45 What is being setup in chrp_setup_pci_ptrs()? Andrew_Klosterman
1999-08-10 8:17 ` Geert Uytterhoeven
1999-08-10 8:41 ` Adrian Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).