From 4cce6065b0ef886679ab1b82df2b64504c1c4719 Mon Sep 17 00:00:00 2001 From: Erin Abicht Date: Tue, 18 Apr 2023 23:52:16 -0400 Subject: [PATCH] Minor additions --- src/development/design/README.md | 7 ++++--- src/development/design/filesystem.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/development/design/README.md b/src/development/design/README.md index 52f3373..a7ef764 100644 --- a/src/development/design/README.md +++ b/src/development/design/README.md @@ -37,8 +37,9 @@ All of the code will take place in seperate repositories. Information on actually commiting, pulling, etc. is in the [Workflow](/development/workflow.md) chapter. Most of the code will be implemented as libraries, enabling for them to be used across systems, and worked on separately. +Similarly drivers will be libraries in `git submodules`. -- [ferrite](https://git.lavender.software/mercury/ferrite-kernel) - The core microkernel code +- [ferrite](https://git.lavender.software/mercury/ferrite-kernel) - The core microkernel code w/ bootloader - [hermes]() - The package manager - [meteor]() - The [actors](/development/design/actor.md) library/implementation - [gravitas]() - The library for working with [storage](/development/design/filesystem.md) @@ -49,7 +50,7 @@ Most of the code will be implemented as libraries, enabling for them to be used ### Connections ```mermaid erDiagram - ASM ||--|| KERNEL: runs + BOOTLOADER ||--|| KERNEL: runs KERNEL ||..o{ GRAVITAS: uses KERNEL }|..o{ METEOR: uses GRAVITAS }|..o{ HAL: uses @@ -63,7 +64,7 @@ erDiagram ### Startup Flow ```mermaid flowchart TD - ASM --> kern(Kernel) + [[Bootloader]] --> kern(Kernel) kern --> disk(Read Disk) --> parse(Parse Configuration) --> run(Run Startup Programs) parse -.-> sh([Interactive Shell]) diff --git a/src/development/design/filesystem.md b/src/development/design/filesystem.md index 7c5884f..72b99a5 100644 --- a/src/development/design/filesystem.md +++ b/src/development/design/filesystem.md @@ -39,7 +39,7 @@ If the saved data exceeds past a single chunk, the `extends` flag is set. Additionally, it has a **UUID** generated via [lolid](https://lib.rs/crates/lolid) to enable identifying a specific chunk. ```rust -const CHUNK_SIZE: u16; // Example static chunk size +const CHUNK_SIZE: u64; // Example static chunk size struct Chunk { checksum: u64,