History log of /DragonStub/inc/x86_64/ (Results 1 – 16 of 16)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
056bdaa513-Apr-2023 Callum Farmer <gmbr3@opensuse.org>

Make VOID a typedef

'void' is a type so VOID can be typedef instead of
a '#define' to improve compiler output

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>

189200d008-Apr-2023 Callum Farmer <gmbr3@opensuse.org>

Make WCHAR and CHAR16 identical

And actually use wchar_t
gnu-efi already uses L string literals which are of type
wchar_t

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>

14899d8927-Aug-2019 Peter Jones <pjones@redhat.com>

Make CHAR8 and similar be defined the same way edk2 does it.

Signed-off-by: Peter Jones <pjones@redhat.com>


/DragonStub/Make.defaults
/DragonStub/Makefile
/DragonStub/apps/Makefile
/DragonStub/apps/bltgrid.c
/DragonStub/apps/lfbgrid.c
/DragonStub/apps/modelist.c
/DragonStub/apps/trivial.S
/DragonStub/gnuefi/crt0-efi-aarch64.S
/DragonStub/gnuefi/crt0-efi-arm.S
/DragonStub/gnuefi/crt0-efi-ia32.S
/DragonStub/gnuefi/crt0-efi-ia64.S
/DragonStub/gnuefi/crt0-efi-loongarch64.S
/DragonStub/gnuefi/crt0-efi-mips64el.S
/DragonStub/gnuefi/crt0-efi-riscv64.S
/DragonStub/gnuefi/crt0-efi-x86_64.S
/DragonStub/gnuefi/elf_aarch64_efi.lds
/DragonStub/gnuefi/elf_arm_efi.lds
/DragonStub/gnuefi/elf_ia32_efi.lds
/DragonStub/gnuefi/elf_ia64_efi.lds
/DragonStub/gnuefi/elf_loongarch64_efi.lds
/DragonStub/gnuefi/elf_mips64el_efi.lds
/DragonStub/gnuefi/elf_riscv64_efi.lds
/DragonStub/gnuefi/elf_x86_64_efi.lds
/DragonStub/gnuefi/reloc_ia64.S
/DragonStub/gnuefi/reloc_loongarch64.c
/DragonStub/gnuefi/reloc_riscv64.c
/DragonStub/inc/aarch64/efibind.h
/DragonStub/inc/aarch64/efisetjmp_arch.h
/DragonStub/inc/arm/efibind.h
/DragonStub/inc/efi.h
/DragonStub/inc/efiapi.h
/DragonStub/inc/efidef.h
/DragonStub/inc/efidevp.h
/DragonStub/inc/efilib.h
/DragonStub/inc/efilink.h
/DragonStub/inc/efiprot.h
/DragonStub/inc/efirtlib.h
/DragonStub/inc/efishell.h
/DragonStub/inc/ia32/efibind.h
/DragonStub/inc/ia64/efibind.h
/DragonStub/inc/lib.h
/DragonStub/inc/loongarch64/efibind.h
/DragonStub/inc/loongarch64/efilibplat.h
/DragonStub/inc/loongarch64/efisetjmp_arch.h
/DragonStub/inc/mips64el/efibind.h
/DragonStub/inc/riscv64/efibind.h
/DragonStub/inc/riscv64/efilibplat.h
/DragonStub/inc/riscv64/efisetjmp_arch.h
efibind.h
/DragonStub/lib/Makefile
/DragonStub/lib/aarch64/efi_stub.S
/DragonStub/lib/aarch64/setjmp.S
/DragonStub/lib/arm/div.S
/DragonStub/lib/arm/efi_stub.S
/DragonStub/lib/arm/ldivmod.S
/DragonStub/lib/arm/llsl.S
/DragonStub/lib/arm/llsr.S
/DragonStub/lib/arm/mullu.S
/DragonStub/lib/arm/setjmp.S
/DragonStub/lib/arm/uldiv.S
/DragonStub/lib/cmdline.c
/DragonStub/lib/data.c
/DragonStub/lib/error.c
/DragonStub/lib/guid.c
/DragonStub/lib/hand.c
/DragonStub/lib/ia32/efi_stub.S
/DragonStub/lib/ia32/setjmp.S
/DragonStub/lib/ia64/palproc.S
/DragonStub/lib/ia64/setjmp.S
/DragonStub/lib/loongarch64/efi_stub.S
/DragonStub/lib/loongarch64/initplat.c
/DragonStub/lib/loongarch64/math.c
/DragonStub/lib/loongarch64/setjmp.S
/DragonStub/lib/mips64el/efi_stub.S
/DragonStub/lib/mips64el/setjmp.S
/DragonStub/lib/misc.c
/DragonStub/lib/print.c
/DragonStub/lib/riscv64/initplat.c
/DragonStub/lib/riscv64/math.c
/DragonStub/lib/riscv64/setjmp.S
/DragonStub/lib/runtime/efirtlib.c
/DragonStub/lib/smbios.c
/DragonStub/lib/str.c
/DragonStub/lib/x86_64/efi_stub.S
/DragonStub/lib/x86_64/setjmp.S
70bced0217-Feb-2021 Pete Batard <pete@akeo.ie>

