Displaying 20 results from an estimated 57 matches for "gpllib".
2015 Feb 10
1
Missing make dependencies?
...issing dependencies. This patch
seems to fix my failures, but I'm wondering (if my analysis is correct) if there
are a few more missing.
diff --git a/com32/Makefile b/com32/Makefile
index c5784be..b18414f 100644
--- a/com32/Makefile
+++ b/com32/Makefile
@@ -18,6 +18,6 @@ gfxboot: lib libutil gpllib
hdt: lib libupload cmenu gpllib libutil
lua/src: cmenu modules
modules: lib libutil gpllib
-rosh: lib libutil
-samples: libutil elflink/ldlinux
+rosh: lib libutil gpllib
+samples: libutil elflink/ldlinux gpllib
sysdump: lib libutil libupload gpllib
In a successful build, libgpl.c32 finished b...
2009 Apr 10
2
[RESEND][PATCH] gpllib: dmi: set default memory speed to "Unknown"
The speed value is available since version 2.3 of the SMBIOS specification.
Set the default speed string to "Unknown" for older versions.
- Sebastian
Index: syslinux-3.74-20-g3b80c26/com32/gpllib/dmi/dmi.c
===================================================================
--- syslinux-3.74-20-g3b80c26.orig/com32/gpllib/dmi/dmi.c
+++ syslinux-3.74-20-g3b80c26/com32/gpllib/dmi/dmi.c
@@ -496,6 +496,7 @@ void dmi_decode(struct dmi_header *h, ui
if (h->length < 0x...
2010 Apr 27
2
gpllib write_sectors() patch
Here is a partial patch that I'm using to illustrate a few questions
that I have.
Looking at the gpllib write_sectors (com32/gpllib/disk/write.c) it
looks like the allocated
size is wrong; size is in sectors so we should adjust the alloc/memcpy
by size*SECTOR.
Also, comparing core/diskio.c it looks like the registers aren't even
setup right.
In the patch below I put an #if 0 around the old code...
2015 Feb 10
0
[PATCH 3/6] gpllib: fix sizeof(char *) misuse
...ction to take the length of the
buffer as a parameter.
Fixes the warning: argument to 'sizeof' in 'snprintf' call is the same
expression as the destination; did you mean to provide an explicit
length?
Signed-off-by: Jonathan Boeing <jonathan.n.boeing at gmail.com>
---
com32/gpllib/dmi/dmi.c | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/com32/gpllib/dmi/dmi.c b/com32/gpllib/dmi/dmi.c
index ef84e1e..5a25b41 100644
--- a/com32/gpllib/dmi/dmi.c
+++ b/com32/gpllib/dmi/dmi.c
@@ -100,20 +100,20 @@ static const char *dmi_system_reset_...
2010 Mar 21
0
[PATCH] gpllib: fix call to CPUID function 4
Only call CPUID function 4 if cpuid_level indicates its availability.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
diff --git a/com32/gpllib/cpuid.c b/com32/gpllib/cpuid.c
index fa21204..f33e895 100644
--- a/com32/gpllib/cpuid.c
+++ b/com32/gpllib/cpuid.c
@@ -232,8 +232,10 @@ void generic_identify(struct cpuinfo_x86 *c)
}
break;
case X86_VENDOR_INTEL:
- cpuid(0x4, &eax, &ebx, &ecx, &edx);
- c->x86_num_cores =...
2019 May 15
1
[PATCH] Add support for Hygon Dhyana processor
...gonGenuine")/Family series number(Family 18h).
Related Hygon kernel patch can be found on:
http://lkml.kernel.org/r/5ce86123a7b9dad925ac583d88d2f921040e859b.1538583282.git.puwen at hygon.cn
Signed-off-by: Jinke Fan <fanjinke51 at yeah.net>
---
com32/gplinclude/cpuid.h | 5 +++--
com32/gpllib/cpuid.c | 7 +++++++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/com32/gplinclude/cpuid.h b/com32/gplinclude/cpuid.h
index 02f3a0b3..fd77b69d 100644
--- a/com32/gplinclude/cpuid.h
+++ b/com32/gplinclude/cpuid.h
@@ -187,8 +187,9 @@ extern bool get_cpu_flag_value_from_name(s_c...
2012 Oct 19
3
[PATCH 0/3] elflink fixes
...es are fixes for bugs reported by
someone in #syslinux. The third makes dmitest.c32 actually wait for
user input.
If no one has any objections/concerns, I'll pull this into the
official elflink branch.
Matt Fleming (3):
core: Print error message if we don't load ldlinux.c32
Clean up $(GPLLIB) leak
ldlinux: Use stdcon instead of rawcon for the console
Makefile | 10 ++++++----
com32/elflink/ldlinux/ldlinux.c | 2 +-
com32/hdt/Makefile | 4 +---
com32/modules/Makefile | 5 +----
core/elflink/load_env32.c | 2 ++
mk/elf.mk...
2010 Sep 21
1
[Pull request] disklib: fixes for write functions
...15342.html).
Thanks,
The following changes since commit 6f438cf6d03e45d875b510559246573954e43218:
Arwin Vosselman (1):
Fix missing option -s in libinstaller
are available in the git repository at:
git://github.com/pierre/syslinux.git disklib-fixes
Pierre-Alexandre Meyer (2):
gpllib: disk: make write functions actually work
gpllib: disk: cap the number of sectors per write
com32/gpllib/disk/write.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
--
Pierre-Alexandre Meyer
http://pub.mouraf.org/blog
2013 Jul 12
1
Unable to boot with syslinux-5.1x from git
Hi,
Matt Fleming wrote:
> ld: libpng/pngrtran.o: warning: relocation against `png_do_read_filler' in readonly section `.text'.
> ld: warning: creating a DT_TEXTREL in object.
>
> Looks like your files aren't position-independent. What does,
>
> file com32/gpllib/dmi/dmi.o
>
> say?
# file com32/gpllib/dmi/dmi.o
com32/gpllib/dmi/dmi.o: ELF 32-bit LSB relocatable, Intel 80386,
version 1 (SYSV), not stripped
--
Regards,
Igor
2014 Nov 21
1
[PATCH 1/2] libupload: fix parallel build issue
...windriver.com>
---
com32/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/com32/Makefile b/com32/Makefile
index 754c915..abf5749 100644
--- a/com32/Makefile
+++ b/com32/Makefile
@@ -21,3 +21,4 @@ rosh: lib libutil
samples: libutil elflink/ldlinux
sysdump: lib libutil libupload gpllib
lua/src: cmenu modules
+libupload: lib
--
1.7.9.5
2010 Sep 19
2
can't get write_sectors to work...
Hi,
Hopefully you someone can tell me what I'm doing wrong. First, the code. I
placed this at the bottom of the main loop in com32/modules/disk.c as a
simple test of writing to the disk:
printf(" Host bus: %s, Interface type: %s\n\n",
d->edd_params.host_bus_type, d->edd_params.interface_type);
zero_buf = calloc(1, d->edd_params.bytes_per_sector);
for(int
2020 Sep 16
0
[RFC PATCH] x86_64: Add support for Hygon Dhyana processor
...port for Hygon Dhyana processor, the info-
rmation is correct:
boot: cpuidtest.c32
Vendor = Hygon
...
boot: ifcpu.c32 debug multicore
multicore : 64 cores on this system
Thanks!
Jinke Fan
Signed-off-by: Jinke Fan <fanjinke51 at yeah.net>
---
com32/gplinclude/cpuid.h | 5 +++--
com32/gpllib/cpuid.c | 7 +++++++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/com32/gplinclude/cpuid.h b/com32/gplinclude/cpuid.h
index 02f3a0b3..fd77b69d 100644
--- a/com32/gplinclude/cpuid.h
+++ b/com32/gplinclude/cpuid.h
@@ -187,8 +187,9 @@ extern bool get_cpu_flag_value_from_name(s_c...
2011 Jan 24
0
[PATCH] disklib: Detect "MS-DOS 3.30 through Windows 95 (A)" MBR
Add detection code for "MS-DOS 3.30 through Windows 95 (A)" MBR to disklib.
Signed-off-by: Gert Hulselmans <gerth at zytor.com>
---
com32/gpllib/disk/mbrs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c
index 77e4180..37309e1 100644
--- a/com32/gpllib/disk/mbrs.c
+++ b/com32/gpllib/disk/mbrs.c
@@ -27,7 +27,6 @@ void get_mbr_string(const uint32_t label, char *b...
2011 Jan 24
0
[PATCH] disklib: Detect "FreeDOS (eXtended FDisk)" MBR
Add detection code for "FreeDOS (eXtended FDisk)" MBR to disklib.
Signed-off-by: Gert Hulselmans <gerth at zytor.com>
---
com32/gpllib/disk/mbrs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c
index 37309e1..6150fcf 100644
--- a/com32/gpllib/disk/mbrs.c
+++ b/com32/gpllib/disk/mbrs.c
@@ -27,7 +27,6 @@ void get_mbr_string(const uint32_t label, char *b...
2015 Jul 11
0
EXTLINUX - GCC 5
...ome C code
parts which allow the compilers to produce non-equivalent
machine code.
I see complaints in the output of cppcheck 1.67, which could
match this criterium.
(Maybe one should subscribe SYSLINUX to Coverty Scan ?)
-----------------------------------------------------------------
[com32/gpllib/dmi/dmi_memory.c:205]: (error) Undefined behavior: Variable 'type' is used as parameter and destination in s[n]printf().
[com32/gpllib/dmi/dmi_memory.c:217]: (error) Undefined behavior: Variable 'connection' is used as parameter and destination in s[n]printf().
[com32/gpllib/dmi...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...| 24 +++++---
com32/cmenu/Makefile | 17 +++++-
com32/cmenu/libmenu/syslnx.c | 25 ++++++--
com32/elflink/ldlinux/chainboot.c | 4 +-
com32/elflink/ldlinux/execute.c | 1 -
com32/gpllib/disk/geom.c | 11 +++-
com32/gpllib/disk/read.c | 25 ++++++--
com32/gpllib/disk/write.c | 26 ++++++--
com32/gpllib/memory.c | 15 ++++-
com32/hdt/Makefile...
2014 Nov 22
1
Get rid of printf format warning format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’
Hello.
Use <inttypes.h> PRIx64 instead of llx to get rid of gcc warning
format ?%llx? expects type ?long long unsigned int?, but argument 2 has type ?uint64_t?
--
MartinS
diff --git a/com32/gpllib/acpi/xsdt.c b/com32/gpllib/acpi/xsdt.c
index 208abc6..228b6c3 100644
--- a/com32/gpllib/acpi/xsdt.c
+++ b/com32/gpllib/acpi/xsdt.c
@@ -63,7 +63,7 @@ int parse_xsdt(s_acpi * acpi)
/* Let's grab the pointed table header */
char address[16] = { 0 };
- sprintf(address, "%llx&...
2015 Aug 07
1
[PATCH] com32: write_sectors fixes
Based on syslinux 6.03
Memory allocation and copy length should be SECTOR * size for sectors operation.
Signed-off-by: Robert <luyao-c at 360.cn>
diff --git a/com32/gpllib/disk/write.c b/com32/gpllib/disk/write.c
index d183ade..3c9edff 100644
--- a/com32/gpllib/disk/write.c
+++ b/com32/gpllib/disk/write.c
@@ -40,7 +40,7 @@ int write_sectors(const struct driveinfo *drive_info, const unsigned int lba,
void *buf;
int rv = -1;
- buf = lmalloc(size);
+ b...
2015 Jul 11
3
EXTLINUX - GCC 5
> On Jul 10, 2015 5:29 PM, "poma via Syslinux" <syslinux at zytor.com> wrote:
>
> > The same as with the ISOLINUX, stable and git.
> > Only this time has nothing to do with the menu.
>
> 1) EXTLINUX is no longer a discrete variant. The installer extlinux now
> installs SYSLINUX.
> 2) William Kensington already saw a similar behavior wherein an
2013 Jul 11
2
Unable to boot with syslinux-5.1x from git
Hi,
well, I was finally able to build syslinux-5.11-pre8 from git, but the
system doesn't boot with the self-compiled version. All I see is:
http://666kb.com/i/cfplluqpcy6owptq3.jpg
Build log can be found in http://www.syslinux.org/archives/2013-July/020452.html
After I installed the self-compiled syslinux version, I run this commands:
# cd /boot/extlinux
# rm -rf *.c32
# extlinux