aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller/syslinux.h
diff options
context:
space:
mode:
Diffstat (limited to 'libinstaller/syslinux.h')
-rw-r--r--libinstaller/syslinux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libinstaller/syslinux.h b/libinstaller/syslinux.h
index 8d0212c8..311b9f2e 100644
--- a/libinstaller/syslinux.h
+++ b/libinstaller/syslinux.h
@@ -26,6 +26,11 @@ extern unsigned char syslinux_ldlinux[];
extern const unsigned int syslinux_ldlinux_len;
extern const int syslinux_ldlinux_mtime;
+#define boot_sector syslinux_bootsect
+#define boot_sector_len syslinux_bootsect_len
+#define boot_image syslinux_ldlinux
+#define boot_image_len syslinux_ldlinux_len
+
extern unsigned char syslinux_mbr[];
extern const unsigned int syslinux_mbr_len;
extern const int syslinux_mbr_mtime;
@@ -42,6 +47,6 @@ const char *syslinux_check_bootsect(const void *bs);
/* This patches the boot sector and ldlinux.sys based on a sector map */
int syslinux_patch(const uint32_t * sectors, int nsectors,
- int stupid, int raid_mode);
+ int stupid, int raid_mode, const char *subdir);
#endif