diff options
author | Benji Dial <Benji3.141@gmail.com> | 2019-12-26 13:06:21 -0500 |
---|---|---|
committer | Benji Dial <Benji3.141@gmail.com> | 2019-12-26 13:06:21 -0500 |
commit | 336cfa313d0ebd435690610e8006b90dc8bd0e56 (patch) | |
tree | a2c3038462b6edcd13339fd741b34525f50c880e /src/kernel/vga.h | |
parent | 2c542b87ff3dc2eacc036dc296a81f8fc215e6d9 (diff) | |
download | portland-os-336cfa313d0ebd435690610e8006b90dc8bd0e56.tar.gz |
got multiboot info parsed!
Diffstat (limited to 'src/kernel/vga.h')
-rw-r--r-- | src/kernel/vga.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/vga.h b/src/kernel/vga.h index 2214f27..5658437 100644 --- a/src/kernel/vga.h +++ b/src/kernel/vga.h @@ -22,7 +22,13 @@ OF THIS SOFTWARE. #ifndef VGA_H #define VGA_H +#define put_debug(name, value) \ + put_sz(name ": 0x"); \ + put_32_hex(value); \ + put_char('\n'); + #define VGA_BUFFER ((uint8_t *)0x000b8000) +void clear(void); void put_char(uint8_t ch); void put_sz(uint8_t *s); void put_16(uint16_t n); |