[LinksOS CVS Commit]kernel/main start.cpp,1.3,1.4
Status: Inactive
Brought to you by:
terencevs
|
From: <ke...@to...> - 2003-01-13 02:35:19
|
Update of /cvsroot/linksos/kernel/main In directory router-internal.tossell.net:/tmp/cvs-serv7935/main Modified Files: start.cpp Log Message: Title: Namespaced. Changes: Broken inportb, outportb, and kstdio into namespace hal. Effects: hal::raw::inportb hal::raw::outportb hal::kio::printf a=kennyt b=19 Index: start.cpp =================================================================== RCS file: /cvsroot/linksos/kernel/main/start.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** start.cpp 12 Jan 2003 21:09:49 -0000 1.3 --- start.cpp 13 Jan 2003 02:35:13 -0000 1.4 *************** *** 12,19 **** \****************************************************************************/ - #include "kstdio.h" #include "multiboot.h" #include "gdt.h" ! desc_table(GDT, 3) --- 12,18 ---- \****************************************************************************/ #include "multiboot.h" #include "gdt.h" ! #include "hal.h" desc_table(GDT, 3) *************** *** 33,37 **** { if(magic != MULTIBOOT_BOOTLOADER_MAGIC){ ! kprintf("Invalid bootloader magic number\n"); return; } --- 32,36 ---- { if(magic != MULTIBOOT_BOOTLOADER_MAGIC){ ! hal::kio::printf("Invalid bootloader magic number\n"); return; } *************** *** 57,65 **** ! kprintf("LinksOS v0.0.1a kernel booted.\nI'll loop forever now.\n"); /* Do that kool kernel stuff */ /* Halt */ ! kprintf("Halted."); 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; } |