History log of /DragonStub/lib/runtime/ (Results 1 – 8 of 8)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
41e4d11d01-Mar-2021 Pete Batard <pete@akeo.ie>

Fix CopyMem() not handling overlaps

Per https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/BaseMemoryLib.h
"(CopyMem) must handle the case where SourceBuffer overlaps DestinationBu

Fix CopyMem() not handling overlaps

Per https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/BaseMemoryLib.h
"(CopyMem) must handle the case where SourceBuffer overlaps DestinationBuffer".

Having the gnu-efi version of CopyMem differ from the EDK2 version can lead to
extremely hard to troubleshoot issues as well as very unexpected results. So
make sure our version follows the same guidelines.

show more ...

d34132e609-Jan-2019 Nigel Croxon <ncroxon@redhat.com>

* Fixed typeo lib/error.c EFI_WARN_UNKNOWN_GLYPH definition.
On couple of locations in runtime string library (rtstr.c)
there are calls to non-runtime variant of StrLen function.
* Another issue is w

* Fixed typeo lib/error.c EFI_WARN_UNKNOWN_GLYPH definition.
On couple of locations in runtime string library (rtstr.c)
there are calls to non-runtime variant of StrLen function.
* Another issue is with formatting 1394 paths.
The F1394_DEVICE_PATH::Guid is formatted as %g, but 1394
GUID is 8 byte integer, not EFI_GUID and therefore should
be formatted as e.g. %016lx (as edk2 does).
* Beyond what's mentioned above, changed the format of the
harddrive path, so it's in line with edk2 format and spec
(2.7 errata A, chapter 10.6.1.6, table 102).

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

show more ...

5bb5032f09-Oct-2018 Gary Lin <glin@suse.com>

Set '\0' properly in StrnCpy()

The arguments to SetMem() were wrong. Besides, SetMem() should start at
"Dest + Size" since "Size" will be smaller than "Len" if they are not
equal.

Signed-off-by: Ga

Set '\0' properly in StrnCpy()

The arguments to SetMem() were wrong. Besides, SetMem() should start at
"Dest + Size" since "Size" will be smaller than "Len" if they are not
equal.

Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

show more ...

ba25050411-Oct-2018 Gary Lin <glin@suse.com>

Implement StrnCat() without StrnCpy()

StrnCpy() doesn't guarantee the dest string will be null-terminated, so
we shouldn't use StrnCpy().

Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Nige

Implement StrnCat() without StrnCpy()

StrnCpy() doesn't guarantee the dest string will be null-terminated, so
we shouldn't use StrnCpy().

Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

show more ...

6058ffcd11-Oct-2018 Gary Lin <glin@suse.com>

Set '\0' properly in StpnCpy()

The arguments to SetMem() were wrong. Besides, SetMem() should start at
"Dest + Size" since "Size" will be smaller than "Len" if they are not
equal.

Signed-off-by: Ga

Set '\0' properly in StpnCpy()

The arguments to SetMem() were wrong. Besides, SetMem() should start at
"Dest + Size" since "Size" will be smaller than "Len" if they are not
equal.

Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>

show more ...

85f1c79724-Apr-2018 Pete Batard <pete@akeo.ie>

Fix conversion from 'UINTN' to 'UINT8' warnings

* MSVC generates two of the following in rtstr.c:
warning C4244: 'function': conversion from 'UINTN' to 'UINT8', possible loss of data

9485c65f13-Mar-2018 Peter Jones <pjones@redhat.com>

gnu-efi: add some more common string functions.

This adds bounded string helper functions:

StrnLen()
StrnCpy()
StrnCat()
StpnCpy()

And the unbounded function StpCpy().

Signed-off-by: Peter Jones

gnu-efi: add some more common string functions.

This adds bounded string helper functions:

StrnLen()
StrnCpy()
StrnCat()
StpnCpy()

And the unbounded function StpCpy().

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

show more ...


/DragonStub/.gitignore
/DragonStub/ChangeLog
/DragonStub/Make.defaults
/DragonStub/Make.rules
/DragonStub/Makefile
/DragonStub/README.git
/DragonStub/README.gnuefi
/DragonStub/apps/AllocPages.c
/DragonStub/apps/FreePages.c
/DragonStub/apps/Makefile
/DragonStub/apps/debughook.c
/DragonStub/apps/drv0.c
/DragonStub/apps/drv0.h
/DragonStub/apps/drv0_use.c
/DragonStub/apps/exit.c
/DragonStub/apps/route80h.c
/DragonStub/apps/setjmp.c
/DragonStub/apps/t2.c
/DragonStub/apps/t4.c
/DragonStub/apps/t7.c
/DragonStub/apps/tcc.c
/DragonStub/gnuefi/Makefile
/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/Makefile
/DragonStub/inc/aarch64/efibind.h
/DragonStub/inc/aarch64/efisetjmp_arch.h
/DragonStub/inc/arm/efibind.h
/DragonStub/inc/arm/efisetjmp_arch.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/efilink.h
/DragonStub/inc/efinet.h
/DragonStub/inc/efipciio.h
/DragonStub/inc/efiprot.h
/DragonStub/inc/efipxebc.h
/DragonStub/inc/efirtlib.h
/DragonStub/inc/efiser.h
/DragonStub/inc/efisetjmp.h
/DragonStub/inc/efiui.h
/DragonStub/inc/ia32/efibind.h
/DragonStub/inc/ia32/efisetjmp_arch.h
/DragonStub/inc/ia64/efibind.h
/DragonStub/inc/ia64/efisetjmp_arch.h
/DragonStub/inc/mips64el/efibind.h
/DragonStub/inc/mips64el/efilibplat.h
/DragonStub/inc/mips64el/efisetjmp_arch.h
/DragonStub/inc/x86_64/efibind.h
/DragonStub/inc/x86_64/efisetjmp_arch.h
/DragonStub/lib/Makefile
/DragonStub/lib/Makefile.orig
/DragonStub/lib/aarch64/initplat.c
/DragonStub/lib/aarch64/math.c
/DragonStub/lib/aarch64/setjmp.S
/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/error.c
/DragonStub/lib/event.c
/DragonStub/lib/exit.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/ia64/setjmp.S
/DragonStub/lib/init.c
/DragonStub/lib/lib.h
/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
rtstr.c
/DragonStub/lib/smbios.c
/DragonStub/lib/str.c
/DragonStub/lib/x86_64/initplat.c
/DragonStub/lib/x86_64/math.c
/DragonStub/lib/x86_64/setjmp.S
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
/DragonStub/inc/x86_64/efibind.h
/DragonStub/inc/x86_64/efilibplat.h
/DragonStub/inc/x86_64/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
efirtlib.c
rtdata.c
rtlock.c
rtstr.c
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