aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2023-08-07 16:27:18 +0000
committerBorislav Petkov (AMD) <[email protected]>2023-08-07 19:01:46 +0000
commitbc5ddceff4c14494d83449ad45c985e6cd353fce (patch)
tree4867cffc891dad0cbf9215160e17abdb6ed650b1 /rust/helpers.c
parentx86/decompressor: Factor out kernel decompression and relocation (diff)
downloadkernel-bc5ddceff4c14494d83449ad45c985e6cd353fce.tar.gz
kernel-bc5ddceff4c14494d83449ad45c985e6cd353fce.zip
efi/libstub: Add limit argument to efi_random_alloc()
x86 will need to limit the kernel memory allocation to the lowest 512 MiB of memory, to match the behavior of the existing bare metal KASLR physical randomization logic. So in preparation for that, add a limit parameter to efi_random_alloc() and wire it up. Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions