![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | BSP_STACK_BASE_ADDR 0x30000 |
#define | HIGH_ROMSTAGE_STACK_SIZE (0x48000 - BSP_STACK_BASE_ADDR) |
#define | HIGH_MEMORY_SCRATCH 0x30000 |
Enumerations | |
enum | { PICK_DMI , PICK_PSTATE , PICK_SRAT , PICK_SLIT , PICK_WHEA_MCE , PICK_WHEA_CMC , PICK_ALIB , PICK_IVRS , PICK_CRAT , PICK_CDIT } |
Functions | |
void | agesawrapper_setlateinitptr (void *Late) |
void * | agesawrapper_getlateinitptr (int pick) |
void | amd_initcpuio (void) |
void | amd_initenv (void) |
void * | GetHeapBase (void) |
void | EmptyHeap (void) |
void | fixup_cbmem_to_UC (int s3resume) |
void | recover_postcar_frame (struct postcar_frame *pcf, int s3resume) |
void | restore_mtrr (void) |
void | backup_mtrr (void *mtrr_store, u32 *mtrr_store_size) |
const void * | OemS3Saved_MTRR_Storage (void) |
#define BSP_STACK_BASE_ADDR 0x30000 |
Definition at line 31 of file agesa_helper.h.
#define HIGH_MEMORY_SCRATCH 0x30000 |
Definition at line 36 of file agesa_helper.h.
#define HIGH_ROMSTAGE_STACK_SIZE (0x48000 - BSP_STACK_BASE_ADDR) |
Definition at line 34 of file agesa_helper.h.
anonymous enum |
Enumerator | |
---|---|
PICK_DMI | |
PICK_PSTATE | |
PICK_SRAT | |
PICK_SLIT | |
PICK_WHEA_MCE | |
PICK_WHEA_CMC | |
PICK_ALIB | |
PICK_IVRS | |
PICK_CRAT | |
PICK_CDIT |
Definition at line 9 of file agesa_helper.h.
void* agesawrapper_getlateinitptr | ( | int | pick | ) |
Definition at line 34 of file acpi_tables.c.
Definition at line 24 of file acpi_tables.c.
References AmdLateParams.
Definition at line 54 of file fixme.c.
References AccessWidth32.
Referenced by platform_AfterInitEnv().
Definition at line 20 of file s3_mtrr.c.
References msr_struct::lo, MTRR_FIX_16K_80000, MTRR_FIX_16K_A0000, MTRR_FIX_4K_C0000, MTRR_FIX_4K_F8000, MTRR_FIX_64K_00000, MTRR_PHYS_BASE, rdmsr(), SYSCFG_MSR, SYSCFG_MSR_MtrrFixDramModEn, TOP_MEM, TOP_MEM2, write_mtrr(), and wrmsr().
Definition at line 36 of file heapmanager.c.
References base, BIOS_DEBUG, BIOS_HEAP_SIZE, GetHeapBase(), memset(), and printk.
Referenced by platform_BeforeInitEnv().
void fixup_cbmem_to_UC | ( | int | s3resume | ) |
Definition at line 36 of file mtrr_fixme.c.
References ALIGN_UP, cbmem_top(), MiB, and set_range_uc().
Referenced by romstage_main().
Definition at line 22 of file heapmanager.c.
References acpi_is_wakeup_s3(), BIOS_HEAP_START_ADDRESS, cbmem_find(), and CBMEM_ID_RESUME_SCRATCH.
Referenced by EmptyHeap(), and HeapManagerCallout().
Definition at line 142 of file oem_s3.c.
References get_s3nv_data(), NULL, S3DataTypeMTRR, and spi_flash::size.
Referenced by restore_mtrr().
void recover_postcar_frame | ( | struct postcar_frame * | pcf, |
int | s3resume | ||
) |
Definition at line 54 of file mtrr_fixme.c.
References ALIGN_DOWN, base, cbmem_top(), postcar_frame::ctx, mask, var_mtrr_context::max_var_mtrrs, MiB, MTRR_PHYS_BASE, MTRR_PHYS_MASK, MTRR_PHYS_MASK_VALID, MTRR_TYPE_UNCACHEABLE, MTRR_TYPE_WRBACK, postcar_frame_add_mtrr(), rdmsr(), and type.
Referenced by romstage_main().
Definition at line 58 of file s3_mtrr.c.
References disable_cache(), msr_struct::hi, msr_struct::lo, MTRR_FIX_16K_80000, MTRR_FIX_16K_A0000, MTRR_FIX_4K_C0000, MTRR_FIX_4K_F8000, MTRR_FIX_64K_00000, MTRR_PHYS_BASE, MTRR_PHYS_MASK, OemS3Saved_MTRR_Storage(), rdmsr(), SYSCFG_MSR, SYSCFG_MSR_MtrrFixDramModEn, and wrmsr().