mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-08-01 21:59:41 +00:00
This CL handles the integration of the Image Manager, which comes concurrent with the necessary WMMU changes needed by the Image Manager. The ML Coordinator now calls into Image Manager to make space, commit images, and set the WMMU. The MlCoordinator now first verifies that an image is valid by first making a pass through the section headers. It stores the two sizes that we're interested in per image: how big it is packed on flash, and how big it is unpacked in memory. Known issues: b/241799340: Refactor BundleImage to support unit testing The writes to DMEM via the kata-vec-core crate was meant to be in image_manager.rs, but this interfered with the ability to run unit tests. We can refactor BundleImage to make this work. b/241799866: Improve heap management Right now I clear all of the "temporary data section" (bss, stack, heap), but I suspect only the heap needs to be cleared. This needs more effort to check that that's correct, and track those locations. Minor changes: ImageId is used instead of (String, String) in the component. Change-Id: I1505c6474fc60205323ce3bb13610fdac3702b89 GitOrigin-RevId: 5df9938a6cbd7ca5510ce8fcb500ce471f42b2cb |
||
---|---|---|
apps | ||
kernel | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
easy-settings.cmake | ||
README.md | ||
rustfmt.toml | ||
settings.cmake |
Kata OS
This is a CAmkES project that assembles the entire Kata OS. It exists outside the seL4 source trees, since it contains code not intended to go to upstream seL4.
This uses the standard CAmkES build system by symlinking CMakeLists.txt. It also symlinks settings.cmake, and so retains the notion of "apps," which enables the build system to switch which assembly it builds using the CAMKES_APP CMake cache value. Kata OS just has one app, system.