[LinksOS CVS Commit]kernel/main start.cpp,1.4,1.5
Status: Inactive
Brought to you by:
terencevs
|
From: <ke...@to...> - 2003-01-13 04:47:18
|
Update of /cvsroot/linksos/kernel/main In directory router-internal.tossell.net:/tmp/cvs-serv10427/main Modified Files: start.cpp Log Message: Title: Kernel IO Changes: Replaced old kprintf() global with consolestream hal::kio::console. Effects: hal::kio::console << "Hello World!\n"; We can, like, call an object dude. a=kennyt b=19 Index: start.cpp =================================================================== RCS file: /cvsroot/linksos/kernel/main/start.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** start.cpp 13 Jan 2003 02:35:13 -0000 1.4 --- start.cpp 13 Jan 2003 04:47:11 -0000 1.5 *************** *** 15,18 **** --- 15,19 ---- #include "gdt.h" #include "hal.h" + #include "kio.h" desc_table(GDT, 3) *************** *** 32,36 **** { if(magic != MULTIBOOT_BOOTLOADER_MAGIC){ ! hal::kio::printf("Invalid bootloader magic number\n"); return; } --- 33,37 ---- { if(magic != MULTIBOOT_BOOTLOADER_MAGIC){ ! hal::kio::console << "Invalid bootloader magic number\n"; return; } *************** *** 56,64 **** ! hal::kio::printf("LinksOS v0.0.1a kernel booted.\nI'll loop forever now.\n"); /* Do that kool kernel stuff */ /* Halt */ ! hal::kio::printf("Halted."); return; } --- 57,65 ---- ! hal::kio::console << "LinksOS v0.0.1a kernel booted.\nI'll loop forever now.\n"; /* Do that kool kernel stuff */ /* Halt */ ! hal::kio::console << "Halted."; return; } |