coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/romstage.h>
#include <commonlib/helpers.h>
#include <device/pci_ops.h>
#include <device/device.h>
#include <device/pci_def.h>
#include <console/console.h>
#include <cbmem.h>
#include <northbridge/intel/pineview/pineview.h>
#include <cpu/x86/mtrr.h>
#include <cpu/x86/smm.h>
#include <cpu/intel/smm_reloc.h>
#include <types.h>
Go to the source code of this file.
Macros | |
#define | __SIMPLE_DEVICE__ |
Functions | |
u32 | decode_igd_memory_size (const u32 gms) |
Decodes used Graphics Mode Select (GMS) to kilobytes. More... | |
u32 | decode_igd_gtt_size (const u32 gsm) |
Decodes used Graphics Stolen Memory (GSM) to kilobytes. More... | |
static u32 | decode_tseg_size (const u32 esmramc) |
Decodes used TSEG size to bytes. More... | |
static size_t | northbridge_get_tseg_size (void) |
static uintptr_t | northbridge_get_tseg_base (void) |
void * | cbmem_top_chipset (void) |
void | smm_region (uintptr_t *start, size_t *size) |
void | fill_postcar_frame (struct postcar_frame *pcf) |
Definition at line 76 of file memmap.c.
References ALIGN_DOWN, MiB, and northbridge_get_tseg_base().
Decodes used Graphics Stolen Memory (GSM) to kilobytes.
Definition at line 31 of file memmap.c.
References BIOS_DEBUG, and printk.
Decodes used Graphics Mode Select (GMS) to kilobytes.
Definition at line 19 of file memmap.c.
References BIOS_DEBUG, and printk.
void fill_postcar_frame | ( | struct postcar_frame * | pcf | ) |
Definition at line 88 of file memmap.c.
References cbmem_top(), MiB, MTRR_TYPE_WRBACK, northbridge_get_tseg_base(), northbridge_get_tseg_size(), and postcar_frame_add_mtrr().
Definition at line 67 of file memmap.c.
References HOST_BRIDGE, pci_read_config32(), and TSEG.
Referenced by cbmem_top_chipset(), fill_postcar_frame(), and smm_region().
Definition at line 61 of file memmap.c.
References decode_tseg_size(), ESMRAMC, HOST_BRIDGE, and pci_read_config8().
Referenced by fill_postcar_frame(), and smm_region().
Definition at line 82 of file memmap.c.
References northbridge_get_tseg_base(), and northbridge_get_tseg_size().