* Feature: Reimplement POSIX CPU information.

* BugFix: Correct a typo in setProcessoInformation -> setProcessorInformation.
This commit is contained in:
Robert MacGregor 2022-05-24 20:58:28 -04:00
parent c687c0d23a
commit 2368f1d97c
5 changed files with 221 additions and 17 deletions

View file

@ -137,7 +137,7 @@ void Processor::init()
dMemset(brand, 0, sizeof(brand));
getBrand(brand);
SetProcessoInfo(Platform::SystemInfo.processor, vendor, brand);
SetProcessorInfo(Platform::SystemInfo.processor, vendor, brand);
detectCpuFeatures(Platform::SystemInfo.processor);
U32 mhz = 1000; // default if it can't be found