Add a debug output utility.
This commit is contained in:
parent
c2af2eee97
commit
872e6f3392
4 changed files with 24 additions and 4 deletions
|
|
@ -1,11 +1,9 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#include "common/port.h"
|
||||
|
||||
#define COM1 0x3f8
|
||||
#include "debug/debug.h"
|
||||
|
||||
extern "C" void zion() {
|
||||
outb(COM1, 'a');
|
||||
dbgln("Hello World!");
|
||||
|
||||
while (1)
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue