From 3fca74d9544fc4cf0218b6e8154b53625bd3df66 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 11 Apr 2024 23:50:38 +0200 Subject: Meta: Daily bump Signed-off-by: Amlal El Mahrouss --- Private/Documentation/.gitkeep | 0 Private/Documentation/Spec.md | 52 +++++++++++++++++++++ Private/Documentation/Todo.md | 21 +++++++++ Private/Documentation/kernel-design.drawio | 70 +++++++++++++++++++++++++++++ Public/Developer/ServerLib/.gitkeep | 0 Public/Developer/SystemLib/Headers/Window.h | 6 +++ Public/Documentation/.gitkeep | 0 Public/Documentation/Spec.md | 52 --------------------- Public/Documentation/Todo.md | 21 --------- Public/Documentation/kernel-design.drawio | 70 ----------------------------- Servers/.gitkeep | 0 11 files changed, 149 insertions(+), 143 deletions(-) create mode 100644 Private/Documentation/.gitkeep create mode 100644 Private/Documentation/Spec.md create mode 100644 Private/Documentation/Todo.md create mode 100644 Private/Documentation/kernel-design.drawio create mode 100644 Public/Developer/ServerLib/.gitkeep delete mode 100644 Public/Documentation/.gitkeep delete mode 100644 Public/Documentation/Spec.md delete mode 100644 Public/Documentation/Todo.md delete mode 100644 Public/Documentation/kernel-design.drawio create mode 100644 Servers/.gitkeep diff --git a/Private/Documentation/.gitkeep b/Private/Documentation/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Private/Documentation/Spec.md b/Private/Documentation/Spec.md new file mode 100644 index 00000000..458d17a9 --- /dev/null +++ b/Private/Documentation/Spec.md @@ -0,0 +1,52 @@ +=================================== +# 0: General Information +=================================== + +- ABI and Format: PEF/PE32+. +- Kernel architecture: Microkernel. +- Language: C++/(Assembly (AMD64, X64000, X86S, ARM64, PowerPC, RISCV)) + +=================================== +# 1: The NewKernel +=================================== + +- Drive/Device Abstraction. +- SMP, Preemptive Multi Threading. +- Separation of Files/Devices. +- Networking. +- Hardware Abstraction Layer. +- Native Filesystem support (NewFS, FAT32 and ffs2). +- Program Loaders. +- Thread Local Storage. +- Semaphore, Locks, Timers. +- Canary mechanisms. +- Dynamic Libraries. +- 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 + +=================================== +# 4: The NewBoot +=================================== + +- 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/Private/Documentation/Todo.md b/Private/Documentation/Todo.md new file mode 100644 index 00000000..2c4af6e5 --- /dev/null +++ b/Private/Documentation/Todo.md @@ -0,0 +1,21 @@ +- We need preemptive multi-threading. [ X ] +- We then need sync primitives. [ X ] +- We also need a system library for the OS. [ X ] +- We need a bootloader for AMD64 [ X ] + - Implement Boot Services [ X ] + - Design Handover [ X ] + - Load kernel into memory [ X ] + - Fix bug in kernel loader, which causes a 06 #UD. [ X ] + - Load Kernel [ X ] + - Add IDT [ X ] + - AHCI driver [ WiP ] +- Context switch x87/SSE/AVX registers [ X ] +- Framebuffer [ X ] +- AHCI support [ ] +- Make installer [ ] + +Status: + +NewBoot: Need to boot from EPM partition. +NewKernel: New Filesystem in progress. + diff --git a/Private/Documentation/kernel-design.drawio b/Private/Documentation/kernel-design.drawio new file mode 100644 index 00000000..d78ac170 --- /dev/null +++ b/Private/Documentation/kernel-design.drawio @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Public/Developer/ServerLib/.gitkeep b/Public/Developer/ServerLib/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/Public/Developer/SystemLib/Headers/Window.h b/Public/Developer/SystemLib/Headers/Window.h index ad626e2e..ca0b942e 100644 --- a/Public/Developer/SystemLib/Headers/Window.h +++ b/Public/Developer/SystemLib/Headers/Window.h @@ -156,3 +156,9 @@ CA_EXTERN_C VoidType WmReleaseMenu(WindowPort* port); /// @param where to move. /// @return error code. CA_EXTERN_C Int32Type WmMoveWindow(WindowPort* id, WmPoint where); + +/// @brief Get the NewOS about window. +/// @return The window port of it. +/// @note The reason that this is not a window is for it to run without blocking the UI. +CA_EXTERN_C WindowPort* WmGetOSDlg(void); + diff --git a/Public/Documentation/.gitkeep b/Public/Documentation/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/Public/Documentation/Spec.md b/Public/Documentation/Spec.md deleted file mode 100644 index 458d17a9..00000000 --- a/Public/Documentation/Spec.md +++ /dev/null @@ -1,52 +0,0 @@ -=================================== -# 0: General Information -=================================== - -- ABI and Format: PEF/PE32+. -- Kernel architecture: Microkernel. -- Language: C++/(Assembly (AMD64, X64000, X86S, ARM64, PowerPC, RISCV)) - -=================================== -# 1: The NewKernel -=================================== - -- Drive/Device Abstraction. -- SMP, Preemptive Multi Threading. -- Separation of Files/Devices. -- Networking. -- Hardware Abstraction Layer. -- Native Filesystem support (NewFS, FAT32 and ffs2). -- Program Loaders. -- Thread Local Storage. -- Semaphore, Locks, Timers. -- Canary mechanisms. -- Dynamic Libraries. -- 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 - -=================================== -# 4: The NewBoot -=================================== - -- 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/Public/Documentation/Todo.md b/Public/Documentation/Todo.md deleted file mode 100644 index 2c4af6e5..00000000 --- a/Public/Documentation/Todo.md +++ /dev/null @@ -1,21 +0,0 @@ -- We need preemptive multi-threading. [ X ] -- We then need sync primitives. [ X ] -- We also need a system library for the OS. [ X ] -- We need a bootloader for AMD64 [ X ] - - Implement Boot Services [ X ] - - Design Handover [ X ] - - Load kernel into memory [ X ] - - Fix bug in kernel loader, which causes a 06 #UD. [ X ] - - Load Kernel [ X ] - - Add IDT [ X ] - - AHCI driver [ WiP ] -- Context switch x87/SSE/AVX registers [ X ] -- Framebuffer [ X ] -- AHCI support [ ] -- Make installer [ ] - -Status: - -NewBoot: Need to boot from EPM partition. -NewKernel: New Filesystem in progress. - diff --git a/Public/Documentation/kernel-design.drawio b/Public/Documentation/kernel-design.drawio deleted file mode 100644 index d78ac170..00000000 --- a/Public/Documentation/kernel-design.drawio +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Servers/.gitkeep b/Servers/.gitkeep new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3