gnu-efi/lib
Pete Batard 4ef183353c 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.
2021-07-16 12:43:24 -04:00
..
aarch64 Move memcpy/memset definition to global init.c 2017-11-06 09:38:38 -05:00
arm Move memcpy/memset definition to global init.c 2017-11-06 09:38:38 -05:00
ia32 Currently we have DivU64x32 on ia32, but it tries to call 2018-01-10 10:28:36 -05:00
ia64 gnu-efi: fix lib/ia64/setjmp.S IA-64 build failure 2018-01-28 16:44:21 +00:00
mips64el Move memcpy/memset definition to global init.c 2017-11-06 09:38:38 -05:00
riscv64 Initial support for RISCV64 2021-04-01 17:17:33 +02:00
runtime Fix CopyMem() not handling overlaps 2021-03-08 14:58:21 -05:00
x86_64 I also found an issue when compiling setjmp.S using MinGW for both 2016-03-25 13:36:53 -04:00
Makefile Initial support for RISCV64 2021-04-01 17:17:33 +02:00
Makefile.orig Turns out we actually need setjmp in one of gnu-efi's prominent 2015-05-14 12:20:51 -04:00
boxdraw.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
cmdline.c Move EFI_SHELL_PARAMETERS_PROTOCOL related definitions to efishell.h 2020-11-15 15:15:18 +08:00
console.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
crc.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
data.c Merge /u/kagurazakakotor/gnu-efi/ branch shell-protocol into master 2021-04-05 14:11:15 +00:00
debug.c GCC 4.8 (and others) const warnings 2017-01-08 06:52:33 -05:00
dpath.c * Fixed typeo lib/error.c EFI_WARN_UNKNOWN_GLYPH definition. 2019-01-09 07:03:46 -05:00
error.c Define UnicodeSPrint/UnicodeVSPrint as our main SPrint/VSPrint calls 2021-03-08 15:00:14 -05:00
event.c When copying structs, some compilers (e.g. MSVC for ARM) will use an 2016-04-04 10:09:51 -04:00
exit.c add-Exit - Add Exit() library function which calls BS->Exit() 2017-02-17 16:30:28 -05:00
guid.c Define UnicodeSPrint/UnicodeVSPrint as our main SPrint/VSPrint calls 2021-03-08 15:00:14 -05:00
hand.c lib/hand: missing va_end() in LibReinstallProtocolInterfaces() 2021-06-22 00:17:00 +02:00
hw.c Commit 3dd05c and subsequent ones introduced the use of the GNU 2016-03-25 13:32:54 -04:00
init.c Move memcpy/memset definition to global init.c 2017-11-06 09:38:38 -05:00
lock.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
misc.c lib/misc: avoid NULL dereference in LibInsertToTailOfBootOrder 2021-06-22 00:17:00 +02:00
pause.c Replace Pause() macro with new library function 2020-07-22 17:49:07 +08:00
print.c Fix VS2019 Code Analysis warnings 2021-07-16 12:43:24 -04:00
smbios.c Fix VS2019 Code Analysis warnings 2021-07-16 12:43:24 -04:00
sread.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
str.c Fix VS2019 Code Analysis warnings 2021-07-16 12:43:24 -04:00