I want a “like” button for Tim’s post.
Jake Oshins
Windows Kernel Team
This post implies no warrantees and confers no rights.
“Tim Roberts” wrote in message news:xxxxx@ntdev…
xxxxx@gmail.com wrote:
I am going through lot of documentation for ACPI and PCIe. More I read,
more I am getting confused. May be someone here will be able to guide me
through about
a) How ACPI and PCIe are linked together? Are they completly separate
entities?
Yes. ACPI is merely a way for the BIOS to send structure information to
the operating system. ACPI is the way the BIOS tells the system which
devices are located where, what resources were assigned, how the bus
topologies are connected, what power capabilities they all have, and so
on. So, the PCIe topology will be reported using ACPI, but it’s just
one small part of the ACPI information.
ACPI plays its largest role at boot time, but it is also used for
communication with the BIOS during system operation. All of those Fn
keys on your laptop keyboard, for example, are transmitted via ACPI events.
b) Is ACPI only used for power management purposes? or it has additional
purpose of hardware management?
It does play an additional role.
c) Why ACPI if device registers can be used directly (using PCIe
configuration address space) to manage power state (This may be dumb
question).
Because there are devices on your motherboard other than PCIe, some of
which do not have the configuration space concept.
d) If OS changes anything in PCIe configuration address space, it is OS
job to keep ACPI tables in sync?
Note: My goal is to understand ACPI and how device driver can utilitise
ACPI, for example, to get memory mapped information of a given device.
You would get that information from the operating system, not from
ACPI. The only time that a function driver needs to muck with ACPI is
when you have some custom event (“GPE”) hardwired into a motherboard
interface that is not passed through some existing bus.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.