Rémi Bernon (@rbernon) commented about programs/wineboot/wineboot.c:
- *tsc_frequency = read_tsc_frequency( has_rdtscp );
+}
#else
static void initialize_xstate_features(struct _KUSER_SHARED_DATA *data) { }
+static void initialize_qpc_features( struct _KUSER_SHARED_DATA *data, UINT64 *tsc_frequency ) +{
- data->QpcBypassEnabled = 0;
- data->QpcFrequency = TICKSPERSEC;
- data->QpcShift = 0;
- data->QpcBias = 0;
Same, this could probably be dropped. The data parameter would also not be needed.
Then, maybe a FIXME message would be appropriate to indicate that a better frequency measurement needs to be implemented.