diff options
| author | Ard Biesheuvel <[email protected]> | 2020-01-03 12:39:45 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-01-10 18:55:03 +0100 |
| commit | 5b279a262f5413889529802b82e153e87ee6bef8 (patch) | |
| tree | 25a7cff518f6399cf972492a44a8591b4cdf4dbd /tools/perf/scripts/python/syscall-counts.py | |
| parent | 33b85447fa61946b94fea93dd4bc24772af14d54 (diff) | |
efi/x86: Clean up efi_systab_init() routine for legibility
Clean up the efi_systab_init() routine which maps the EFI system
table and copies the relevant pieces of data out of it.
The current routine is very difficult to read, so let's clean that
up. Also, switch to a R/O mapping of the system table since that is
all we need.
Finally, use a plain u64 variable to record the physical address of
the system table instead of pointlessly stashing it in a struct efi
that is never used for anything else.
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Arvind Sankar <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions