fix(heap, readme): MemoryAllocator => Heap, update readme
This commit is contained in:
@@ -1,14 +1,23 @@
|
|||||||
# OS220
|
# OS220
|
||||||
|
Research kernel in C++
|
||||||
|
|
||||||
|
### Implemented (kernel)
|
||||||
|
- Global Descriptor Table
|
||||||
|
- Output via Flanterm by mintsuki
|
||||||
|
- Memory map scanning
|
||||||
|
- Kernel-mode heap allocator
|
||||||
|
|
||||||
# Roadmap
|
### In progress (kernel)
|
||||||
[x] GDT
|
- ISR handling (interrupts)
|
||||||
|
- Virtual memory paging
|
||||||
|
- UEFI runtime service support
|
||||||
|
- ACPI & AML support
|
||||||
|
|
||||||
[ ] IDT/ISRs/Interrupts
|
### Implemented (kernel C++ library)
|
||||||
|
- new/delete operators via kernel heap
|
||||||
|
- String stream (`cstringstream`)
|
||||||
|
- Console output stream (`kout`, `kerr`)
|
||||||
|
|
||||||
[ ] Page frame allocator
|
### In progress (kernel C++ library)
|
||||||
|
- Vector/array class
|
||||||
[ ] Paging
|
- String class
|
||||||
|
|
||||||
[ ] Heap allocator
|
|
||||||
...
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <Memory/MemoryAllocator.hpp>
|
#include <Memory/Heap.hpp>
|
||||||
|
|
||||||
void* operator new(std::size_t size)
|
void* operator new(std::size_t size)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Stream.hpp"
|
#include "Stream.hpp"
|
||||||
#include <Memory/MemoryAllocator.hpp>
|
#include <Memory/Heap.hpp>
|
||||||
#include <Terminal/terminal.hpp>
|
#include <Terminal/terminal.hpp>
|
||||||
#include <Libraries/string.hpp>
|
#include <Libraries/string.hpp>
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Copyright (c) 2025 Daniel Hammer
|
* Copyright (c) 2025 Daniel Hammer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "MemoryAllocator.hpp"
|
#include "Heap.hpp"
|
||||||
#include "Memmap.hpp"
|
#include "Memmap.hpp"
|
||||||
#include "HHDM.hpp"
|
#include "HHDM.hpp"
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
#include <Terminal/terminal.hpp>
|
#include <Terminal/terminal.hpp>
|
||||||
#include <Common/Panic.hpp>
|
#include <Common/Panic.hpp>
|
||||||
|
|
||||||
#include "MemoryAllocator.hpp"
|
#include "Heap.hpp"
|
||||||
|
|
||||||
using namespace Kt;
|
using namespace Kt;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
#include <Efi/UEFI.hpp>
|
#include <Efi/UEFI.hpp>
|
||||||
#include <Common/Panic.hpp>
|
#include <Common/Panic.hpp>
|
||||||
#include <Memory/Memmap.hpp>
|
#include <Memory/Memmap.hpp>
|
||||||
#include <Memory/MemoryAllocator.hpp>
|
#include <Memory/Heap.hpp>
|
||||||
|
|
||||||
#include <CppLib/Stream.hpp>
|
#include <CppLib/Stream.hpp>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user