search for: libfat

Displaying 20 results from an estimated 28 matches for "libfat".

2016 Feb 25
2
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
...e[3]: Entering directory '/usr/src/syslinux/bios/win64' x86_64-w64-mingw32-gcc -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I/usr/src/syslinux/win64 -I/usr/src/syslinux/win64/.. -I/usr/src/syslinux/win64/../win -I/usr/src/syslinux/bios -I/usr/src/syslinux/win64/../libfat -I/usr/src/syslinux/win64/../libinstaller -I/usr/src/syslinux/win64/../libinstaller/getopt -c -o syslinux.obj /usr/src/syslinux/win64/../win/syslinux.c x86_64-w64-mingw32-gcc -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I/usr/src/syslinux/win64 -I/usr/src/syslinux/win64...
2010 Aug 20
4
[PATCH] git tree: libfat, chain, mtools/syslinux, menu.txt
git://gnx.ath.cx/syslinux.git On branch for_hpa, I've got several groups of changes (listed bottom up) -chain.c32: the beginning of a DRMK loader; I still need to test this further and document/code what ones can possibly work -mtools/syslinux.c: Check to be sure fs is not NULL in case libfat_open() failed, like it can on a bad filesystem. Try to present a useful error rather than a seg fault. -libfat: A check for NULL pointers; A change to allow for a short FAT/too many sectors (depending on perspective); Try trimming the in-memory values to deal with the corruption, if possible. -NEW...
2007 Apr 18
2
[Patch]: Drive/Partition and extensible filesystem support for syslinux
Here is the patch for making syslinux enable opening partitions with fat filesystems (well, the architecture is in place to make it open other filesystems too). Usage is like this: #include <syslinux/io.h> #include <syslinux/partitions.h> #include <fs/fat/libfat.h> syslinux_devdesc dfd; struct libfat_filesystem* fs; diskinfo disk_info; char mbr[512]; static part_entry *partition; int fd; syslinux_get_disk_params(drive, &disk_info); // specify your drive number syslinux_read_disk(&disk_info, mbr, 0, 1); // Read mbr partition = PARTITION_ENTRY(m...
2016 Feb 24
6
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
The variable 'ok' is never used and generates a warning. Remove it. Also ntfssect.c is designed to be compiled in non Unicode mode when using MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use of 'A' API calls) so that it doesn't break when compiled in Unicode mode, which is what Rufus uses with MSVC. -------------- next part --------------
2006 Jun 02
1
Compilation on PPC/bigendian machine
...s- compiler and cross-assembler. Nevertheless, I tried it because I only needed the disk installer, the loader binaries for i386 were already there. I've found out that the installer was intended to be portable, but in fact wasn't due to some typos and missing typecasts in the file libfat/ulint.h. I was able to correct them and tested the installer successfully. For the case that someone comes across the same problem (or maybe for the next version), I'll attach the diff-file of my changes here. Regards, Christian ---------- cut here ------------------------------------- -...
2014 Dec 17
0
[PATCH] build: sort sources to build in a more deterministic way
...diff --git a/dos/Makefile b/dos/Makefile index b9c337d..4c930d1 100644 --- a/dos/Makefile +++ b/dos/Makefile @@ -34,7 +34,7 @@ SRCS = syslinux.c \ ../libinstaller/getopt/getopt_long.c \ ../libinstaller/bootsect_bin.c \ ../libinstaller/mbr_bin.c \ - $(wildcard $(SRC)/../libfat/*.c) + $(sort $(wildcard $(SRC)/../libfat/*.c)) OBJS = header.o crt0.o ldlinux.o \ $(patsubst %.c,%.o,$(notdir $(SRCS))) LIBOBJS = int2526.o conio.o memcpy.o memset.o memmove.o skipatou.o atou.o \ diff --git a/efi/Makefile b/efi/Makefile index d5443bd..047d7d2 100644 --- a/efi/Ma...
2008 Jul 17
1
syslinux-3.71-pre14-5-gfa6a60e: find-mingw.sh: Command not found
...linux/syslinux-3.71-pre14-5-gfa6a60e/dos' make[1]: find-mingw.sh: Command not found make[1]: Entering directory `/syslinux/syslinux-3.71-pre14-5-gfa6a60e/win32' gcc -Wp,-MT,syslinux.o,-MMD,.syslinux.o.d -W -Wall -Wno-sign-compare -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I. -I.. -I../libfat -I../libinstaller -c -o syslinux.o syslinux.c syslinux.c:20:21: warning: windows.h: No such file or directory syslinux.c:37:22: warning: winioctl.h: No such file or directory ... - Sebastian
2007 Apr 21
0
Patch: Optimized partition/drive/fs support for syslinux
...) interface). I'm loading about 50MB of source kernel/modules into memory in my testing. A USB 2.0 compatible bios is doing the join in 6 secs, and a USB 1.1 bios is giong at around 30 secs. Earlier my times were about 45sec and 2min 30sec respectively. Part of the optimization has to do with libfat's cache and the other with synchronizing read block size with that of gzip's buffer reads. The vanilla file_read method in syslinux does a "cached" read which goes thru 2 memcpy's on every read, which is useless imo for a bootloader, since most of the reads are to load big fil...
2010 Jul 28
1
syslinux-4.02-6-ge841d69 build failure
...d-tables -fno-strict-aliasing -falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0 -mpreferred-stack-boundary=2 -mincoming-stack-boundary=2 -g -W -Wall -Wstrict-prototypes -Wno-clobbered -Werror -Wno-sign-compare -g -include code16.h -nostdinc -iwithprefix include -I. -I.. -I../libfat -I ../libinstaller -I ../libinstaller/getopt -D__MSDOS__ -c -o syslxopt.o ../libinstaller/syslxopt.c cc1: warnings being treated as errors ../libinstaller/syslxopt.c: In function 'usage': ../libinstaller/syslxopt.c:117: error: enumeration value 'MODE_EXTLINUX' not handled in switch...
2012 Feb 14
1
[PATCH 1/3] lib: fix compilation warnings from MS's WDK
libfat and libinstaller compile fine using the Windows Driver Kit's compiler, except for a few warnings that are addressed with this patch. Regards, /Pete -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 0001-lib-fix-compilation-warnings-from-MS...
2005 Jan 03
2
(no subject)
...ly ridicolous questions...). I just tried to build both syslinux-3.00 and 3.01, with the same bad result. Out of the box compilation with: make depend make installer fails with: ... gcc -Wp,-MT,extlinux.o,-MMD,.extlinux.o.d -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 -g -Os -I. -I.. -I../libfat -c -o extlinux.o extlinux.c extlinux.c: In function `get_size': extlinux.c:285: error: `BLKGETSIZE64' undeclared (first use in this function) extlinux.c:285: error: (Each undeclared identifier is reported only once extlinux.c:285: error: for each function it appears in.) make[2]: *** [extli...
2005 Jan 04
2
Re: Problem compiling syslinux-3.01
...d attempt to compile syslinux-3.01. Still the same error. make[1]: Leaving directory `/usr/src/syslinux-3.01/unix' make[1]: Entering directory `/usr/src/syslinux-3.01/extlinux' gcc -Wp,-MT,extlinux.o,-MMD,.extlinux.o.d -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 -g -Os -I. -I.. -I../libfat -c -o extlinux.o extlinux.c extlinux.c: In function `get_size': extlinux.c:285: error: `u64' undeclared (first use in this function) extlinux.c:285: error: (Each undeclared identifier is reported only once extlinux.c:285: error: for each function it appears in.) make[1]: *** [extlinux.o] Er...
2016 Mar 01
2
[PATCH 1/5] fat: fix minfatsize for large FAT32
...And that is, indeed, what this formatter should do if it wishes to continue using this specific algorithm for some reason. This is, in fact, required anyway for some specific reasons. That being said, if Windows accepts such a filesystem then Syslinux really should, too; perhaps with a warning. libfat is sometimes overly paranoid, on purpose, in order to avoid problems. It is also worth noting that someone ported mkdosfs to Windows; perhaps the best thing would be if this could be folded into the stock dosfstools upstream (if it hasn't been already): http://www1.mager.org/mkdosfs/ ---...
2016 Mar 05
2
build problems with 6.04-pre1
...============== --- syslinux-6.04-pre1-BROKEN/mtools/Makefile.ORIG 2016-03-04 17:07:14.696050599 +0100 +++ syslinux-6.04-pre1-BROKEN/mtools/Makefile 2016-03-05 10:34:14.235228580 +0100 @@ -1,7 +1,7 @@ include $(MAKEDIR)/syslinux.mk OPTFLAGS = -g -Os -INCLUDES = -I$(SRC) -I$(objdir) -I$(SRC)/../libfat -I$(SRC)/../libinstaller +INCLUDES = -I$(SRC) -I$(objdir) -I$(SRC)/../bios -I$(SRC)/../libfat -I$(SRC)/../libinstaller CFLAGS = $(GCCWARN) -D_FILE_OFFSET_BITS=64 $(OPTFLAGS) $(INCLUDES) LDFLAGS = --- syslinux-6.04-pre1-BROKEN/linux/Makefile.ORIG 2016-03-04 17:17:12.586189283 +0100 +++ syslin...
2005 Jan 04
0
Problem compiling syslinux-3.0.1
...>From the last few lines of the compile log: make[1]: Leaving directory `/usr/src/syslinux-3.02-pre2/unix' make[1]: Entering directory `/usr/src/syslinux-3.02-pre2/extlinux' gcc -Wp,-MT,extlinux.o,-MMD,.extlinux.o.d -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 -g -Os -I. -I.. -I../libfat -c -o extlinux.o extlinux.c extlinux.c: In function `get_size': extlinux.c:291: error: `u64' undeclared (first use in this function) extlinux.c:291: error: (Each undeclared identifier is reported only once extlinux.c:291: error: for each function it appears in.) make[1]: *** [extlinux.o] Er...
2007 Apr 05
0
Patch: Add io.c functions, and vfat library
...instances of read handlers, for example if I'm reading and comparing stuff from two different partitions, etc. There was some discussion on whether the FAT library, should be in com32/lib, but its quite helpful for me since I can hook my own read_handler for any partition on any disk, and use libfat to read files off it. Here is an example: typedef struct filedesc { diskinfo* disk_info; part_entry* partition; } filedesc; static filedesc rFd; static int fat_disk_read_handle(intptr_t fdp, void* buf, size_t nbyte, libfat_sector_t sector) { filedesc* fd = (filedesc*) fdp; int num_s...
2011 Aug 13
1
NTFS File Sectors
The following comment in win/syslinux.c seems fairly innocent: /* Map the file (is there a better way to do this?) */ So I?ve got an ?ntfssect? git repository going: http://git.zytor.com/?p=users/sha0/ntfssect.git;a=summary Hopefully Paulo can plug its functions into his NTFS working repository. It appears that we?ll have to take one path (in the Windows installer) for FAT and one path
2015 Nov 10
2
[PATCH] mtools: Remove local xpread/xpwrite, use ones from syslxcom
...write"); - } else if (rv == -1) { - if (errno == EINTR) { - continue; - } else { - die(strerror(errno)); - } - } else { - bufp += rv; - offset += rv; - done += rv; - count -= rv; - } - } - - return done; -} - -/* * Version of the read function suitable for libfat */ int libfat_xpread(intptr_t pp, void *buf, size_t secsize, -- 2.6.2
2018 Aug 02
1
[PATCH 1/2] Add fabs() implementation
When we add -ffreestanding the compiler won't get to inline this any more. Signed-off-by: David Woodhouse <dwmw2 at infradead.org> --- com32/lib/math/fabs.S | 15 +++++++++++++++ mk/lib.mk | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 com32/lib/math/fabs.S diff --git a/com32/lib/math/fabs.S b/com32/lib/math/fabs.S new file mode 100644 index
2007 Nov 15
3
3.53-pre5 released - release candidate
...d mode Mark TSS unbusy before protected mode entry Add .gitignore file so "git status" makes sense Fix [BI]ESUBDIRS for make installer/tidy/clean/spotless DHCP bootfile option is 67, not 64. mkdiskimage: support more than 1024 cylinders Try to fix libfat/ulint.h for non-x86 platforms mkdiskimage: correct the partition type for > 1024 cylinders Code cleanup: get rid of hard-coded descriptor numbers Remove unused EndOfGetcBuf comboot: fix shuffle_and_boot_rm (used by linux.c32) Optional debugging code for shuffle...