blob: 854f2b065778c96e662204f9589c498d99985755 [file] [log] [blame]
Lee Leahy0946ec32015-04-20 15:24:54 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2015 Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Lee Leahy0946ec32015-04-20 15:24:54 -070014 */
15
16#ifndef _INTEL_COMMON_UTIL_H_
17#define _INTEL_COMMON_UTIL_H_
18
19#include <arch/cpu.h>
Lee Leahy95909922016-01-29 14:35:13 -080020#include <cpu/x86/msr.h>
Lee Leahy0946ec32015-04-20 15:24:54 -070021#include <stdint.h>
22
23asmlinkage void soc_display_mtrrs(void);
Lee Leahy0946ec32015-04-20 15:24:54 -070024uint32_t soc_get_variable_mtrr_count(uint64_t *msr);
Lee Leahy0946ec32015-04-20 15:24:54 -070025
26#endif /* _INTEL_COMMON_UTIL_H_ */