Always define HAVE_USE_MS_ABI for MSVC compilers

Obviously, it makes little sense not to have it unconditionally defined there.

6685cd0027-Nov-2019 Alexander von Gluck IV <kallisti5@unixzen.com>

efibind: Fix usage of efi headers from C++ code

* __STDC_VERSION__ is undefined when headers are called from C++
code resulting in not using stdint.h and efibind.h
"making a guess" on what they

efibind: Fix usage of efi headers from C++ code

* __STDC_VERSION__ is undefined when headers are called from C++
code resulting in not using stdint.h and efibind.h
"making a guess" on what they are. extern "C" will not define
__STDC_VERSION__.
* Always leverage stdint.h on C++.
* Honestly, gnu-efi should always use stdint.h, or find a better
way to detect it. (or platforms without it need to catch up to 2007)

show more ...

7604ff2622-Mar-2019 Nigel Croxon <allura@localhost>

Merge /u/esben/gnu-efi/ branch intptr-t-fix into master

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

5b74db0e15-Mar-2019 Nigel Croxon <ncroxon@redhat.com>

Redefine jmp_buf to comply with C calling convention.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

1a53d8f815-Mar-2019 Esben Haabendal <esben@esben1.localdomain>

Fix for problem with undeclared intptr_t type

When building gnu-efi with old compilers with pre C90 compilers:

In file included from gnu-efi-3.0.9/lib/../inc/efilib.h:25:0,
from gn

Fix for problem with undeclared intptr_t type

When building gnu-efi with old compilers with pre C90 compilers:

In file included from gnu-efi-3.0.9/lib/../inc/efilib.h:25:0,
from gnu-efi-3.0.9/lib/lib.h:24,
from gnu-efi-3.0.9/lib/dpath.c:25:
gnu-efi-3.0.9/lib/dpath.c: In function 'FileDevicePath':
gnu-efi-3.0.9/lib/../inc/efilink.h:145:47: error: 'intptr_t' undeclared (first use in this function)
#define EFI_FIELD_OFFSET(TYPE,Field) ((UINTN)(intptr_t)(&(((TYPE *) 0)->Field)))

