-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
early boot #59
Comments
There are no APIs for IPIs. The best way to do that is to send an INIT to the CPU you want to interrupt. We do that in MicroV/mono if you want to see it in action. Boxy itself does handle early boot, and will boot into Windows or Linux. This is possible because Boxy uses the old monolithic version of Bareflank which has that code. Early boot with the Microkernel has not been completed yet. |
Thanks, Rain. You said Boxy does handle early boot and will boot into linux, does that mean it already support it or will support it soon? |
Boxy itself should download the version of Bareflank that it uses, but it is roughly based on version 2.1 in the release history. It already supports booting into Linux but is no longer actively developed. The link you provided is where you would get the microkernel which is in the master branch and is where we are actively developing version 3.0. To get the monolithic version, go to the releases and grab a 2.x version. |
Thanks for your kind answer. I have download the version 2.1. But I haven't find the code for early booting os. Could you also further tell me the code and function path? is it an extension within the example or somewhere else such as bfelf_loader. (By the way, could you also point out for me which code place in Boxy using this extension?) Thank you very much! |
Extensions in the old code do not work the same way. Here are all of the examples that we provide for the old code: These are our integration tests for the old code, and they too work as good examples: The EFI integration tests all you to boot into Linux. Boxy itself is just an extension. So in other words, you cannot really "extend" Boxy as it is the extension. But, you are free to fork Boxy and add whatever code you want to it. |
Thanks, Rain. But it seems that all of these code are not about the exact code of early booting OS. I mean the code of "unrestricted mode enabled in the VMCS, proper handling of INIT/SIPI and some CR0/CR4 trapping to properly handle flipping of control bits in the VMCS and TLB flushing" |
Does boxy current support early booting?
Is there an API in Bareflank for send IPI interrupt?
The text was updated successfully, but these errors were encountered: