virt.h (de7e907d011cf12805b80150a81470ff7c8b5d44) | virt.h (72674db080bcdf2fd66b2a538379ee6000f5b113) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Definitions for loongarch board emulation. 4 * 5 * Copyright (C) 2021 Loongson Technology Corporation Limited 6 */ 7 8#ifndef HW_LOONGARCH_H --- 23 unchanged lines hidden (view full) --- 32#define VIRT_GED_EVT_ADDR 0x100e0000 33#define VIRT_GED_MEM_ADDR (VIRT_GED_EVT_ADDR + ACPI_GED_EVT_SEL_LEN) 34#define VIRT_GED_REG_ADDR (VIRT_GED_MEM_ADDR + MEMORY_HOTPLUG_IO_LEN) 35 36#define COMMAND_LINE_SIZE 512 37 38#define FDT_BASE 0x100000 39 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Definitions for loongarch board emulation. 4 * 5 * Copyright (C) 2021 Loongson Technology Corporation Limited 6 */ 7 8#ifndef HW_LOONGARCH_H --- 23 unchanged lines hidden (view full) --- 32#define VIRT_GED_EVT_ADDR 0x100e0000 33#define VIRT_GED_MEM_ADDR (VIRT_GED_EVT_ADDR + ACPI_GED_EVT_SEL_LEN) 34#define VIRT_GED_REG_ADDR (VIRT_GED_MEM_ADDR + MEMORY_HOTPLUG_IO_LEN) 35 36#define COMMAND_LINE_SIZE 512 37 38#define FDT_BASE 0x100000 39 |
40extern struct memmap_entry *memmap_table; 41extern unsigned memmap_entries; 42 43struct memmap_entry { 44 uint64_t address; 45 uint64_t length; 46 uint32_t type; 47 uint32_t reserved; 48}; 49 | |
50struct LoongArchMachineState { 51 /*< private >*/ 52 MachineState parent_obj; 53 54 MemoryRegion lowmem; 55 MemoryRegion highmem; 56 MemoryRegion bios; 57 bool bios_loaded; --- 23 unchanged lines hidden --- | 40struct LoongArchMachineState { 41 /*< private >*/ 42 MachineState parent_obj; 43 44 MemoryRegion lowmem; 45 MemoryRegion highmem; 46 MemoryRegion bios; 47 bool bios_loaded; --- 23 unchanged lines hidden --- |