Problem introduced with commit a46a62b12b58139c31d4288384808365c4053bf2
(Fix some types gcc doesn't like).

Avoid this by adding intptr_t (and uintptr_t) typedefs for builds that does
not include stdint.h.

Signed-off-by: Esben Haabendal <esben@esben1.localdomain>

show more ...

d3e46ee910-Mar-2017 Nigel Croxon <ncroxon@redhat.com>

x86-64/efibind: sanitize ms-abi cpp conditionals

Signed-off-by: David Decotigny <ddecotig@gmail.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

79f4f38d20-Feb-2017 Nigel Croxon <ncroxon@redhat.com>

Version checks in inc/x86_64/efibind.h for ms_abi support gives
false negative for clang.

Signed-off-by: toazzz < toal193@users.sf.net>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

787cb7fc17-Feb-2017 Nigel Croxon <ncroxon@redhat.com>

fix clang support.

Tested:
make all apps + tests apps/ on x86_64
make CC=clang all apps + tests apps/ on x86_64

Signed-off-by: David Decotigny <ddecotig@gmail.com>
Signed-off-by: Nigel Croxon <

fix clang support.

Tested:
make all apps + tests apps/ on x86_64
make CC=clang all apps + tests apps/ on x86_64

Signed-off-by: David Decotigny <ddecotig@gmail.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

show more ...


/DragonStub/Make.defaults
/DragonStub/Makefile
/DragonStub/apps/debughook.c
/DragonStub/apps/drv0.c
/DragonStub/apps/drv0.h
/DragonStub/apps/drv0_use.c
/DragonStub/apps/route80h.c
/DragonStub/apps/t2.c
/DragonStub/apps/t4.c
/DragonStub/apps/t7.c
/DragonStub/apps/tcc.c
/DragonStub/gnuefi/crt0-efi-aarch64.S
/DragonStub/gnuefi/crt0-efi-arm.S
/DragonStub/gnuefi/crt0-efi-mips64el.S
/DragonStub/gnuefi/elf_aarch64_efi.lds
/DragonStub/gnuefi/elf_arm_efi.lds
/DragonStub/gnuefi/elf_ia32_efi.lds
/DragonStub/gnuefi/elf_ia32_fbsd_efi.lds
/DragonStub/gnuefi/elf_ia64_efi.lds
/DragonStub/gnuefi/elf_mips64el_efi.lds
/DragonStub/gnuefi/elf_x86_64_efi.lds
/DragonStub/gnuefi/elf_x86_64_fbsd_efi.lds
/DragonStub/gnuefi/reloc_aarch64.c
/DragonStub/gnuefi/reloc_arm.c
/DragonStub/gnuefi/reloc_ia32.c
/DragonStub/gnuefi/reloc_mips64el.c
/DragonStub/gnuefi/reloc_x86_64.c
/DragonStub/inc/aarch64/efibind.h
/DragonStub/inc/arm/efibind.h
/DragonStub/inc/efi.h
/DragonStub/inc/efi_nii.h
/DragonStub/inc/efiapi.h
/DragonStub/inc/eficompiler.h
/DragonStub/inc/eficon.h
/DragonStub/inc/efidebug.h
/DragonStub/inc/efidevp.h
/DragonStub/inc/efilib.h
/DragonStub/inc/efinet.h
/DragonStub/inc/efipciio.h
/DragonStub/inc/efiprot.h
/DragonStub/inc/efipxebc.h
/DragonStub/inc/efiser.h
/DragonStub/inc/efisetjmp.h
/DragonStub/inc/efiui.h
/DragonStub/inc/mips64el/efibind.h
/DragonStub/inc/mips64el/efilibplat.h
/DragonStub/inc/mips64el/efisetjmp_arch.h
efibind.h
/DragonStub/lib/Makefile
/DragonStub/lib/aarch64/initplat.c
/DragonStub/lib/aarch64/math.c
/DragonStub/lib/arm/div.S
/DragonStub/lib/arm/edk2asm.h
/DragonStub/lib/arm/initplat.c
/DragonStub/lib/arm/ldivmod.S
/DragonStub/lib/arm/llsl.S
/DragonStub/lib/arm/llsr.S
/DragonStub/lib/arm/math.c
/DragonStub/lib/arm/mullu.S
/DragonStub/lib/arm/setjmp.S
/DragonStub/lib/arm/uldiv.S
/DragonStub/lib/cmdline.c
/DragonStub/lib/data.c
/DragonStub/lib/debug.c
/DragonStub/lib/dpath.c
/DragonStub/lib/event.c
/DragonStub/lib/guid.c
/DragonStub/lib/hand.c
/DragonStub/lib/hw.c
/DragonStub/lib/ia32/initplat.c
/DragonStub/lib/ia32/math.c
/DragonStub/lib/ia32/setjmp.S
/DragonStub/lib/ia64/initplat.c
/DragonStub/lib/mips64el/efi_stub.S
/DragonStub/lib/mips64el/initplat.c
/DragonStub/lib/mips64el/math.c
/DragonStub/lib/mips64el/setjmp.S
/DragonStub/lib/print.c
/DragonStub/lib/str.c
/DragonStub/lib/x86_64/initplat.c
/DragonStub/lib/x86_64/setjmp.S
9ce3546d23-Sep-2015 Nigel Croxon <nigel.croxon@hpe.com>

From: Pete Batard <pete@akeo.ie>
Subject: [PATCH] Fix MSVC breakage due to GNU align extensions in setjmp

* __attribute__((__aligned__(x))), which is used in setjmp, is GNU only => use a macro inste

From: Pete Batard <pete@akeo.ie>
Subject: [PATCH] Fix MSVC breakage due to GNU align extensions in setjmp

* __attribute__((__aligned__(x))), which is used in setjmp, is GNU only => use a macro instead

Signed-off-by: Pete Batard <pete@akeo.ie>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

show more ...

0b5f181a17-Sep-2015 Nigel Croxon <nigel.croxon@hpe.com>

From: Pete Batard <pete@akeo.ie>
Date: Wed, 16 Sep 2015 18:26:28 +0100
Subject: [PATCH] Fix VS2015 warnings

* Currently, Visual Studio 2015 generates a lot of warnings such as:
gnu-efi\inc\efipcii

From: Pete Batard <pete@akeo.ie>
Date: Wed, 16 Sep 2015 18:26:28 +0100
Subject: [PATCH] Fix VS2015 warnings

* Currently, Visual Studio 2015 generates a lot of warnings such as:
gnu-efi\inc\efipciio.h(7): warning C4091: 'typedef ': ignored on left of '_EFI_PCI_IO' when no variable is declared
* To address this, gnu-efi should define the INTERFACE_DECL() for MS compilers as it does for GNU

Signed-off-by: Pete Batard <pete@akeo.ie>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

show more ...

dae0b4b014-May-2015 Nigel Croxon <nigel.croxon@hp.com>

Turns out we actually need setjmp in one of gnu-efi's prominent
users, and it seems to make more sense to put it here than in
the application.

All of these are derived from the Tiano code, but I re-

Turns out we actually need setjmp in one of gnu-efi's prominent
users, and it seems to make more sense to put it here than in
the application.

All of these are derived from the Tiano code, but I re-wrote the
x86_64 one because we use the ELF psABI calling conventions instead
of the MS ABI calling conventions. Which is to say you probably
shouldn't setjmp()/longjmp() between functions with EFIAPI (aka
__attribute__((ms_abi))) and those without.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>

