1
0
mirror of https://github.com/taigrr/gopher-os synced 2025-01-18 04:43:13 -08:00

1 Commits

Author SHA1 Message Date
Achilleas Anagnostopoulos
6f39b2af55 acpi: add scaffolding code for the AML method to OS VM bytecode compiler
This commit includes the required code to process all methods defined by
an AML entity hierarchy and invoke a function for converting each method
statement into a sequence of opcodes that can be executed by our
internal VM.

The mapping of the AML opcodes to the VM opcodes is facilitated via the
opcodeMap which allows us to apply a particular compiler function when
converting each AML opcode. Currently, this map is empty so all AML
opcodes are mapped to "nop" instructions.
2017-12-30 07:33:20 +00:00