From 17bb225be7dd031b9803f33dec88e9d53e3a582f Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 19 Apr 2017 19:55:54 +0300 Subject: AMD MTRR: Add common add_uma_resource_below_tolm() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9eee88dc619ac5d9c77153db522a6ead65f6c9b1 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/19376 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Marshall Dawson Reviewed-by: Paul Menzel --- src/include/cpu/amd/mtrr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/cpu/amd/mtrr.h b/src/include/cpu/amd/mtrr.h index b65c23b83a..b31648d0af 100644 --- a/src/include/cpu/amd/mtrr.h +++ b/src/include/cpu/amd/mtrr.h @@ -41,6 +41,8 @@ #include void amd_setup_mtrrs(void); +struct device; +void add_uma_resource_below_tolm(struct device *nb, int idx); static inline __attribute__((always_inline)) msr_t rdmsr_amd(unsigned int index) { -- cgit v1.2.3