aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/bootloaders.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-26 00:17:40 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-26 00:17:40 -0700
commit039f904f20fa6d3cbdef637c9704188e0c6b08a5 (patch)
tree27918aec98f76a2fa4bc9fd4cd78ff0f2c6b3249 /com32/gplinclude/disk/bootloaders.h
parent4f72a18cc15ec7e4e3fbeebb7fc4bc7df01e2303 (diff)
downloadsyslinux-039f904f20fa6d3cbdef637c9704188e0c6b08a5.tar.gz
syslinux-039f904f20fa6d3cbdef637c9704188e0c6b08a5.tar.xz
syslinux-039f904f20fa6d3cbdef637c9704188e0c6b08a5.zip
gpllib: use four bytes to discover the MBR
Syslinux and Master Boot LoaDeR share the first 2 bytes. Use one more to distinguish between the two of them. To keep standards types, uint16_t is being replaced by uint32_t. The extra byte is not used yet. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude/disk/bootloaders.h')
-rw-r--r--com32/gplinclude/disk/bootloaders.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/gplinclude/disk/bootloaders.h b/com32/gplinclude/disk/bootloaders.h
index 637d475d..402b5b1b 100644
--- a/com32/gplinclude/disk/bootloaders.h
+++ b/com32/gplinclude/disk/bootloaders.h
@@ -13,6 +13,6 @@
#include <stdint.h>
#include <disk/geom.h>
-void get_bootloader_string(const uint16_t, void *, const int);
-uint16_t get_bootloader_id(const struct driveinfo *);
+void get_bootloader_string(const uint32_t, void *, const int);
+uint32_t get_bootloader_id(const struct driveinfo *);
#endif /* _BOOTLOADERS_H_ */