I'm currently trying to understand at least a minimum how ACPI works. After unsuccessful googling about how to invoke ACPI methods, i'm begging some help here.
So, here are my wonderings :
1. Are the ACPI registers (i.e PM1a_CNT) all accessible via PIO ? If there are some in MMIO? In that case, how can i know if they can be accessed via MMIO or PIO ?
2. How can i call an ACPI method (like \_OSI for example) ? Has anyone a C sample program with the invocation of an ACPI method ?
3. Do you have any references (easy to understand) that i can read to implement a driver that uses ACPI ?
Thanks a lot.