[LinksOS CVS Commit]kernel/hal/x86 kstdio.cpp,1.5,1.6
Status: Inactive
Brought to you by:
terencevs
|
From: <ke...@to...> - 2003-01-13 04:47:18
|
Update of /cvsroot/linksos/kernel/hal/x86 In directory router-internal.tossell.net:/tmp/cvs-serv10427/hal/x86 Modified Files: kstdio.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: kstdio.cpp =================================================================== RCS file: /cvsroot/linksos/kernel/hal/x86/kstdio.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** kstdio.cpp 13 Jan 2003 02:35:13 -0000 1.5 --- kstdio.cpp 13 Jan 2003 04:47:10 -0000 1.6 *************** *** 12,17 **** #include "types.h" #include "hal.h" ! void hal::kio::printf(char* text, ...) /* kernel-mode printf: to be used ONLY within the kernel and ONLY in text-mode. any other mode can be disastrous, as this code does not --- 12,18 ---- #include "types.h" #include "hal.h" + #include "kio.h" ! void consolestream::operator<< (char* text) /* kernel-mode printf: to be used ONLY within the kernel and ONLY in text-mode. any other mode can be disastrous, as this code does not |