The existing parser implementation has several issues and will, in many cases incorrectly parse AML bytestreams that contain (among other things): - ambiguous method calls (same method name defined in multiple scopes) - bank fields - buffer fields where the length arg contains a method call - named objects containing one or more '^' prefixes when defined inside nested Scope elements (e.g. Scope(_SBRG){ Device(^PCIE){...} }) Unfortunately, these issues were discovered quite late while working on the AML interpreter and while an attempt was made to correct some of these (see previous commits), it turns out that the current codebase cannot be refactored to fix all issues. I have therefore decided to get rid of the current implementation and replace it with a new one which will be created from scratch to address all the above issues. This commit just cleans up the codebase so the new parser can be added via a future PR.
gopher-os
The goal of this project is to build a 64-bit POSIX-compliant tick-less kernel with a Linux-compatible syscall implementation using Go.
This project is not about building yet another OS but rather exists to serve as proof that Go is indeed a suitable tool for writing low level code that runs at ring-0.
Note: This project is still in the early stages of development and is not yet
in a usable state. In fact, if you build the ISO and boot it, the kernel will
eventually panic with a Kmain returned
error.
To find out more about the current project status and feature roadmap take a look at the status page.
Building and running gopher-os
TLDR version: make run-qemu
or make run-vbox
.
A detailed guide about building, running and debugging gopher-os on Linux/OSX as well as the list of supported boot command line options are available here.
How does it look?
Contributing
gopher-os is Open Source. Feel free to contribute! To get started take a look at the contributing guide.
Licence
gopher-os is distributed under the MIT license.