summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_memory.c
diff options
context:
space:
mode:
authorMasahisa Kojima <kojima.masahisa@socionext.com>2025-03-17 14:03:57 +0530
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2025-03-26 13:28:08 +0200
commit9c407347b496124849665aca6b76f48118891707 (patch)
treee88d0ffbe06bc4dbc000888149ea02611800ec2e /lib/efi_loader/efi_memory.c
parent7e624377e99314bdfac6cb5a3d216dff49a047e9 (diff)
fdt: add support for adding pmem nodes
One of the problems an OS may face, when running in EFI, is that a mounted ISO, after calling ExitBootServices goes away, if that ISO is resident in RAM memory as a ramdisk. ACPI has NFIT and NVDIMM support to provide ramdisks to the OS, but we don't have anything in place for DTs. Linux and device trees have support for persistent memory devices. So add a function that can inject a pmem node in a DT, so we can pass information on the ramdisk the OS. Signed-off-by: Masahisa Kojima <kojima.masahisa@socionext.com> Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/efi_loader/efi_memory.c')
0 files changed, 0 insertions, 0 deletions