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

2024-09-20 Thread Ross Philipson via Grub-devel
On 9/19/24 3:02 PM, 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 function and make it public. By the

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

2024-09-19 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