mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
- 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
33 lines
642 B
C
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
|