summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/amd/mtrr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h
index f1b95b6636..b8b820ca73 100644
--- a/src/include/cpu/amd/mtrr.h
+++ b/src/include/cpu/amd/mtrr.h
@@ -65,12 +65,12 @@ static __always_inline void wrmsr_amd(unsigned int index, msr_t msr)
);
}
-static inline uint64_t amd_topmem(void)
+static inline uint64_t get_top_of_mem_below_4gb(void)
{
return rdmsr(TOP_MEM).lo;
}
-static inline uint64_t amd_topmem2(void)
+static inline uint64_t get_top_of_mem_above_4g(void)
{
msr_t msr = rdmsr(TOP_MEM2);
return (uint64_t)msr.hi << 32 | msr.lo;