File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 44//! hardware-independent way.
55//!
66//! ### Using the library
7- //! To use the library, you should create an instance of this type using `AmlContext::new()`, and
8- //! then pass it tables containing AML (probably from the `acpi` crate), which you've mapped into
9- //! the virtual address space. This will parse the table, populating the namespace with objects
10- //! encoded by the AML. After this, you may unmap the memory the table was mapped into - all the
11- //! information needed will be extracted and allocated on the heap.
7+ //! To use the library, you should create an `AmlContext` using `AmlContext::new()`, and then pass it tables
8+ //! containing AML (probably from the `acpi` crate), which you've mapped into the virtual address space. This will
9+ //! parse the table, populating the namespace with objects encoded by the AML. After this, you may unmap the memory
10+ //! the table was mapped into - all the information needed will be extracted and allocated on the heap.
1211//!
1312//! You can then access specific objects by name like so: e.g.
1413//! ```ignore
You can’t perform that action at this time.
0 commit comments