diff options
author | Jeffrey Hugo <[email protected]> | 2016-08-29 14:38:54 -0600 |
---|---|---|
committer | Matt Fleming <[email protected]> | 2016-09-05 12:40:16 +0100 |
commit | d64934019f6cc39202e2f78063709f61ca5cb364 (patch) | |
tree | c018fb3826ea8492641be62c2f3162fb67f5aa0e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | ed9cc156c42ff0c0bf9b1d09df48a12bf0873473 (diff) |
x86/efi: Use efi_exit_boot_services()
The eboot code directly calls ExitBootServices. This is inadvisable as the
UEFI spec details a complex set of errors, race conditions, and API
interactions that the caller of ExitBootServices must get correct. The
eboot code attempts allocations after calling ExitBootSerives which is
not permitted per the spec. Call the efi_exit_boot_services() helper
intead, which handles the allocation scenario properly.
Signed-off-by: Jeffrey Hugo <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions