audk/BaseTools/Source/C/Common
Ard Biesheuvel 67938bcc9d BaseTools/CommonLib: drop the use of MAX_ADDRESS
The macro MAX_ADDRESS represents the largest virtual address that
is valid for a certain architecture. For the BaseTools, this quantity
is irrelevant, since the same tools can be used to build for different
targets.

Since we only refer to it in a single place, which is an ASSERT() that
doesn't seem particularly useful (it ensures that memcpy() will not
be called with arguments that will make it read beyond the end of the
address space and wrap around), let's drop the ASSERT and all references
to MAX_ADDRESS.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-12-06 08:32:00 +01:00
..
BasePeCoff.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
BinderFuncs.c License header updated to match correct format. 2014-08-28 13:53:34 +00:00
BinderFuncs.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
CommonLib.c BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00
CommonLib.h BaseTools/CommonLib: drop definition of MAX_UINTN 2018-12-05 09:04:54 +01:00
Compress.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Crc32.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Crc32.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Decompress.c BaseTools: Fix UEFI and Tiano Decompression logic issue 2018-11-11 11:48:31 +08:00
Decompress.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
EfiCompress.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
EfiUtilityMsgs.c BaseTools/C/Common: Refine using sprintf() with '%s' in format string 2017-12-25 09:54:18 +08:00
EfiUtilityMsgs.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
FirmwareVolumeBuffer.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
FirmwareVolumeBufferLib.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00
FvLib.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
FvLib.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GNUmakefile BaseTools GNUmakefile: Remove HOST_ARCH in every tool Makefile 2018-02-06 13:44:42 +08:00
Makefile BaseTools: Add PcdValueCommon logic into C source CommonLib 2017-12-25 11:05:45 +08:00
MemoryFile.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
MemoryFile.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
MyAlloc.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
MyAlloc.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
OsPath.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
OsPath.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseGuidedSectionTools.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseGuidedSectionTools.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseInf.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
ParseInf.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
PcdValueCommon.c BaseTools: Fix make PcdValueCommon.c failure on GCC 2018-02-02 11:35:04 +08:00
PcdValueCommon.h BaseTools: add ASSERT checker for array buffer value assignment. 2018-10-16 08:59:49 +08:00
PeCoffLib.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
PeCoffLoaderEx.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
SimpleFileParsing.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
SimpleFileParsing.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
StringFuncs.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
StringFuncs.h BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
TianoCompress.c BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
WinNtInclude.h License header updated to match correct format. 2014-08-28 13:53:34 +00:00