audk/BaseTools/Source/C/Include
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
..
AArch64 BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00
Arm BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00
Common BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00
Guid BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Ia32 BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00
IndustryStandard BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Protocol BaseTools: Sync the DevicePath Function update from MdePkg 2018-10-27 19:49:26 +08:00
X64 BaseTools/CommonLib: drop the use of MAX_ADDRESS 2018-12-06 08:32:00 +01:00