History log of /DragonStub/ (Results 126 – 150 of 384)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8b018e6708-Aug-2022 Nigel Croxon <ncroxon@redhat.com>

Bump revision to VERSION = 3.0.15

803b49c406-Aug-2022 Sergei Trofimovich <slyich@gmail.com>

*/*.S: add non-executable GNU stack marking on ELF-linux

binutils-2.39 enabed a few warning by default
(https://sourceware.org/pipermail/binutils/2022-August/122246.html):

> The ELF linker will now

*/*.S: add non-executable GNU stack marking on ELF-linux

binutils-2.39 enabed a few warning by default
(https://sourceware.org/pipermail/binutils/2022-August/122246.html):

> The ELF linker will now generate a warning message if the stack is made executable.

Let's suppress the warnings in assembly files by adding non-executables
stack markings. This fixes at least systemd build which uses '-Wl,--fatal-warnings':

https://github.com/systemd/systemd/issues/24226

show more ...

2ed6486822-Jun-2022 Sergei Trofimovich <slyich@gmail.com>

lib/Makefile: add .o file dependency on libsubdirs targets

Without the change there is no guarantee that .o files will be built
after directories are created for them and build fails as:

gcc -I

lib/Makefile: add .o file dependency on libsubdirs targets

Without the change there is no guarantee that .o files will be built
after directories are created for them and build fails as:

gcc -I/build/gnu-efi-code//lib ... -c lib/runtime/rtstr.c -o runtime/rtstr.o
Assembler messages:
Fatal error: can't create runtime/rtstr.o: No such file or directory

show more ...

6b28563513-Jan-2022 Fabrice Fontaine <fontaine.fabrice@gmail.com>

Handle __mips64

Handle __mips64 to avoid a build failure since
https://sourceforge.net/p/gnu-efi/code/ci/b1c7a1c5f2685562f06fac25c24618d0af5ca1cb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@g

Handle __mips64

Handle __mips64 to avoid a build failure since
https://sourceforge.net/p/gnu-efi/code/ci/b1c7a1c5f2685562f06fac25c24618d0af5ca1cb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

show more ...

5849eacd07-Jul-2022 zhoumingtao <zhoumingtao@loongson.cn>

use jr instead of jirl

jirl -> jr

e7db441830-Dec-2021 zhoumingtao <zhoumingtao@loongson.cn>

Add support for LoongArch64 architecture

af773c7719-Aug-2021 Nigel Croxon <ncroxon@redhat.com>

Bump revision to VERSION = 3.0.14

b136460919-Aug-2021 Pete Batard <pete@akeo.ie>

riscv64: finalize efibind.h

There's little reason not to derive the RISCV64 version of efibind.h
from the AARCH64 version, especially as the current version is missing
required macros such as EFI_DR

riscv64: finalize efibind.h

There's little reason not to derive the RISCV64 version of efibind.h
from the AARCH64 version, especially as the current version is missing
required macros such as EFI_DRIVER_ENTRY_POINT() which breaks the
compilation of some drivers.

The only major difference we introduce from AARCH64 is to consider
that any toolchain that supports RISCV64 is modern enough to support
<stdint.h>. Also, as we preserve the added definition for BOOLEAN,
we guard it with an ifndef in anticipation of MSVC RISCV64 support.

We validated these changes by confirming that they now allow gnu-efi
to be used to compile a set of UEFI drivers for RISCV64.

show more ...

31a6aab428-Jul-2021 Alfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com>

Set NumberOfSymbols to zero

Acoording to what the spec says about the number of sybols [1]:

"This value should be zero for an image because COFF debugging
information is deprecated."

Changing as i

Set NumberOfSymbols to zero

Acoording to what the spec says about the number of sybols [1]:

"This value should be zero for an image because COFF debugging
information is deprecated."

Changing as if not zero it causes problems to llvm-objcopy. This
affects only the architectures where COFF is not supported by objcopy
and where we build the PE header via assembly code.

[1] https://docs.microsoft.com/en-us/windows/win32/debug/pe-format

show more ...

269ef9db16-Jul-2021 b'Nigel Croxon <allura@localhost>

Merge /u/abeato/gnu-efi/ branch add-guids into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/26/

4ef1833515-Jul-2021 Pete Batard <pete@akeo.ie>

Fix VS2019 Code Analysis warnings

When compiling for x64, Visual Studio 2019's Code Analysis produces the following warnings:

C:\Projects\gnu-efi\lib\print.c(1380): warning C26451: Arithmetic overf

Fix VS2019 Code Analysis warnings

When compiling for x64, Visual Studio 2019's Code Analysis produces the following warnings:

C:\Projects\gnu-efi\lib\print.c(1380): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).
C:\Projects\gnu-efi\lib\smbios.c(47): warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).
C:\Projects\gnu-efi\lib\str.c(289): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).

