coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <cpu/x86/lapic.h>
#include <console/console.h>
#include <stdint.h>
#include <string.h>
#include <timestamp.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <amdlib.h>
#include <debug_util.h>
#include <AGESA.h>
#include <AMD.h>
Go to the source code of this file.
Data Structures | |
struct | agesa_mapping |
Macros | |
#define | MAX_LOG_ENTRIES 100 |
Functions | |
void | agesa_state_on_entry (struct agesa_state *task, AGESA_STRUCT_NAME func) |
void | agesa_state_on_exit (struct agesa_state *task, AMD_CONFIG_PARAMS *StdHeader) |
static const char * | decodeAGESA_STATUS (AGESA_STATUS sret) |
static void | show_event (EVENT_PARAMS *Event) |
static void | amd_flush_eventlog (EVENT_PARAMS *Event) |
void | agesawrapper_trace (AGESA_STATUS ret, AMD_CONFIG_PARAMS *StdHeader, const char *func) |
AGESA_STATUS | agesawrapper_amdreadeventlog (UINT8 HeapStatus) |
Variables | |
static const char | undefined [] = "undefined" |
static const struct agesa_mapping | entrypoint [] |
#define MAX_LOG_ENTRIES 100 |
Definition at line 165 of file eventlog.c.
void agesa_state_on_entry | ( | struct agesa_state * | task, |
AGESA_STRUCT_NAME | func | ||
) |
Definition at line 97 of file eventlog.c.
References agesa_state::apic_id, ARRAY_SIZE, BIOS_DEBUG, agesa_mapping::entry_id, entrypoint, agesa_mapping::exit_id, agesa_mapping::func, agesa_state::func, agesa_state::function_name, initial_lapicid(), agesa_mapping::name, printk, agesa_state::ts_entry_id, agesa_state::ts_exit_id, and undefined.
Referenced by agesa_execute_state().
void agesa_state_on_exit | ( | struct agesa_state * | task, |
AMD_CONFIG_PARAMS * | StdHeader | ||
) |
Definition at line 118 of file eventlog.c.
References agesa_state::apic_id, BIOS_DEBUG, agesa_state::func, agesa_state::function_name, and printk.
Referenced by agesa_execute_state().
AGESA_STATUS agesawrapper_amdreadeventlog | ( | UINT8 | HeapStatus | ) |
Definition at line 197 of file eventlog.c.
References AGESA_SUCCESS, amd_flush_eventlog(), GetBiosCallout(), and memset().
void agesawrapper_trace | ( | AGESA_STATUS | ret, |
AMD_CONFIG_PARAMS * | StdHeader, | ||
const char * | func | ||
) |
Definition at line 182 of file eventlog.c.
References AGESA_SUCCESS, amd_flush_eventlog(), BIOS_DEBUG, decodeAGESA_STATUS(), agesa_mapping::func, memcpy(), memset(), and printk.
Referenced by agesa_execute_state().
|
static |
Definition at line 167 of file eventlog.c.
References AGESA_SUCCESS, MAX_LOG_ENTRIES, module_dispatch(), and show_event().
Referenced by agesawrapper_amdreadeventlog(), and agesawrapper_trace().
|
static |
Definition at line 141 of file eventlog.c.
Referenced by agesawrapper_trace(), and callout_ap_entry().
|
static |
Definition at line 152 of file eventlog.c.
References BIOS_DEBUG, and printk.
Referenced by amd_flush_eventlog().
|
static |
Definition at line 16 of file eventlog.c.
Referenced by agesa_state_on_entry().
|
static |
Definition at line 16 of file eventlog.c.
Referenced by agesa_state_on_entry().