ACPI request/release generic address
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is there a way in the ACPI code to do a request/release of I/O or memory with an acpi_generic_address? Does it even make sense to do this? There are generic I/O routines for using a generic address, and I'm working with an ACPI table that has a generic address, so it would seem to make sense to have memory reservation routines through this, too.
- -Corey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+X42jIXnXXONXERcRAglFAJ9Xn7HbRDCFkpDiAzrsB0lkYFdSGACfUxX4 enhfmod5mAZBAorygt1zrqo=
=wXF6
-----END PGP SIGNATURE-----
Quoted 8 lines · Corey Minyard
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Is there a way in the ACPI code to do a request/release of I/O or memory with an
acpi_generic_address? Does it even make sense to do this? There are generic I/O routines for using a generic address, and I'm working with an ACPI table that has a generic address, so it would seem to make sense to have memory reservation routines through this, too.
Can you define a generic address?
IIRC, ACPI needs some work in this area.
If the "generic address" is host RAM, that's easy.
If the generic address is PIO address, that's mostly easy. If the generic address is MMIO address, that takes a bit of care with mapping, and I'm not sure ACPI gets it right in these cases.
Jeff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It an acpi_generic_address structure defined in include/acpi/actbl2.h. It's an address that can be in memory, I/O, or PCI configuration space.
The definition is at http://www.microsoft.com/hwdev/tech/onnow/LF-ACPI.asp
- -Corey
Jeff Garzik wrote:
|On Fri, Feb 28, 2003 at 10:26:13AM -0600, Corey Minyard wrote: | |>-----BEGIN PGP SIGNED MESSAGE----- |>Hash: SHA1 |> |>Is there a way in the ACPI code to do a request/release of I/O or memory |>with an acpi_generic_address? Does it even make sense to do this? |>There are generic I/O routines for using a generic address, and I'm |>working with an ACPI table that has a generic address, so it would seem |>to make sense to have memory reservation routines through this, too. | | |Can you define a generic address? | |IIRC, ACPI needs some work in this area. | |If the "generic address" is host RAM, that's easy. |If the generic address is PIO address, that's mostly easy. |If the generic address is MMIO address, that takes a bit of care with |mapping, and I'm not sure ACPI gets it right in these cases. | | Jeff | | |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+X6jqIXnXXONXERcRAtghAKCpyo6enCR91Affkq9lwDRIRQleTwCeIC1t TlYA0vFQIvYWCKf7IknAG90=
=BG4s
-----END PGP SIGNATURE-----
Quoted 7 lines · Corey Minyard
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1It an
acpi_generic_addressstructure defined ininclude/acpi/actbl2.h. It's an address that can be in memory, I/O, or PCI configuration space.The definition is at http://www.microsoft.com/hwdev/tech/onnow/LF-ACPI.asp
ACPI will need to use the existing kernel-based resource reservation mechanisms, dependent upon which type of address it is.
Jeff