diff options
| author | Huacai Chen <[email protected]> | 2022-05-31 18:04:11 +0800 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2022-06-03 20:09:28 +0800 |
| commit | 628c3bb40e9a8cefc0a6fde28b7b66bfe46d1dc2 (patch) | |
| tree | 37f8cf6768e1bab484836d7c2e456475efc7262a /tools/perf/scripts/python | |
| parent | b738c106f7355e318ca47a3b981688efe1bc12fb (diff) | |
LoongArch: Add boot and setup routines
Add basic boot, setup and reset routines for LoongArch. Now, LoongArch
machines use UEFI-based firmware. The firmware passes configuration
information to the kernel via ACPI and DMI/SMBIOS.
Currently an existing interface between the kernel and the bootloader
is implemented. Kernel gets 2 values from the bootloader, passed in
registers a0 and a1; a0 is an "EFI boot flag" distinguishing UEFI and
non-UEFI firmware, while a1 is a pointer to an FDT with systable,
memmap, cmdline and initrd information.
The standard UEFI boot protocol (EFISTUB) will be added later.
Cc: [email protected]
Cc: Ard Biesheuvel <[email protected]>
Reviewed-by: WANG Xuerui <[email protected]>
Reviewed-by: Jiaxun Yang <[email protected]>
Co-developed-by: Yun Liu <[email protected]>
Signed-off-by: Yun Liu <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions