diff options
Diffstat (limited to 'src/cpu/amd/model_10xxx/model_10xxx_init.c')
-rw-r--r-- | src/cpu/amd/model_10xxx/model_10xxx_init.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/cpu/amd/model_10xxx/model_10xxx_init.c b/src/cpu/amd/model_10xxx/model_10xxx_init.c index 01ae319e22..c6cf64a5a4 100644 --- a/src/cpu/amd/model_10xxx/model_10xxx_init.c +++ b/src/cpu/amd/model_10xxx/model_10xxx_init.c @@ -38,26 +38,6 @@ #define MCI_STATUS 0x401 -msr_t rdmsr_amd(u32 index) -{ - msr_t result; - __asm__ __volatile__( - "rdmsr" - :"=a"(result.lo), "=d"(result.hi) - :"c"(index), "D"(0x9c5a203a) - ); - return result; -} - -void wrmsr_amd(u32 index, msr_t msr) -{ - __asm__ __volatile__( - "wrmsr" - : /* No outputs */ - :"c"(index), "a"(msr.lo), "d"(msr.hi), "D"(0x9c5a203a) - ); -} - static void model_10xxx_init(device_t dev) { u8 i; |