Re: [PATCH v3 3/8] i386/msr: Extract and improve MSR support detection code

2024-10-03 Thread Daniel Kiper via Grub-devel
On Sun, Sep 22, 2024 at 08:17:49PM +0300, Sergii Dmytruk wrote: > From: Daniel Kiper > > Currently rdmsr and wrmsr commands have own MSR support detection code. > This code is the same. So, it is duplicated. Additionally, this code > cannot be reused by others. Hence, extract this code to a functi

[PATCH v3 3/8] i386/msr: Extract and improve MSR support detection code

2024-09-22 Thread Sergii Dmytruk
From: Daniel Kiper Currently rdmsr and wrmsr commands have own MSR support detection code. This code is the same. So, it is duplicated. Additionally, this code cannot be reused by others. Hence, extract this code to a function and make it public. By the way, improve a code a bit. Additionally, u