Displaying 8 results from an estimated 8 matches for "xfer_buf_seg".
2006 Jun 19
0
syslinux 3.11/3.20-pre initrd loading bug
...oesn'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
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512.
Currently it fixes extlinux, MBR for GPT and ext partitions.
Other code is unaffected.
This set of patches has been tested on a read Dell machine running a beta
firmware.
2015 Oct 05
7
[PATCH 0/4] Improve linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com>
These patches basically remove unused linker scripts and port a change that was
made to an unused script.
Those are to be applied on top of the gcc 5 bug fixes as they would conflict
otherwise.
Sylvain Gault (4):
diag/mbr: fix dependency to linker script
Remove unused linker scripts
core: Make symbols defined in linker script HIDDEN
2010 Mar 18
0
[MODULE] COM32 module to time null-dumping a file
...lt;stdio.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/times.h>
+#include <consoles.h>
+#include <minmax.h>
+
+
+#ifdef __COM32__
+#define BUFSZ 2048
+/* What's optimal? Under 4k?
+ * layout.inc: xfer_buf_seg equ 1000h
+ */
+
+float get_tps(){ return 18.2; }
+
+#else /* __COM32__ */
+
+#define BUFSZ 16384
+/* Need to check what might be a "best" buffer/fetch block size here */
+
+float get_tps(){ return (float)sysconf(_SC_CLK_TCK); }
+void print_cp_result2(char *fn, int bcnt, clock_t bc, clock...
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
...= ASSERT(_end16 <= 0x10000, "64K overflow"));
-
- /*
- * Special 16-bit segments
- */
-
- . = ALIGN(65536);
- .real_mode (NOLOAD) : {
- *(.real_mode)
- }
- HIDDEN(real_mode_seg = core_real_mode >> 4);
-
- . = ALIGN(65536);
- .xfer_buf (NOLOAD) : {
- *(.xfer_buf)
- }
- HIDDEN(xfer_buf_seg = core_xfer_buf >> 4);
-
- /*
- * Used to allocate lowmem buffers from 32-bit code
- */
- .lowmem (NOLOAD) : {
- HIDDEN(__lowmem_start = .);
- *(.lowmem)
- HIDDEN(__lowmem_end = .);
- }
- HIDDEN(__lowmem_len = ABSOLUTE(__lowmem_end) - ABSOLUTE(__lowmem_start));
- HIDDEN(__lowmem_dwords =...
2010 Mar 20
1
[MODULE] COM32 module to time null-dumping a file, v1.1
...rno.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/times.h>
+#include <consoles.h>
+#include <minmax.h>
+#include <limits.h>
+#include <string.h>
+
+#ifdef __COM32__
+# define BUFSZ_DEF 2048
+/* What's optimal? Under 4k?
+ * layout.inc: xfer_buf_seg equ 1000h
+ */
+# define O_DIRECT 0
+
+static inline float get_tps(){ return 18.2; }
+
+#else /* __COM32__ */
+
+# define BUFSZ_DEF 16384
+/* Need to check what might be a "best" buffer/fetch block size here */
+
+static inline float get_tps(){ return (float)sysconf(_SC_CLK_TCK); }
+
+#...
2016 Jun 04
0
[PATCH] Wedding gift, removing double l from auxilliary
...information */
+ /* Add auxiliary information */
mboot_make_memmap();
mboot_apm();
mboot_syslinux_info();
diff --git a/core/i386/syslinux.ld b/core/i386/syslinux.ld
index 36b1a69..e8d32dd 100644
--- a/core/i386/syslinux.ld
+++ b/core/i386/syslinux.ld
@@ -207,7 +207,7 @@ SECTIONS
xfer_buf_seg = core_xfer_buf >> 4;
/*
- * The auxilliary data segment is used by the 16-bit code
+ * The auxiliary data segment is used by the 16-bit code
* for items that don't need to live in the bottom 64K.
*/
diff --git a/doc/extlinux.txt b/doc/extlinux.txt
index d8cbb5d..f0cac8d 100...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse