Long Mode

In this article, we’ll expand on our previous work of getting a trivial chunk of C to get loaded and run by GRUB2. We’re going to complete the basic boot process and get in to a 64-bit C environment. Concepts Long Mode Long Mode is 64-bit mode. The AMD64 spec changes a lot of the […]

The NULL kernel

In this article, we’ll take our previous work getting GRUB2 on a QEMU disk and actually use it to boot code that we’ve written. Don’t get too excited. Mostly we’re going to focus on getting a working Makefile and coaxing GCC into creating an ELF binary without being Linux specific. The Code The kernel we’re […]