Commit b688880
authored
Full uACPI implementation (#54)
* Full uACPI implementation
Most uACPI kernel APIs are stubbed out but they are not
essential for what we need, which is basically evaluating
AML methods to discover PCI root bridges and their resources
* Fix build on IA32
* Don't fully initialize uACPI unless absolutely needed
Main concern for doing that is that running AML might put the
hardware into a non-PC compatible state with no reliable way
to reverse that (as per comment on #54).
For now `acpi_init` only sets up "early table access", as it
previously did, to allow ACPI table enumeration, but if the need
arises one can call `acpi_full_init` to be able to call into
uACPI functions that require the namespace to be loaded and initialized.
* Fix code style1 parent 50dca43 commit b688880
5 files changed
+395
-49
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments