Files
SUB-OS/include/kernel/cpp_kernel.h
T
subhobhai943 1c09408287 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
2026-08-21 02:11:44 +05:30

33 lines
642 B
C

#ifndef _KERNEL_CPP_KERNEL_H
#define _KERNEL_CPP_KERNEL_H
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
// Initialize C++ Runtime and Object-Oriented Subsystems
int cpp_kernel_init(void);
// Print C++ Subsystem Status and Telemetry
void cpp_kernel_print_status(void);
// Run C++ OOP Virtual Dispatch and Template Test
int cpp_test_oop_subsystem(void);
// C++ Object-Oriented Device Management
void cpp_device_init_all(void);
void cpp_device_dump(void);
// C++ Kernel Performance Benchmarks
int cpp_run_benchmarks(void);
#ifdef __cplusplus
}
#endif
#endif // _KERNEL_CPP_KERNEL_H