aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@ning.com>2009-11-15 23:24:37 -0800
committerPierre-Alexandre Meyer <pierre@ning.com>2009-11-15 23:24:37 -0800
commita7413a92e49141c650c0d2819482ec2dbd59c212 (patch)
treeb8933e737f949fab2610229fb6a69cdd3730e975 /com32/gpllib
parent4ae6d00220f43b7c01b9a316ff3a80a856f94331 (diff)
downloadsyslinux-a7413a92e49141c650c0d2819482ec2dbd59c212.tar.gz
syslinux-a7413a92e49141c650c0d2819482ec2dbd59c212.tar.xz
syslinux-a7413a92e49141c650c0d2819482ec2dbd59c212.zip
gpllib: add XOSL mbr detection
Feature request originally reported at http://sourceforge.net/projects/bootinfoscript/forums/forum/905692/topic/3459317 and forwarded to HDT by gert. This fixes #25. Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/disk/mbrs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c
index 0abf087a..dfef77cf 100644
--- a/com32/gpllib/disk/mbrs.c
+++ b/com32/gpllib/disk/mbrs.c
@@ -36,6 +36,7 @@ void get_mbr_string(const uint32_t label, char* buffer, const int buffer_size)
case 0x33c0: strncpy(buffer, "Windows", buffer_size - 1); break;
case 0x33ff: strncpy(buffer, "HP/Gateway", buffer_size - 1); break;
case 0xb800: strncpy(buffer, "Plop", buffer_size - 1); break;
+ case 0xea05: strncpy(buffer, "XOSL", buffer_size - 1); break;
case 0xea1e: strncpy(buffer, "Truecrypt Boot Loader", buffer_size - 1); break;
case 0xeb04: strncpy(buffer, "Solaris", buffer_size - 1); break;
case 0xeb48: strncpy(buffer, "Grub", buffer_size - 1); break;