gpllib: add bootloader detection
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sun, 23 Aug 2009 17:20:06 +0000 (10:20 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Sun, 23 Aug 2009 17:20:06 +0000 (10:20 -0700)
commit9f42921795542e310b54c5679083c8251d469617
tree9a2a4ba7e4a0fe13f86ee461550931ae0975fc17
parent80726ee72df67c2c27ee8a58561e08a9cac30e9c
gpllib: add bootloader detection

The first two bytes of the hard drive can help identifying the boot code
installed in the MBR.

Values from the boot_info_script:

    http://sourceforge.net/projects/bootinfoscript/

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/gplinclude/disk/bootloaders.h [new file with mode: 0644]
com32/gpllib/disk/bootloaders.c [new file with mode: 0644]