Import backup from 2005-08-25
This commit is contained in:
1 parent
345ef6c9f3
commit
83a5b032f8
15 files changed
+244
-92
No files matched your search
@@ -8,6 +8,7 @@
|
||||
#include "lang/conv.h"
|
||||
#include "devices.h"
|
||||
#include "char/misc_char.h"
|
||||
#include "functions.h"
|
||||
|
||||
char buffer[64]; // for hex/oct/dec/ascii conversion
|
||||
|
||||
@@ -15,7 +16,10 @@ char buffer[64]; // for hex/oct/dec/ascii conversion
|
||||
void putc(int c)
|
||||
{
|
||||
#ifdef PARALLEL_DEBUG
|
||||
char_write(MAJOR_MISC_CHAR, MISC_CHAR_LP0, c);
|
||||
outportb(0x37a, 0xc);
|
||||
outportb(0x378, c);
|
||||
outportb(0x37a, 0x1);
|
||||
// char_write(MAJOR_MISC_CHAR, MISC_CHAR_LP0, c);
|
||||
#endif
|
||||
char_write(MAJOR_VCONSOLE, KERNEL_MSG_CONSOLE, c); // write to vconsole with minor 1, first allocated
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user