src/include: Improve code formatting
Change-Id: Ic8ffd26e61c0c3f27872699bb6aa9c39204155b7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16390 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
a15dde0719
commit
8ffd050cf0
@ -39,8 +39,7 @@ static inline __attribute__((always_inline)) msr_t rdmsr(unsigned index)
|
||||
return soc_msr_read(index);
|
||||
}
|
||||
|
||||
static inline __attribute__((always_inline)) void wrmsr(unsigned index,
|
||||
msr_t msr)
|
||||
static inline __attribute__((always_inline)) void wrmsr(unsigned index, msr_t msr)
|
||||
{
|
||||
soc_msr_write(index, msr);
|
||||
}
|
||||
@ -67,8 +66,7 @@ static inline __attribute__((always_inline)) msr_t rdmsr(unsigned index)
|
||||
return result;
|
||||
}
|
||||
|
||||
static inline __attribute__((always_inline)) void wrmsr(unsigned index,
|
||||
msr_t msr)
|
||||
static inline __attribute__((always_inline)) void wrmsr(unsigned index, msr_t msr)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
"wrmsr"
|
||||
|
Loading…
x
Reference in New Issue
Block a user