Using the code in this wiki article as a base (http://wiki.osdev.org/64-bit_Higher_Hal ... ith_GRUB_2), I've now landed in C land to start putting together my Kernel.
I'm just struggling at the moment with data that I define. With a simple console_write function (I think it came from JamesM's kernel tutes), I've started attempting to write strings to the console. In my main() function, I have these two following string declarations:
Code: Select all
const char *x = "foo";
char s[] = "bar";
Do I have extra memory paging work to conduct to get this working?