summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-01-26 10:46:30 +0300
committerArd Biesheuvel <ardb@kernel.org>2025-02-21 18:54:05 +0300
commitdac628e9563640e2de7878decc03a508b1ba319a (patch)
tree914b70b037bf60a52653dd581da46cdbcdac7721 /tools/perf/scripts/python/mem-phys-addr.py
parent2014c95afecee3e76ca4a56956a936e23283f05b (diff)
downloadlinux-dac628e9563640e2de7878decc03a508b1ba319a.tar.xz
x86/efistub: Merge PE and handover entrypoints
The difference between the PE and handover entrypoints in the EFI stub is that the former allocates a struct boot_params whereas the latter expects one from the caller. Currently, these are two completely separate entrypoints, duplicating some logic and both relying of efi_exit() to return straight back to the firmware on an error. Simplify this by making the PE entrypoint call the handover entrypoint with NULL as the argument for the struct boot_params parameter. This makes the code easier to follow, and removes the need to support two different calling conventions in the mixed mode asm code. While at it, move the assignment of boot_params_ptr into the function that actually calls into the legacy decompressor, which is where its value is required. Acked-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions