coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
report_platform.c File Reference
#include <console/console.h>
#include <arch/cpu.h>
#include <cpu/intel/microcode.h>
#include <string.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <device/pci_ops.h>
#include <cpu/x86/msr.h>
#include "haswell.h"
Include dependency graph for report_platform.c:

Go to the source code of this file.

Functions

static void report_cpu_info (void)
 
static void report_pch_info (void)
 
void report_platform_info (void)
 

Variables

struct {
   u16   dev_id
 
   const char *   dev_name
 
pch_table []
 

Function Documentation

◆ report_cpu_info()

static void report_cpu_info ( void  )
static

Definition at line 12 of file report_platform.c.

References BIOS_DEBUG, cpu_get_cpuid(), cpu_get_feature_flags_ecx(), cpu_id, cpuid, CPUID_AES, CPUID_SMX, CPUID_VMX, cpuid_result::eax, cpuid_result::ebx, cpuid_result::ecx, cpuid_result::edx, get_current_microcode_rev(), printk, and strcpy().

Referenced by report_platform_info().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ report_pch_info()

static void report_pch_info ( void  )
static

Definition at line 76 of file report_platform.c.

References ARRAY_SIZE, BIOS_DEBUG, dev_id, PCH_LPC_DEV, pch_table, pch_type(), pci_read_config16(), pci_read_config8(), and printk.

Referenced by report_platform_info().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ report_platform_info()

void report_platform_info ( void  )

Definition at line 92 of file report_platform.c.

Variable Documentation

◆ dev_id

u16 dev_id

Definition at line 52 of file report_platform.c.

Referenced by ivhd_describe_f0_device(), report_pch_info(), and uart_enable().

◆ dev_name

const char* dev_name

Definition at line 53 of file report_platform.c.

Referenced by bochs_init_linear_fb(), and smbios_walk_device_tree().

◆ 

struct { ... } pch_table[]
Initial value:
= {
{0x8c41, "Mobile Engineering Sample"},
{0x8c42, "Desktop Engineering Sample"},
{0x8c44, "Z87"},
{0x8c46, "Z85"},
{0x8c49, "HM86"},
{0x8c4a, "H87"},
{0x8c4b, "HM87"},
{0x8c4c, "Q85"},
{0x8c4e, "Q87"},
{0x8c4f, "QM87"},
{0x8c50, "B85"},
{0x8c52, "C222"},
{0x8c54, "C224"},
{0x8c56, "C226"},
{0x8c5c, "H81"},
{0x9c41, "LP Full Featured Engineering Sample"},
{0x9c43, "LP Premium"},
{0x9c45, "LP Mainstream"},
{0x9c47, "LP Value"},
}

Referenced by report_pch_info().