Commit graph

6 commits

Author SHA1 Message Date
Rian Quinn
91886c75d9 Adds an example extension written in Rust and fixes a number of bugs
This patch:
- Adds a complete extension written in Rust, with all of the build
  system logic to support Rust development as well.
- Fixes an issues on Intel systems where the MSR bitmaps were not
  set up properly.
- Fixes a number of issues with UEFI.
- Fixes a number of issues with Windows, including a BSOD issue
  with narrow contracts.
2021-10-21 08:53:22 -06:00
Rian Quinn
6daaff26e5 Completes all of the unit tests for the VMM
This patch:
- Completes all of the unit tests for the VMM
- Completes all of the unit tests for the syscall library
- Compleses all of the unit tests for the runtime library
- Completes all of the unit tests for the lib library
- Fixes a number of bugs identified during testing.
2021-10-11 15:45:29 -06:00
Rian Quinn
77c38d9ec7 Add missing registers and fixes bug with alloc_page/alloc_huge
This patch:
- Adds the missing registers CR8, DR0, DR1, DR2, DR3 and XCR0
  to the microkernel. These registers are now managed by the
  microkernel for all extensions.
- Fixes an issue with alloc_page and alloc_huge where allocations
  were not reflected to all of the direct maps.
- Fixes an issue with fail() not sending the correct arguments.
  Further testing and debugging is needed for this.
2021-09-28 08:11:48 -06:00
Rian Quinn
cb16e8eafc Fixes bugs with paging, and removes IA32 to make Intel/AMD consistent 2021-09-18 18:54:08 -06:00
Rian Quinn
5149638800 Widen the page fault handler's virtual address contract 2021-09-15 16:57:25 -06:00
Rian Quinn
6850437bb9 Updates to match the changes to the BSL
This patch addresses the following:
- Adds a number of addition hypercall that are needed for MicroV
- Updates the code to support the changes made to the BSL including
  better checking of safe integrals and narrow contracts
- Adds a lib folder to contain code shared between the kernel and
  extensions where possible.
- Minor initial additions for Rust. Still lots of work to do here
2021-09-08 15:47:38 -06:00