intel/smm/gen1: Rename header file
Change-Id: I258fccc5e1db0bedb641c8af8cb9727954d4d7c1 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34869 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
5ec97cea67
commit
f091f4daf7
|
@ -24,7 +24,7 @@
|
|||
#include <cpu/intel/speedstep.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/name.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <cpu/intel/common/common.h>
|
||||
#include "chip.h"
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/mp.h>
|
||||
#include <cpu/intel/microcode.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <cpu/intel/common/common.h>
|
||||
#include <device/device.h>
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <cpu/x86/name.h>
|
||||
#include "model_2065x.h"
|
||||
#include "chip.h"
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <cpu/intel/common/common.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <pc80/mc146818rtc.h>
|
||||
#include "model_206ax.h"
|
||||
#include "chip.h"
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <cpu/intel/common/common.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <cpu/intel/em64t101_save_state.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <console/console.h>
|
||||
#include <smp/node.h>
|
||||
#include "smi.h"
|
||||
|
||||
#define SMRR_SUPPORTED (1 << 11)
|
||||
|
||||
|
|
|
@ -11,7 +11,10 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <device/device.h>
|
||||
#ifndef __INTEL_SMM_RELOC_H__
|
||||
#define __INTEL_SMM_RELOC_H__
|
||||
|
||||
#include <types.h>
|
||||
|
||||
/* These helpers are for performing SMM relocation. */
|
||||
void southbridge_smm_init(void);
|
||||
|
@ -19,14 +22,17 @@ u32 northbridge_get_tseg_base(void);
|
|||
u32 northbridge_get_tseg_size(void);
|
||||
void northbridge_write_smram(u8 smram);
|
||||
|
||||
bool cpu_has_alternative_smrr(void);
|
||||
void smm_lock(void);
|
||||
void smm_relocate(void);
|
||||
|
||||
/* parallel MP helper functions */
|
||||
void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
|
||||
size_t *smm_save_state_size);
|
||||
void smm_initialize(void);
|
||||
void southbridge_smm_clear_state(void);
|
||||
void smm_relocation_handler(int cpu, uintptr_t curr_smbase,
|
||||
uintptr_t staggered_smbase);
|
||||
void smm_relocate(void);
|
||||
void smm_lock(void);
|
||||
|
||||
/* To be removed. */
|
||||
void smm_initialize(void);
|
||||
void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize, size_t *smm_save_state_size);
|
||||
void smm_relocation_handler(int cpu, uintptr_t curr_smbase, uintptr_t staggered_smbase);
|
||||
|
||||
bool cpu_has_alternative_smrr(void);
|
||||
|
||||
#endif
|
|
@ -27,7 +27,7 @@
|
|||
#include <cbmem.h>
|
||||
#include <program_loading.h>
|
||||
#include <stage_cache.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include "gm45.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <cpu/cpu.h>
|
||||
#include <boot/tables.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "gm45.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <cpu/intel/romstage.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <program_loading.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <stdint.h>
|
||||
#include <stage_cache.h>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <cpu/cpu.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include "i945.h"
|
||||
|
||||
static int get_pcie_bar(u32 *base)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <program_loading.h>
|
||||
#include <stage_cache.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include "nehalem.h"
|
||||
|
||||
static uintptr_t smm_region_start(void)
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <cpu/cpu.h>
|
||||
#include "chip.h"
|
||||
#include "nehalem.h"
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
|
||||
static int bridge_revision_id = -1;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <device/pci_ops.h>
|
||||
#include "nehalem.h"
|
||||
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
|
||||
void northbridge_write_smram(u8 smram)
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <northbridge/intel/pineview/pineview.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/intel/romstage.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <stdint.h>
|
||||
#include <stage_cache.h>
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <boot/tables.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <northbridge/intel/pineview/pineview.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
|
||||
/* Reserve everything between A segment and 1MB:
|
||||
*
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <cbmem.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/intel/romstage.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <program_loading.h>
|
||||
#include <stage_cache.h>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <cpu/cpu.h>
|
||||
#include "chip.h"
|
||||
#include "sandybridge.h"
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
|
||||
static int bridge_revision_id = -1;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <northbridge/intel/x4x/x4x.h>
|
||||
#include <program_loading.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <stage_cache.h>
|
||||
|
||||
/** Decodes used Graphics Mode Select (GMS) to kilobytes. */
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <northbridge/intel/x4x/iomap.h>
|
||||
#include <northbridge/intel/x4x/chip.h>
|
||||
#include <northbridge/intel/x4x/x4x.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
|
||||
static const int legacy_hole_base_k = 0xa0000 / 1024;
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <arch/io.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <cpu/intel/smm/gen1/smi.h>
|
||||
#include <cpu/intel/smm_reloc.h>
|
||||
#include <southbridge/intel/common/pmbase.h>
|
||||
#include <southbridge/intel/common/pmutil.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue