i386: Introduce X86CPUCacheCPUID struct
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | i386: make cache structs const-safetarget/ target/ | +22 | 0 replies | |
| 2/2 | i386: Introduce X86CPUCacheCPUID structtarget/ target/ | +63 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] i386: Introduce X86CPUCacheCPUID struct
The new struct will let us declare the existing legacy CPU topology info in a static constant, instead of defining it inside x86_cpu_realizefn(). While doing it, make the CPU cache declarations all constants.
This will help us represent the model-specific cache info as QOM properties in the future. Currently X86CPUDefinition::cache_info (which is being renamed to X86CPUDefinition::cache_cpuid) is the only CPU model field that can't be represented as a QOM property value.
Eduardo Habkost (2):
i386: make cache structs const-safe
i386: Introduce X86CPUCacheCPUID struct
target/i386/cpu.h | 15 +++--- target/i386/cpu.c | 134 +++++++++++++++++++++++++++------------------- 2 files changed, 84 insertions(+), 65 deletions(-)
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140