WIP: feat: Add CPU vendor and features identification #4
No reviewers
Labels
No Label
API CHANGE
BUG
DUPLICATE
ENHANCEMENT
HELP WANTED
IDEA
INVALID
MODDING
QUESTION
REFACTORING
SYNC
TRANSLATION
UPSTREAM
WONTFIX
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xt-sys/exectos#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "(deleted):prcb-cpu-features"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add CPU features and fix CPU vendor.
Add functionality to identify the CPU vendor and features using the CPUID instruction.
The CPU vendor information is stored in the Processor Control Block (PRCB),
including the vendor name and a corresponding enumeration.
CPU features are also retrieved and stored in the PRCB.
Previously, the CPU vendor was not properly stored in the PRCB, caused by a missing type cast.
Using Rtl functions to copy the CPU vendor name to the PRCB.
Details:
ArpSetCpuVendor
andArpSetCpuFeatures
to set CPU vendor and features, respectively.ArpIdentifyProcessor
to call the new functions for vendor and features identification.CPU_FEATURES
structure toKPROCESSOR_CONTROL_BLOCK
structure to store CPU features.Tests:
feat: Add CPU vendor and features identificationto WIP: feat: Add CPU vendor and features identificationI don't see any reason, why you have closed #2 and opened this PR. I have reviewed your proposed changes and I have asked for some changes, which should be done in #2. Afterwards it's easy for me to check what was done originally, what changes I have requested for, and what was fixed. I am not going to review this once again from scratch.
Pull request closed