mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
- Add freestanding C++17 runtime with operator new/delete, pure virtual handlers, and global constructor execution in kernel/cpp/cxx_runtime.cpp - Implement C++ Object-Oriented telemetry and hardware services with polymorphism in kernel/cpp/cpp_module.cpp and include/kernel/cpp_kernel.h - Add interactive ANSI Snake Game in userland/lazybox/snake.c with real-time keyboard control and automated simulation mode - Initialize C++ subsystem during kernel boot step [8/14] in kernel/main.c - Add LazyBox applets: 'snake', 'cppinfo', and 'cpptest'
26 lines
472 B
C
26 lines
472 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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _KERNEL_CPP_KERNEL_H
|