Fix these by adding an explicit cast to UINTN.

show more ...

fbbbf47e16-Jul-2021 Alfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com>

Add definitions for the EFI device tree table

Add definitions for the EFI device tree table, as specified in UEFI
specification 2.9 (March 2021).

Signed-off-by: Alfonso Sánchez-Beato <alfonso.sanch

Add definitions for the EFI device tree table

Add definitions for the EFI device tree table, as specified in UEFI
specification 2.9 (March 2021).

Signed-off-by: Alfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com>

show more ...

4016021024-Jun-2021 b'Nigel Croxon <allura@localhost>

Merge /u/xypron/gnu-efi/ branch misc_fixes into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/25/

4fe83e1023-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

apps: memory leak in draw_boxes()

Free the buffer allocated to draw boxes.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

58124a7f23-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

apps: define FrameBufferAddr for riscv64

The size of FrameBufferAddr is architecture dependent. Add the missing
definition for the riscv64 architecture.

Signed-off-by: Heinrich Schuchardt <xypron.g

apps: define FrameBufferAddr for riscv64

The size of FrameBufferAddr is architecture dependent. Add the missing
definition for the riscv64 architecture.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

show more ...

df31239a23-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

riscv64: provide efisetjmp_arch.h

efisetjmp_arch.h is required for 'make apps'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

b5f98d4023-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

riscv64: missing EFI_FUNCTION

Add missing definition. It is needed for 'make apps'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

01a8d3bb23-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

apps: simplify logical constraints

EFI_ERROR(EFI_NOT_STARTED) is true. So we can simplify

(EFI_ERROR(rc) && rc == EFI_NOT_STARTED)

to

(rc == EFI_NOT_STARTED)

Signed-off-by: Heinrich Schu

apps: simplify logical constraints

EFI_ERROR(EFI_NOT_STARTED) is true. So we can simplify

(EFI_ERROR(rc) && rc == EFI_NOT_STARTED)

to

(rc == EFI_NOT_STARTED)

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

show more ...

2a7829c523-Jun-2021 b'Nigel Croxon <allura@localhost>

Merge /u/xypron/gnu-efi/ branch misc_fixes into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/22/

860b1c8c23-Jun-2021 Nigel Croxon <ncroxon@redhat.com>

efiapi.h: add RISC-V machine type definitions

These values are from the UEFI specification version 2.9.

Signed-off-by: David Michael <fedora.dm0@...>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

e2fc15ae21-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

lib/str: simplify Atoi()

Checking that str is non-zero is superfluous in

(*str && *str == ' ')

0x20 is always non-zero.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

500c10f121-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

lib/misc: avoid NULL dereference in LibInsertToTailOfBootOrder

AllocatePool() may return NULL. We must check the return value before
dereferencing it.

Signed-off-by: Heinrich Schuchardt <xypron.glp

lib/misc: avoid NULL dereference in LibInsertToTailOfBootOrder

AllocatePool() may return NULL. We must check the return value before
dereferencing it.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

show more ...

70402aa921-Jun-2021 Heinrich Schuchardt <xypron.glpk@gmx.de>

lib/hand: missing va_end() in LibReinstallProtocolInterfaces()

For each va_start() there must be a call to va_end().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

9e7e682217-May-2021 b'Nigel Croxon <allura@localhost>

Merge /u/xypron/gnu-efi/ branch GCC_visibility into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/20/

fa506bd228-Jun-2016 Ard Biesheuvel <ard.biesheuvel@linaro.org>

ARM: hide 'hidden' pragma for hosted build

The hidden visibility #pragma in inc/arm/efibind.h was meant to inform
the compiler that symbols with external linkage are never exported from
shared libra

ARM: hide 'hidden' pragma for hosted build

The hidden visibility #pragma in inc/arm/efibind.h was meant to inform
the compiler that symbols with external linkage are never exported from
shared libraries [and thus never preempted] when executing in UEFI context
(since UEFI does not support shared libraries). This allows the compiler to
generate relative symbol references instead of GOT entries, which is much more
efficient since the latter need to be relocated before invoking the entry
point of the UEFI app.

However, as it turns out, this pragma is leaking into other code that does
not run in UEFI context, but simply needs to access data structures that
UEFI defines. So make the pragma dependent on whether we are building with
-ffreestanding, which is only used for bare metal code such as UEFI.

Last-Update: 2018-08-24

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

Elder versions of sbsigntool failed to build on armhf without the patch,
cf. https://launchpad.net/ubuntu/+source/gnu-efi/3.0.8-0ubuntu1~16.04.1
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

show more ...

12345678910>>...16