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:
0921ae9
)
mdiskchk: fix and update the boot loader name table
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 9 Feb 2009 10:35:48 +0000
(11:35 +0100)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 11 Mar 2009 04:30:37 +0000
(21:30 -0700)
Fix and update the list of boot loaders in mdiskchk.
sample/mdiskchk.c
patch
|
blob
|
history
diff --git
a/sample/mdiskchk.c
b/sample/mdiskchk.c
index
8d679f7
..
e7ebcde
100644
(file)
--- a/
sample/mdiskchk.c
+++ b/
sample/mdiskchk.c
@@
-102,8
+102,8
@@
const char *bootloadername(uint8_t id)
const char *name;
} *lp, list[] =
{
- { 0x
1
0, 0xf0, "LILO" },
- { 0x
2
0, 0xf0, "LOADLIN" },
+ { 0x
0
0, 0xf0, "LILO" },
+ { 0x
1
0, 0xf0, "LOADLIN" },
{ 0x31, 0xff, "SYSLINUX" },
{ 0x32, 0xff, "PXELINUX" },
{ 0x33, 0xff, "ISOLINUX" },
@@
-113,6
+113,8
@@
const char *bootloadername(uint8_t id)
{ 0x50, 0xf0, "ELILO" },
{ 0x70, 0xf0, "GrUB" },
{ 0x80, 0xf0, "U-Boot" },
+ { 0xA0, 0xf0, "Gujin" },
+ { 0xB0, 0xf0, "Qemu" },
{ 0x00, 0x00, "unknown" }
};