projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae6d00
)
gpllib: add XOSL mbr detection
author
Pierre-Alexandre Meyer
<pierre@ning.com>
Mon, 16 Nov 2009 07:24:37 +0000
(23:24 -0800)
committer
Pierre-Alexandre Meyer
<pierre@ning.com>
Mon, 16 Nov 2009 07:24:37 +0000
(23:24 -0800)
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>
com32/gpllib/disk/mbrs.c
patch
|
blob
|
history
diff --git
a/com32/gpllib/disk/mbrs.c
b/com32/gpllib/disk/mbrs.c
index
0abf087
..
dfef77c
100644
(file)
--- 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;