Update kernel/kernel.c #1
|
|
@ -5,8 +5,10 @@
|
|||
// protecting compilation.
|
||||
#if defined(__linux__)
|
||||
#error "You should compile all with a cross-compiler. See project wiki."
|
||||
#elif !defined(__amd64__)
|
||||
#error "This is an 32bit\64bit kernel. Please use i386 or amd64 target."
|
||||
#elif !defined(__i386__)
|
||||
#error "This is an 32bit kernel. Please use i386 target."
|
||||
#error "This is an 32bit\64bit kernel. Please use i386 or amd64 target."
|
||||
#endif
|
||||
|
||||
volatile uint16_t* vga_buffer = (uint16_t*)0xB8000; // defining VGA text mode.
|
||||
|
|
|
|||
Loading…
Reference in a new issue