ShellPkg: Add rdmsr Shell Command for x86 MSR Readback#12432
ShellPkg: Add rdmsr Shell Command for x86 MSR Readback#12432RaajKumar-code wants to merge 1 commit intotianocore:masterfrom
Conversation
Signed-off-by: raajkumars <raajkumars@ami.com>
|
Hello, Even though having the ability to read some registers from the uefi shell seems useful, adding new commands should require more discussions with the edk2 stewards and spec. owners. (not requesting any change, but the ability to read specific registers seems more related to debugging, so maybe the |
|
My concern is that we start accumulating a lot of code to maintain for simple operations that have historically been performed in more flexible places. For example, the use case given is "firmware debugging and validation". MSRs can be read at any point in boot with a software/hardware debugger (when debugging) and validation has used EFI applications in shell to read MSRs. |
Description
This PR adds a new Shell Level 3 built-in command, rdmsr, to read x86 Model Specific Registers (MSRs) from the UEFI Shell.
Why this change was made:
Scope of changes:
Impact:
How This Was Tested
Ran PatchCheck on the latest commit and it passed
Built and verified integration in local EDK II workflow.
Manually validated command behavior in shell:
Integration Instructions
N/A