uACPI, a portable and easy-to-integrate ACPI implementation
Re: uACPI, a portable and easy-to-integrate ACPI implementation
The memory mapping function should really have access flags. Initially, I assumed that these mappings would be read-only, but then I discovered that some code did writes. It's a security problem that the ACPI tables can be modified. It's also unclear how the caching bits should be setup. Some of these accesses might be to MMIO, and then would require different cache settings compared to normal memory.