Hi all, I'm completely new to this list and I've never sent a patch before, so excuse me if I missed anything. I've built a new grub module to access MSR. I've done it since it allows you to make tweaks before any OS boots. It also matches an old request in this same list: https://lists.gnu.org/archive/html/grub-devel/2012-09/msg00089.html
Cheers Jesus JesusDF (1): Add a new grub module called msr that registers two commands (rdmsr and wrmsr) to be able to read and write to the model-specific registers. It is i386 specific, as the cpuid module. The name of the module and commands match the linux kernel module and intel commands to interact with it. grub-core/Makefile.core.def | 10 ++++ grub-core/commands/i386/msr.c | 106 ++++++++++++++++++++++++++++++++++ include/grub/i386/msr.h | 67 +++++++++++++++++++++ 3 files changed, 183 insertions(+) create mode 100644 grub-core/commands/i386/msr.c create mode 100644 include/grub/i386/msr.h -- 2.17.1 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel