audk/BaseTools/Source/C
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
..
BrotliCompress BaseTools: Update Brotli Compress to the latest one 1.0.6 2018-10-09 22:27:32 +08:00
Common BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00
DevicePath BaseTools/DevicePath: use MAX_UINT32 as default device path max size 2018-12-05 09:04:54 +01:00
EfiRom BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenCrc32 BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenFfs BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenFv BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GenFw BaseTools: ElfConvert Tool update VerboseMsg to same with the comment 2018-07-23 10:53:05 +08:00
GenSec BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Include BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00
LzmaCompress BaseTools LzmaCompress: Fix GCC warning misleading-indentation 2018-10-09 11:47:25 +02:00
Makefiles BaseTools: Support multi thread build Basetool on Windows 2018-09-12 13:02:11 +08:00
PyEfiCompressor BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Split BaseTools GNUmakefile: Remove HOST_ARCH in every tool Makefile 2018-02-06 13:44:42 +08:00
TianoCompress BaseTools: Fix UEFI and Tiano Decompression logic issue 2018-11-11 11:48:31 +08:00
VfrCompile BaseTools/VfrCompile: honor EXTRA_LDFLAGS 2018-08-22 09:32:46 -07:00
VolInfo BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
GNUmakefile BaseTools: Remove tools only used by DuetPkg 2018-12-06 14:32:04 +08:00
Makefile BaseTools: Remove tools only used by DuetPkg 2018-12-06 14:32:04 +08:00