[PATCH 6/6] x86: Add msr command

Simon Glass sjg at chromium.org
Fri Oct 18 01:12:11 CEST 2024


It is useful to obtain the results of MSR queries as well as to update
MSR registers, so add a command these tasks.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 cmd/x86/Makefile      |  2 +-
 cmd/x86/msr.c         | 52 ++++++++++++++++++++++++++++++++++++
 doc/usage/cmd/msr.rst | 61 +++++++++++++++++++++++++++++++++++++++++++
 doc/usage/index.rst   |  1 +
 test/cmd/Makefile     |  2 +-
 test/cmd/msr.c        | 38 +++++++++++++++++++++++++++
 6 files changed, 154 insertions(+), 2 deletions(-)
 create mode 100644 cmd/x86/msr.c
 create mode 100644 doc/usage/cmd/msr.rst
 create mode 100644 test/cmd/msr.c

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list