![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/cpu.h>
#include <program_loading.h>
#include <commonlib/region.h>
#include <console/console.h>
#include <cpu/x86/mtrr.h>
Go to the source code of this file.
Macros | |
#define | MAX_CPU_CACHE (256 * KiB) |
Functions | |
static uint32_t | max_cache_used (void) |
void | platform_prog_run (struct prog *prog) |
#define MAX_CPU_CACHE (256 * KiB) |
Definition at line 11 of file xip_cache.c.
Definition at line 15 of file xip_cache.c.
References get_var_mtrr_count(), msr_struct::lo, MTRR_PHYS_MASK, MTRR_PHYS_MASK_VALID, rdmsr(), and total_mtrrs.
Referenced by platform_prog_run().
Definition at line 29 of file xip_cache.c.
References ALIGN_DOWN, ALIGN_UP, base, BIOS_DEBUG, BIOS_NOTICE, cpuid_eax(), get_fms(), get_free_var_mtrr(), KiB, max_cache_used(), MAX_CPU_CACHE, MIN, MTRR_TYPE_WRPROT, printk, prog_size(), prog_start(), and set_var_mtrr().