mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 06:50:10 +00:00
refactor(qemu-sbsa): rename struct dynamic_platform_info
Rename struct dynamic_platform_info to qemu_platform_info and properly declare a variable name "dynamic_platform_info". That way structures related to the device tree can be moved out of sbsa_sip_svc.c. No change in functionality. Change-Id: I1af39047af96ae02f3b8eecda6cb67508f14d37a Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
This commit is contained in:
parent
7b015e12fe
commit
5ad3c97a5c
1 changed files with 4 additions and 2 deletions
|
@ -60,13 +60,15 @@ typedef struct {
|
|||
uint32_t threads;
|
||||
} cpu_topology;
|
||||
|
||||
static struct {
|
||||
struct qemu_platform_info {
|
||||
uint32_t num_cpus;
|
||||
uint32_t num_memnodes;
|
||||
cpu_data cpu[PLATFORM_CORE_COUNT];
|
||||
cpu_topology cpu_topo;
|
||||
memory_data memory[PLAT_MAX_MEM_NODES];
|
||||
} dynamic_platform_info;
|
||||
};
|
||||
|
||||
static struct qemu_platform_info dynamic_platform_info;
|
||||
|
||||
void sbsa_set_gic_bases(const uintptr_t gicd_base, const uintptr_t gicr_base);
|
||||
uintptr_t sbsa_get_gicd(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue