diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-05-01 08:55:45 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-06-07 14:19:20 +0100 |
commit | c0d18deeee22f3466fd863d64b432660965ec66e (patch) | |
tree | 8fce613ef56efd6d112ede4e394051a99490a66f /core/include/fs.h | |
parent | 4fc3fd1e14f4c1b9208ef262e5b6aef853e9fce4 (diff) | |
download | syslinux-c0d18deeee22f3466fd863d64b432660965ec66e.tar.gz |
elflink: Fix boot sector booting
This adds missing support for booting from a boot sector file such as
.bs, .bss or .0, by re-implementing the old asm bootsec code from
core/bootsect.inc in C.
This has resulted in some external changes. We've had to make StackBuf
a global symbol because we access it directly from execute.c. Also, we
need to move dsinfo.c into MINLIBOBJS because ldlinux now needs to
reference __syslinux_derivative_info.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r-- | core/include/fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/include/fs.h b/core/include/fs.h index 40ca09a4..481e085c 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -234,4 +234,7 @@ uint32_t generic_getfssec(struct file *file, char *buf, /* nonextextent.c */ int no_next_extent(struct inode *, uint32_t); +/* fat.c */ +int vfat_copy_superblock(void *buf); + #endif /* FS_H */ |