boot.h (de7e907d011cf12805b80150a81470ff7c8b5d44) | boot.h (72674db080bcdf2fd66b2a538379ee6000f5b113) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Definitions for LoongArch boot. 4 * 5 * Copyright (C) 2023 Loongson Technology Corporation Limited 6 */ 7 8#ifndef HW_LOONGARCH_BOOT_H --- 90 unchanged lines hidden (view full) --- 99struct loongarch_boot_info { 100 uint64_t ram_size; 101 const char *kernel_filename; 102 const char *kernel_cmdline; 103 const char *initrd_filename; 104 uint64_t a0, a1, a2; 105}; 106 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Definitions for LoongArch boot. 4 * 5 * Copyright (C) 2023 Loongson Technology Corporation Limited 6 */ 7 8#ifndef HW_LOONGARCH_BOOT_H --- 90 unchanged lines hidden (view full) --- 99struct loongarch_boot_info { 100 uint64_t ram_size; 101 const char *kernel_filename; 102 const char *kernel_cmdline; 103 const char *initrd_filename; 104 uint64_t a0, a1, a2; 105}; 106 |
107extern struct memmap_entry *memmap_table; 108extern unsigned memmap_entries; 109 110struct memmap_entry { 111 uint64_t address; 112 uint64_t length; 113 uint32_t type; 114 uint32_t reserved; 115}; 116 |
|
107void loongarch_load_kernel(MachineState *ms, struct loongarch_boot_info *info); 108 109#endif /* HW_LOONGARCH_BOOT_H */ | 117void loongarch_load_kernel(MachineState *ms, struct loongarch_boot_info *info); 118 119#endif /* HW_LOONGARCH_BOOT_H */ |