acpi_tables: Add initial ACPI tables support

Add a revision 2 RSDP table only supporting an XSDT along with support
for creating generic SDT based tables.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2019-08-07 17:53:37 +01:00
committed by Samuel Ortiz
parent 3e99098bf3
commit eea6f1dc9e
6 changed files with 225 additions and 0 deletions

8
Cargo.lock generated
View File

@@ -1,5 +1,12 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "acpi_tables"
version = "0.1.0"
dependencies = [
"vm-memory 0.1.0 (git+https://github.com/rust-vmm/vm-memory)",
]
[[package]]
name = "aho-corasick"
version = "0.6.10"
@@ -1024,6 +1031,7 @@ dependencies = [
name = "vmm"
version = "0.1.0"
dependencies = [
"acpi_tables 0.1.0",
"arch 0.1.0",
"devices 0.1.0",
"epoll 4.1.0 (registry+https://github.com/rust-lang/crates.io-index)",