Compare commits
No commits in common. "490efaf4ca3a196338ce8ef89d59343b87e288a1" and "ea68eeb09ca1a041e369e1b31cca01ad6e03f5f2" have entirely different histories.
490efaf4ca
...
ea68eeb09c
|
|
@ -5,10 +5,8 @@
|
||||||
// protecting compilation.
|
// protecting compilation.
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
#error "You should compile all with a cross-compiler. See project wiki."
|
#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__)
|
#elif !defined(__i386__)
|
||||||
#error "This is an 32bit\64bit kernel. Please use i386 or amd64 target."
|
#error "This is an 32bit kernel. Please use i386 target."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
volatile uint16_t* vga_buffer = (uint16_t*)0xB8000; // defining VGA text mode.
|
volatile uint16_t* vga_buffer = (uint16_t*)0xB8000; // defining VGA text mode.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue