Displaying 14 results from an estimated 14 matches for "getfssec".
2006 Jun 19
0
syslinux 3.11/3.20-pre initrd loading bug
...more than one initrd syslinux doesn't clear the memory between
them. Or rather, the code for it does not work. The patch below fixes it.
Steffen
--- loadhigh.inc
+++ loadhigh.inc
@@ -65,7 +65,10 @@
push edi ; <C> Target buffer
mov cx,ax
xor bx,bx ; ES:0
+ push dx
call getfssec ; Load the data into xfer_buf_seg
+ ; getfssec destroys dx!
+ pop dx
pop edi ; <C> Target buffer
pop ecx ; <B> Byte count this round
push ecx ; <B> Byte count this round
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...-
/**
* Map the logical block to physic block where the file data stores.
* In EXT4, there are two ways to handle the map process, extents and indirect.
@@ -203,7 +203,6 @@ block_t ext2_bmap(struct inode *inode, block_t block, size_t *nblocks)
return ret;
}
-
/*
* Next extent for getfssec
*/
@@ -215,6 +214,8 @@ int ext2_next_extent(struct inode *inode, uint32_t lstart)
block_t block;
size_t nblocks = 0;
+ assert(ext2_has_inline_data(inode) == 0);
+
block = ext2_bmap(inode, lstart >> blktosec, &nblocks);
if (!block)
diff --git a/core/fs/ext2/ext...
2004 Oct 02
2
patch: SDI Xpe images support for pxelinux
Hi,
I added support in pxelinux for SDI (Wndows XP embedded images) files
a few time ago for specific needs. It works well (at least for me atm)
and I think I can now submit it to this list.
I get a very good improvement in speed over the traditional way of
loading SDI images.
* Links :
The 'diff -urN' patch for syslinux-2.11 (documentation included) :
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...do when idle
;
@@ -843,6 +845,8 @@ load_config:
mov si,config_name ; Save config file name
mov di,ConfigName
call strcpy
+ mov word[CurrentDirName], ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
+ call build_curdir_str
mov di,ConfigName
call open
@@ -1515,6 +1519,9 @@ getfssec:
pop ebp
ret
+build_curdir_str:
+ ret
+
; -----------------------------------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 3b97005..fbd1...
2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...block, 2, nblocks);
+
+ /* triple indirect blocks */
+ block -= double_blks;
+ if (block < triple_blks)
+ return bmap_indirect(fs, PVT(inode)->triple_indirect_blk_ptr,
+ block, 3, nblocks);
+
+ /* This can't happen... */
+ return 0;
+}
+
+/*
+ * Next extent for getfssec
+ * "Remaining sectors" means (lstart & blkmask).
+ */
+int ufs_next_extent(struct inode *inode, uint32_t lstart)
+{
+ struct fs_info *fs = inode->fs;
+ int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs);
+ int frag_shift = BLOCK_SHIFT(fs) - UFS_SB(fs)->c_blk_frag_shift...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...block, 2, nblocks);
+
+ /* triple indirect blocks */
+ block -= double_blks;
+ if (block < triple_blks)
+ return bmap_indirect(fs, PVT(inode)->triple_indirect_blk_ptr,
+ block, 3, nblocks);
+
+ /* This can't happen... */
+ return 0;
+}
+
+/*
+ * Next extent for getfssec
+ * "Remaining sectors" means (lstart & blkmask).
+ */
+int ufs_next_extent(struct inode *inode, uint32_t lstart)
+{
+ struct fs_info *fs = inode->fs;
+ int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs);
+ int frag_shift = BLOCK_SHIFT(fs) - UFS_SB(fs)->c_blk_frag_shift...
2013 Jun 29
0
Syslinux 6.00 released
...yslinux/efi64/efi/../core//errno.o
/tmp/syslinux/efi64/efi/../core//mem/init.o
/tmp/syslinux/efi64/efi/../core//mem/free.o
/tmp/syslinux/efi64/efi/../core//mem/malloc.o
/tmp/syslinux/efi64/efi/../core//fs/chdir.o
/tmp/syslinux/efi64/efi/../core//fs/nonextextent.o
/tmp/syslinux/efi64/efi/../core//fs/getfssec.o
/tmp/syslinux/efi64/efi/../core//fs/readdir.o
/tmp/syslinux/efi64/efi/../core//fs/getcwd.o
/tmp/syslinux/efi64/efi/../core//fs/cache.o
/tmp/syslinux/efi64/efi/../core//fs/diskio.o
/tmp/syslinux/efi64/efi/../core//fs/fs.o
/tmp/syslinux/efi64/efi/../core//elflink/load_env32.o
/tmp/syslinux/efi64/ef...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Wrote the documentation below. I think it would be good to push the doc to
the wiki as soon as the UFS support gets merged.
Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install)
-----
There is a confusion about the name of this file system, then I decided to
contact the author who replied:
"The name has always been
2013 Jun 29
6
Syslinux 6.00 released
On Sat, 29 Jun, at 01:57:58AM, Igor Sverkos wrote:
> Hi,
>
> Matt Fleming wrote:
> > On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote:
> >> Thanks - now it crashes later ...
> >
> > What crash are you seeing?
> >
> >> I don't have the ia64 files which are needed for a complete binary. But
> >> maybe that's only my special
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...hen idle
;
@@ -843,6 +846,8 @@ load_config:
mov si,config_name ; Save config file name
mov di,ConfigName
call strcpy
+ mov dword [CurrentDirName],CUR_DIR_DWORD ; Write './',0,0 to the
CurrentDirName
+ call build_curdir_str
mov di,ConfigName
call open
@@ -1515,6 +1520,9 @@ getfssec:
pop ebp
ret
+build_curdir_str:
+ ret
+
; -----------------------------------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 3b97005..2c6d...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...hen idle
;
@@ -843,6 +846,8 @@ load_config:
mov si,config_name ; Save config file name
mov di,ConfigName
call strcpy
+ mov dword [CurrentDirName],CUR_DIR_DWORD ; Write './',0,0 to the
CurrentDirName
+ call build_curdir_str
mov di,ConfigName
call open
@@ -1515,6 +1520,9 @@ getfssec:
pop ebp
ret
+build_curdir_str:
+ ret
+
; -----------------------------------------------------------------------------
; Common modules
; -----------------------------------------------------------------------------
diff --git a/core/isolinux.asm b/core/isolinux.asm
index 3b97005..2c6d...
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Change since v1:
* Fix bug on dentry structure (thank you specification; btw, sarcasm), and
consequently a bug on ufs_readdir.
* Add readlink support (applied tests for symlinks whose destionation path
were stored in blk pointers and the file itself).
* Several improvements.
Wrote the documentation below. I think it would be good to
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello,
the following patches should get multidisk access working.
The syntax accepted is the following:
(hdx,y)/path/to/file
where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk.
the other accepted syntax is using MBR's 32 bits disk signature so for example:
(mbr:0x12345678,2)/foo/bar
would address
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...() to filesystem ops
xfs: Fix some inode number conversions
xfs: Remove duplicate variable attribution
xfs: Some bugfixes
xfs: Remove unnecessary check in xfs_iget() function
xfs: Make for-statement declaration more readable
xfs: Fix minor typo
xfs: Add xfs_getfssec() and xfs_next_extent() functions
xfs: Cleanup
xfs: Make sure that the dinode is read with success
xfs: Only call fill_xfs_inode_pvt() if dinode was read
xfs: Cleanup fill_xfs_inode_pvt() function
xfs: Cleanup
xfs: Add xfs_readdir() to filesystem ops
xfs: R...