1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef HW_SPAPR_NUMA_H
14#define HW_SPAPR_NUMA_H
15
16#include "hw/boards.h"
17#include "hw/ppc/spapr.h"
18
19
20
21
22
23
24
25void spapr_numa_associativity_init(SpaprMachineState *spapr,
26 MachineState *machine);
27void spapr_numa_associativity_check(SpaprMachineState *spapr);
28void spapr_numa_write_rtas_dt(SpaprMachineState *spapr, void *fdt, int rtas);
29void spapr_numa_write_associativity_dt(SpaprMachineState *spapr, void *fdt,
30 int offset, int nodeid);
31int spapr_numa_fixup_cpu_dt(SpaprMachineState *spapr, void *fdt,
32 int offset, PowerPCCPU *cpu);
33int spapr_numa_write_assoc_lookup_arrays(SpaprMachineState *spapr, void *fdt,
34 int offset);
35unsigned int spapr_numa_initial_nvgpu_numa_id(MachineState *machine);
36
37#endif
38