From 0ae51c120f699ed6b1fc54ec18c85d5afe693f19 Mon Sep 17 00:00:00 2001 From: August Date: Mon, 9 Nov 2026 02:00:41 +0000 Subject: [PATCH] Update journal --- docs/STATE_OF_DEVELOPMENT.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/STATE_OF_DEVELOPMENT.md b/docs/STATE_OF_DEVELOPMENT.md index d025873..97d9628 100644 --- a/docs/STATE_OF_DEVELOPMENT.md +++ b/docs/STATE_OF_DEVELOPMENT.md @@ -31,4 +31,24 @@ possible to uphold safety. The capability's fields allow a hierarchical structure for components and capabilities, and in the future, user processes can create capabilities to -resources that aren't managed by the kernel. \ No newline at end of file +resources that aren't managed by the kernel. + +## 2026-11-08: Cross Compilation Considerations + +No further work has been done on actually bringing up the kernel on x86_64. +However, I'm considering how I want to add support for ARM down the road. Most +ARM SBCs do not support UEFI, so the stopgap solution I've arrived at is to +use Das U-Boot as an intermediate layer between the firmware and Limine. +U-Boot supports the EFI protocols necessary to load and run Limine as far as I +can tell, so by merely supplying `-bios u-boot.bin` to QEMU allows us to boot +an unmodified multiarch ISO. + +I think I will have to backtrack on my choice to include the component system +in the kernel proper. Too much additional accounting info would be required. +It would be more responsible to handle this in userspace and come up with a +different protection mechanism for userspace capabilities. + +Lastly, I want to figure out a way to make the kernel's capability +representation a little more... *robust*, I guess. More idiomatic Rust. Using +raw pointers everywhere feels sloppy. Maybe this is a good application of +`PhantomData`? \ No newline at end of file