summaryrefslogtreecommitdiff
path: root/syslinux.h
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-15 10:14:39 +0000
committerhpa <hpa>2004-12-15 10:14:39 +0000
commit7be70022dd3ae138998fc7185351b9b49ad9a9b2 (patch)
tree2599a8ede407eec131228fb607a52e22145ba1f9 /syslinux.h
parent4912df96419eff85394da1160bcb19a4dd2c1c59 (diff)
downloadsyslinux-7be70022dd3ae138998fc7185351b9b49ad9a9b2.tar.gz
Prepping for new 2.20 version: rewrite main syslinux program to support
FAT32 and EDD, and a new cleaner installer infrastructure.
Diffstat (limited to 'syslinux.h')
-rw-r--r--syslinux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/syslinux.h b/syslinux.h
index f20172cd..da6eeccf 100644
--- a/syslinux.h
+++ b/syslinux.h
@@ -23,7 +23,7 @@ extern unsigned char syslinux_ldlinux[];
extern unsigned int syslinux_ldlinux_len;
extern int syslinux_ldlinux_mtime;
-/* This switches the boot sector and ldlinux to "stupid mode" */
+/* This switches the boot sector to "stupid mode" */
void syslinux_make_stupid(void);
/* This takes a boot sector and merges in the syslinux fields */
@@ -32,4 +32,7 @@ void syslinux_make_bootsect(void *);
/* Check to see that what we got was indeed an MS-DOS boot sector/superblock */
int syslinux_check_bootsect(const void *bs, const char *device);
+/* This patches the boot sector and ldlinux.sys based on a sector map */
+int syslinux_patch(const uint32_t *sectors, int nsectors);
+
#endif