mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
feat: Expand C++17 kernel subsystem with OOP device framework, containers, and benchmark engine
- Implement modern freestanding C++17 containers (Vector<T>, UniquePtr<T>, String) in kernel/cpp/cpp_containers.hpp - Implement object-oriented Device driver model (Device, BlockDevice, CharDevice, VirtualRamDiskDevice, VirtualNullDevice, VirtualZeroDevice, DeviceManager) in kernel/cpp/cpp_device.hpp and kernel/cpp/cpp_device.cpp - Add C++ kernel performance microbenchmark suite in kernel/cpp/cpp_bench.cpp - Export C-FFI bridges and add cross-architecture fallbacks in kernel/cpp/cpp_fallback.c and include/kernel/cpp_kernel.h - Add LazyBox applets: 'cppdevs' and 'cppbench' - Update README.md documentation and command matrix
This commit is contained in:
1 parent
03d68a9466
commit
1c09408287
11 files changed
+696
-4
No files matched your search
@@ -29,6 +29,10 @@ extern "C" {
|
||||
return 0; // Kernel runs indefinitely until shutdown
|
||||
}
|
||||
|
||||
int atexit(void (*/*func*/)(void)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void __cxa_pure_virtual(void) {
|
||||
panic("C++ Pure Virtual Function Called");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user