Re-enabled C++ support, it seems to be working.
parent
0f0380a0e3
commit
949180a993
|
@ -92,7 +92,6 @@ void kmain_newstack(void)
|
||||||
exceptions_init_simple();
|
exceptions_init_simple();
|
||||||
apic_enable_lapic();
|
apic_enable_lapic();
|
||||||
heap_init_simple();
|
heap_init_simple();
|
||||||
for (;;) {}
|
|
||||||
// enable FPU/SSE...
|
// enable FPU/SSE...
|
||||||
__asm__ volatile(
|
__asm__ volatile(
|
||||||
"movq %cr0, %rax;"
|
"movq %cr0, %rax;"
|
||||||
|
|
|
@ -36,7 +36,6 @@ CLogger &CKernel::Logger(void)
|
||||||
void CKernel::Start(void)
|
void CKernel::Start(void)
|
||||||
{
|
{
|
||||||
kprintf("[i] Hello from C++ land!\n");
|
kprintf("[i] Hello from C++ land!\n");
|
||||||
for (;;) {}
|
|
||||||
|
|
||||||
if (m_dwMagic != CKERNEL_MAGIC)
|
if (m_dwMagic != CKERNEL_MAGIC)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue