does linuxbios use the acpi tables to figure out where to find the pci base registers?
and how are the dram config registers accessed in epia-m? is it directly or via pci host bridge configuration registers?
On 8/23/06, Rogelio Serrano rogelio.serrano@gmail.com wrote:
does linuxbios use the acpi tables to figure out where to find the pci base registers?
No. acpi tables are subject to copyright from the mfg and might be restricted on distribution.
and how are the dram config registers accessed in epia-m? is it directly or via pci host bridge configuration registers?
I'm not sure I understand what you are asking. Can you point me to the code that you are asking about?
On 8/24/06, Richard Smith smithbone@gmail.com wrote:
On 8/23/06, Rogelio Serrano rogelio.serrano@gmail.com wrote:
does linuxbios use the acpi tables to figure out where to find the pci base registers?
No. acpi tables are subject to copyright from the mfg and might be restricted on distribution.
and how are the dram config registers accessed in epia-m? is it directly or via pci host bridge configuration registers?
I'm not sure I understand what you are asking. Can you point me to the code that you are asking about?
-- Richard A. Smith
im really confused where dram configuration is being done in the epia-m. is it in raminit.c? I thought we cannot use c code until dram is set up.
i resorted to reading the acpi and amd bios manuals and got even more confused.
im really confused where dram configuration is being done in the epia-m. is it in raminit.c? I thought we cannot use c code until dram is set up.
Welcom to the most difficult part of linuxbios. :)
We can't run _normal_ C code. But we have romcc. romcc is a C compiler that is designed to run without RAM. Its uses CPU registers only.
The raminit.c and .h code is the code you want to look at.
i resorted to reading the acpi and amd bios manuals and got even more confused.
Yeah. Avoid acpi if you can .
On 8/24/06, Richard Smith smithbone@gmail.com wrote:
im really confused where dram configuration is being done in the epia-m. is it in raminit.c? I thought we cannot use c code until dram is set up.
Welcom to the most difficult part of linuxbios. :)
We can't run _normal_ C code. But we have romcc. romcc is a C compiler that is designed to run without RAM. Its uses CPU registers only.
The raminit.c and .h code is the code you want to look at.
I see! Thanks!
Thats really smart!
i resorted to reading the acpi and amd bios manuals and got even more confused.
Yeah. Avoid acpi if you can .
-- Richard A. Smith
* Rogelio Serrano rogelio.serrano@gmail.com [060823 17:54]:
does linuxbios use the acpi tables to figure out where to find the pci base registers?
no. they are cfc/cf8 on all PC architectures. No need for ACPI bloat.
Stefan