git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: replace all stdint::uint32_t into short and more manageable u32_t
[lunaix-os.git]
/
lunaix-os
/
kernel
/
tty
/
tty.c
diff --git
a/lunaix-os/kernel/tty/tty.c
b/lunaix-os/kernel/tty/tty.c
index b8631b6482c935cf313702746ac045033caa87a3..399b28df6f3f23d474337709aa8ba0966ad31ac4 100644
(file)
--- a/
lunaix-os/kernel/tty/tty.c
+++ b/
lunaix-os/kernel/tty/tty.c
@@
-113,7
+113,7
@@
tty_set_cursor(uint8_t x, uint8_t y)
if (x >= TTY_WIDTH || y >= TTY_HEIGHT) {
x = y = 0;
}
- u
int
32_t pos = y * TTY_WIDTH + x;
+ u32_t pos = y * TTY_WIDTH + x;
io_outb(0x3D4, 14);
io_outb(0x3D5, pos / 256);
io_outb(0x3D4, 15);