show more ...

0902720705-Jan-2015 Nigel Croxon <nigel.croxon@hp.com>

From: Pete Batard <pete@akeo.ie>
Date: Wed, 10 Dec 2014 21:08:34 +0000
Subject: [PATCH] fixes for MSVC compilation

These fixes are needed to address the following error and warnings when compiling t

From: Pete Batard <pete@akeo.ie>
Date: Wed, 10 Dec 2014 21:08:34 +0000
Subject: [PATCH] fixes for MSVC compilation

These fixes are needed to address the following error and warnings when compiling the library part
using Visual Studio 2013 Community Edition (as in https://github.com/pbatard/uefi-simple):
* "lib\x86_64\math.c(49): error C4235: nonstandard extension used : '_asm' keyword not supported
on this architecture"
* "lib\print.c(98): error C2059: syntax error : '('" due to placement of EFIAPI macro
* "lib\cmdline.c(94): warning C4090: 'function' : different 'const' qualifiers"
* "lib\smbios.c(25): warning C4068: unknown pragma"
* Also update macro definitions in "inc\<arch>\efibind.h" for MSVC

Signed-off-by: Pete Batard <pete@akeo.ie>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>

show more ...

530d68ba25-Nov-2014 Nigel Croxon <nigel.croxon@hp.com>

The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>


/DragonStub/ChangeLog
/DragonStub/Make.defaults
/DragonStub/Make.rules
/DragonStub/Makefile
/DragonStub/README.efilib
/DragonStub/README.elilo
/DragonStub/README.gnuefi
/DragonStub/apps/AllocPages.c
/DragonStub/apps/FreePages.c
/DragonStub/apps/Makefile
/DragonStub/apps/drv0.c
/DragonStub/apps/drv0.h
/DragonStub/apps/drv0_use.c
/DragonStub/apps/modelist.c
/DragonStub/apps/printenv.c
/DragonStub/apps/route80h.c
/DragonStub/apps/t.c
/DragonStub/apps/t2.c
/DragonStub/apps/t3.c
/DragonStub/apps/t4.c
/DragonStub/apps/t5.c
/DragonStub/apps/t6.c
/DragonStub/apps/t7.c
/DragonStub/apps/t8.c
/DragonStub/apps/tcc.c
/DragonStub/apps/tpause.c
/DragonStub/apps/trivial.S
/DragonStub/gnuefi/Makefile
/DragonStub/gnuefi/crt0-efi-aarch64.S
/DragonStub/gnuefi/crt0-efi-arm.S
/DragonStub/gnuefi/crt0-efi-ia32.S
/DragonStub/gnuefi/crt0-efi-ia64.S
/DragonStub/gnuefi/crt0-efi-x86_64.S
/DragonStub/gnuefi/elf_aarch64_efi.lds
/DragonStub/gnuefi/elf_arm_efi.lds
/DragonStub/gnuefi/elf_ia32_efi.lds
/DragonStub/gnuefi/elf_ia32_fbsd_efi.lds
/DragonStub/gnuefi/elf_ia64_efi.lds
/DragonStub/gnuefi/elf_x86_64_efi.lds
/DragonStub/gnuefi/elf_x86_64_fbsd_efi.lds
/DragonStub/gnuefi/reloc_aarch64.c
/DragonStub/gnuefi/reloc_arm.c
/DragonStub/gnuefi/reloc_ia32.c
/DragonStub/gnuefi/reloc_ia64.S
/DragonStub/gnuefi/reloc_x86_64.c
/DragonStub/inc/Makefile
/DragonStub/inc/aarch64/efibind.h
/DragonStub/inc/aarch64/efilibplat.h
/DragonStub/inc/arm/efibind.h
/DragonStub/inc/arm/efilibplat.h
/DragonStub/inc/efi.h
/DragonStub/inc/efi_nii.h
/DragonStub/inc/efi_pxe.h
/DragonStub/inc/efiapi.h
/DragonStub/inc/eficon.h
/DragonStub/inc/efidebug.h
/DragonStub/inc/efidef.h
/DragonStub/inc/efidevp.h
/DragonStub/inc/efierr.h
/DragonStub/inc/efifs.h
/DragonStub/inc/efigpt.h
/DragonStub/inc/efiip.h
/DragonStub/inc/efilib.h
/DragonStub/inc/efilink.h
/DragonStub/inc/efinet.h
/DragonStub/inc/efipart.h
/DragonStub/inc/efipciio.h
/DragonStub/inc/efipoint.h
/DragonStub/inc/efiprot.h
/DragonStub/inc/efipxebc.h
/DragonStub/inc/efirtlib.h
/DragonStub/inc/efiser.h
/DragonStub/inc/efishellintf.h
/DragonStub/inc/efishellparm.h
/DragonStub/inc/efistdarg.h
/DragonStub/inc/efitcp.h
/DragonStub/inc/efiudp.h
/DragonStub/inc/efiui.h
/DragonStub/inc/ia32/efibind.h
/DragonStub/inc/ia32/efilibplat.h
/DragonStub/inc/ia32/pe.h
/DragonStub/inc/ia64/efibind.h
/DragonStub/inc/ia64/efilibplat.h
/DragonStub/inc/ia64/pe.h
/DragonStub/inc/ia64/salproc.h
/DragonStub/inc/inc.mak
/DragonStub/inc/libsmbios.h
/DragonStub/inc/make.inf
/DragonStub/inc/makefile.hdr
/DragonStub/inc/pci22.h
/DragonStub/inc/protocol/adapterdebug.h
/DragonStub/inc/protocol/eficonsplit.h
/DragonStub/inc/protocol/efidbg.h
/DragonStub/inc/protocol/efivar.h
/DragonStub/inc/protocol/ia64/eficontext.h
/DragonStub/inc/protocol/intload.h
/DragonStub/inc/protocol/legacyboot.h
/DragonStub/inc/protocol/make.inf
/DragonStub/inc/protocol/makefile.hdr
/DragonStub/inc/protocol/piflash64.h
/DragonStub/inc/protocol/readme.txt
/DragonStub/inc/protocol/vgaclass.h
/DragonStub/inc/romload.h
efibind.h
efilibplat.h
pe.h
/DragonStub/lib/Makefile
/DragonStub/lib/aarch64/efi_stub.S
/DragonStub/lib/aarch64/initplat.c
/DragonStub/lib/aarch64/math.c
/DragonStub/lib/arm/div64.S
/DragonStub/lib/arm/efi_stub.S
/DragonStub/lib/arm/initplat.c
/DragonStub/lib/arm/lib1funcs.S
/DragonStub/lib/arm/math.c
/DragonStub/lib/boxdraw.c
/DragonStub/lib/cmdline.c
/DragonStub/lib/console.c
/DragonStub/lib/crc.c
/DragonStub/lib/data.c
/DragonStub/lib/debug.c
/DragonStub/lib/dpath.c
/DragonStub/lib/error.c
/DragonStub/lib/event.c
/DragonStub/lib/guid.c
/DragonStub/lib/hand.c
/DragonStub/lib/hw.c
/DragonStub/lib/ia32/efi_stub.S
/DragonStub/lib/ia32/initplat.c
/DragonStub/lib/ia32/math.c
/DragonStub/lib/ia64/initplat.c
/DragonStub/lib/ia64/math.c
/DragonStub/lib/ia64/palproc.S
/DragonStub/lib/ia64/palproc.h
/DragonStub/lib/ia64/salpal.c
/DragonStub/lib/init.c
/DragonStub/lib/lib.h
/DragonStub/lib/lock.c
/DragonStub/lib/misc.c
/DragonStub/lib/print.c
/DragonStub/lib/runtime/efirtlib.c
/DragonStub/lib/runtime/rtdata.c
/DragonStub/lib/runtime/rtlock.c
/DragonStub/lib/runtime/rtstr.c
/DragonStub/lib/runtime/vm.c
/DragonStub/lib/smbios.c
/DragonStub/lib/sread.c
/DragonStub/lib/str.c
/DragonStub/lib/x86_64/callwrap.c
/DragonStub/lib/x86_64/efi_stub.S
/DragonStub/lib/x86_64/initplat.c
/DragonStub/lib/x86_64/math.c