From a13e1c0911c0627184bc38f18c7fdda64447b3ad Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 23 Mar 2025 19:13:48 +0100 Subject: meta(kernel): Reworked repository's filesystem structure. Removing useless parts of the project too. Signed-off-by: Amlal El Mahrouss --- docs/GUI_DESIGN.drawio | 2 +- docs/MBCI.drawio | 70 ------------------------------------------ docs/MBCI_DESIGN.drawio | 70 ++++++++++++++++++++++++++++++++++++++++++ docs/OS_DESIGN.drawio | 2 +- docs/ROUND_ROBIN.drawio | 25 --------------- docs/SOFT_SCHED_DESIGN.drawio | 25 +++++++++++++++ docs/SPECIFICATION_KERNEL.md | 63 +++++++++++++++++++++++++++++++++++++ docs/ZXD.drawio | 31 ------------------- docs/ZXD_DESIGN.drawio | 31 +++++++++++++++++++ docs/apic.png | Bin 203155 -> 0 bytes docs/filesystem.png | Bin 174261 -> 0 bytes 11 files changed, 191 insertions(+), 128 deletions(-) delete mode 100644 docs/MBCI.drawio create mode 100644 docs/MBCI_DESIGN.drawio delete mode 100644 docs/ROUND_ROBIN.drawio create mode 100644 docs/SOFT_SCHED_DESIGN.drawio create mode 100644 docs/SPECIFICATION_KERNEL.md delete mode 100644 docs/ZXD.drawio create mode 100644 docs/ZXD_DESIGN.drawio delete mode 100644 docs/apic.png delete mode 100644 docs/filesystem.png (limited to 'docs') diff --git a/docs/GUI_DESIGN.drawio b/docs/GUI_DESIGN.drawio index 3ada69be..09bd3400 100644 --- a/docs/GUI_DESIGN.drawio +++ b/docs/GUI_DESIGN.drawio @@ -4,7 +4,7 @@ - + diff --git a/docs/MBCI.drawio b/docs/MBCI.drawio deleted file mode 100644 index 9a8f4283..00000000 --- a/docs/MBCI.drawio +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/MBCI_DESIGN.drawio b/docs/MBCI_DESIGN.drawio new file mode 100644 index 00000000..9a8f4283 --- /dev/null +++ b/docs/MBCI_DESIGN.drawio @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/OS_DESIGN.drawio b/docs/OS_DESIGN.drawio index d704b481..0091f5c1 100644 --- a/docs/OS_DESIGN.drawio +++ b/docs/OS_DESIGN.drawio @@ -4,7 +4,7 @@ - + diff --git a/docs/ROUND_ROBIN.drawio b/docs/ROUND_ROBIN.drawio deleted file mode 100644 index 46c6304b..00000000 --- a/docs/ROUND_ROBIN.drawio +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/SOFT_SCHED_DESIGN.drawio b/docs/SOFT_SCHED_DESIGN.drawio new file mode 100644 index 00000000..32a7800d --- /dev/null +++ b/docs/SOFT_SCHED_DESIGN.drawio @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/SPECIFICATION_KERNEL.md b/docs/SPECIFICATION_KERNEL.md new file mode 100644 index 00000000..2cdee1f0 --- /dev/null +++ b/docs/SPECIFICATION_KERNEL.md @@ -0,0 +1,63 @@ +=================================== + +# 0: General Information + +=================================== + +- ABI and Format: PEF/PE32+. +- Kernel architecture: Portable hybrid Kernel. +- Language: C++/(Assembly (AMD64, X64000, X86S, ARM64, POWER, RISCV)) + +=================================== + +# 1: The Kernel + +=================================== + +- Drive/Device Abstraction. +- SMP, Preemptive Multi Threading. +- Separation of Files/Devices. +- Networking. +- Hardware Abstraction Layer. +- Native Filesystem support (NeFS, FAT32 and ffs2). +- Program Loaders interfaces. +- TLS (Thread Local Storage) support. +- BinaryMutex, Locks, Timers. +- Canary mechanisms. +- Dynamic Sys. +- Cross Platform. +- Permission Selectors. + +=================================== + +# 2: The Filesystem + +=================================== + +- Catalog object with associated forks. +- Large storage support. +- Long file names. +- UNIX path style. + +================================== + +# 3: Common naming conventions: + +================================== + +- Kernel -> ke_init_x +- RunTime -> rt_copy_mem +- Hal -> hal_foo_bar +- Class methods -> Class::FooBar + +=================================== + +# 4: The BootZ + +=================================== + +- Capable of booting from a network drive. +- Loads a PE file which is the Kernel. +- Sanity checks, based on the number of sections. +- Handover compliant. +- Does check for a valid partition (useful in the case of recovering) diff --git a/docs/ZXD.drawio b/docs/ZXD.drawio deleted file mode 100644 index 7452d3f9..00000000 --- a/docs/ZXD.drawio +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/ZXD_DESIGN.drawio b/docs/ZXD_DESIGN.drawio new file mode 100644 index 00000000..7452d3f9 --- /dev/null +++ b/docs/ZXD_DESIGN.drawio @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/apic.png b/docs/apic.png deleted file mode 100644 index 33954dce..00000000 Binary files a/docs/apic.png and /dev/null differ diff --git a/docs/filesystem.png b/docs/filesystem.png deleted file mode 100644 index 9e3599a9..00000000 Binary files a/docs/filesystem.png and /dev/null differ -- cgit v1.2.3