History log of /u-boot/lib/efi_selftest/efi_selftest_memory.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 42a426e0 06-May-2020 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_loader: put device tree into EfiACPIReclaimMemory

According to the UEFI spec ACPI tables should be placed in
EfiACPIReclaimMemory. Let's do the same with the device tree.

Suggested-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Grant Likely <grant.likely@arm.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

# 8101dd3d 04-May-2019 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: remove redundant function efi_st_memcmp()

Function memcmp() is available in efi_freestanding.c. So we do not remove a
further implementation.

Replace all usages of efi_st_memcmp() by memcmp().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

# 8688b753 12-Apr-2019 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: expect boot services data for fdt

In a previous patch the memory type used for the FDT has been changed to
boot services data. We have to adjust the test.

Correct an incorrect comment. The tested services are boot services.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

# 207c5bcc 11-Apr-2019 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: physical and virtual addresses must match

At boottime physical and virtual addresses must match. Add a corresponding
check to the memory unit test.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

# 34c96659 18-Nov-2018 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: check fdt is marked as runtime data

Check that the memory area containing the device tree is marked as runtime
data.

Update the Python test to pass ${fdtcontroladdr} to bootefi.

Update the description of the Python test.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>

# 34841303 18-Nov-2018 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: add test for memory allocation

This unit test checks the following runtime services:
AllocatePages, FreePages, GetMemoryMap

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>

# 8101dd3d 04-May-2019 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: remove redundant function efi_st_memcmp()

Function memcmp() is available in efi_freestanding.c. So we do not remove a
further implementation.

Replace all usages of efi_st_memcmp() by memcmp().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

# 8688b753 12-Apr-2019 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: expect boot services data for fdt

In a previous patch the memory type used for the FDT has been changed to
boot services data. We have to adjust the test.

Correct an incorrect comment. The tested services are boot services.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

# 207c5bcc 11-Apr-2019 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: physical and virtual addresses must match

At boottime physical and virtual addresses must match. Add a corresponding
check to the memory unit test.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

# 34c96659 18-Nov-2018 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: check fdt is marked as runtime data

Check that the memory area containing the device tree is marked as runtime
data.

Update the Python test to pass ${fdtcontroladdr} to bootefi.

Update the description of the Python test.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>

# 34841303 18-Nov-2018 Heinrich Schuchardt <xypron.glpk@gmx.de>

efi_selftest: add test for memory allocation

This unit test checks the following runtime services:
AllocatePages, FreePages, GetMemoryMap

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>