multiboot.h license
Posted: Tue Jun 10, 2014 9:21 pm
The Detecting Memory (x86) article, when it talks about using GRUB to do memory detection for you, has this in it:
However, it fails to note that the header is licensed under the GPL v2 or later, which forbids using it in non-GPL programs. I myself didn't look at it too closely until yesterday or so, when I realized that since my OS is under the CC0, I was in copyright infringement! When I got access to my desktop today, I purged the header out of my GitHub repository (and its history too).
Now, I understand I should have looked more closely at the header, but shouldn't there be a heads-up in the wiki entry that it is under the GPL v2 (or later), just to be nice and safe?
To utilize the information that GRUB passes to you, first include the file multiboot.h in your kernel's main file. Then, make sure that when you load your _main function from your assembly loader, you push EBX onto the stack. The Bare bones tutorials have already done this for you.
However, it fails to note that the header is licensed under the GPL v2 or later, which forbids using it in non-GPL programs. I myself didn't look at it too closely until yesterday or so, when I realized that since my OS is under the CC0, I was in copyright infringement! When I got access to my desktop today, I purged the header out of my GitHub repository (and its history too).
Now, I understand I should have looked more closely at the header, but shouldn't there be a heads-up in the wiki entry that it is under the GPL v2 (or later), just to be nice and safe?