mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
qapi/machine: Drop temporary 'prefix'
Recent commit "qapi: Smarter camel_to_upper() to reduce need for 'prefix'" added a temporary 'prefix' to delay changing the generated code. Revert it. This improves HmatLBDataType's generated enumeration constant prefix from HMATLB_DATA_TYPE to HMAT_LB_DATA_TYPE, and HmatLBMemoryHierarchy's from HMATLB_MEMORY_HIERARCHY to HMAT_LB_MEMORY_HIERARCHY. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Message-ID: <20240904111836.3273842-8-armbru@redhat.com>
This commit is contained in:
parent
1396f2b144
commit
0aa4bd6aeb
3 changed files with 4 additions and 6 deletions
|
@ -234,7 +234,7 @@ static int build_cdat_table(CDATSubHeader ***cdat_table, void *priv)
|
|||
.type = CDAT_TYPE_SSLBIS,
|
||||
.length = sslbis_size,
|
||||
},
|
||||
.data_type = HMATLB_DATA_TYPE_ACCESS_LATENCY,
|
||||
.data_type = HMAT_LB_DATA_TYPE_ACCESS_LATENCY,
|
||||
.entry_base_unit = 10000,
|
||||
},
|
||||
};
|
||||
|
@ -254,7 +254,7 @@ static int build_cdat_table(CDATSubHeader ***cdat_table, void *priv)
|
|||
.type = CDAT_TYPE_SSLBIS,
|
||||
.length = sslbis_size,
|
||||
},
|
||||
.data_type = HMATLB_DATA_TYPE_ACCESS_BANDWIDTH,
|
||||
.data_type = HMAT_LB_DATA_TYPE_ACCESS_BANDWIDTH,
|
||||
.entry_base_unit = 1024,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue