X-Git-Url: http://git.dujemihanovic.xyz/projects?a=blobdiff_plain;f=kernel%2Farch%2Fx86%2Ftty%2Ftty.c;h=d3ef87b1d862290002347932aaa03c8b02f2e4b0;hb=9ef60208fec0c672248023d467f57eecd6e7214f;hp=c1bb0a5242e53586d53d39d4b71a11b0c7f85e03;hpb=6c6312e540a570d376aae5551626128fcc1cd1c6;p=nameless-os.git diff --git a/kernel/arch/x86/tty/tty.c b/kernel/arch/x86/tty/tty.c index c1bb0a5..d3ef87b 100644 --- a/kernel/arch/x86/tty/tty.c +++ b/kernel/arch/x86/tty/tty.c @@ -1,7 +1,7 @@ #define VGA_WIDTH 80 #define VGA_HEIGHT 25 -char *video_memory = (char *) 0xB8000; /* VGA VRAM starts at 0xB8000 */ +volatile char *video_memory = (char *) 0xB8000; /* VGA VRAM starts at 0xB8000 */ static int cursor_x = 0; static int cursor_y = 0;