coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
transfer_buffer.c File Reference
#include <amdblocks/reset.h>
#include <console/cbmem_console.h>
#include <console/console.h>
#include <pc80/mc146818rtc.h>
#include <security/vboot/vbnv.h>
#include <security/vboot/symbols.h>
#include <soc/psp_transfer.h>
#include <timestamp.h>
#include <2struct.h>
Include dependency graph for transfer_buffer.c:

Go to the source code of this file.

Functions

int transfer_buffer_valid (const struct transfer_info_struct *ptr)
 
void verify_psp_transfer_buf (void)
 
void show_psp_transfer_info (void)
 
void replay_transfer_buffer_cbmemc (void)
 

Function Documentation

◆ replay_transfer_buffer_cbmemc()

void replay_transfer_buffer_cbmemc ( void  )

Definition at line 66 of file transfer_buffer.c.

References cbmemc_copy_in(), cbmemc_init(), info, REGION_SIZE, and transfer_buffer_valid().

Referenced by boot_with_psp_timestamp(), and smm_soc_early_init().

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

◆ show_psp_transfer_info()

void show_psp_transfer_info ( void  )

Definition at line 46 of file transfer_buffer.c.

References BIOS_INFO, info, printk, PSP_INFO_PRODUCTION_MODE, PSP_INFO_PRODUCTION_SILICON, PSP_INFO_VALID, and transfer_buffer_valid().

Referenced by bootblock_soc_init().

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

◆ transfer_buffer_valid()

int transfer_buffer_valid ( const struct transfer_info_struct ptr)

Definition at line 15 of file transfer_buffer.c.

References TRANSFER_MAGIC_VAL.

Referenced by boot_with_psp_timestamp(), replay_transfer_buffer_cbmemc(), and show_psp_transfer_info().

Here is the caller graph for this function:

◆ verify_psp_transfer_buf()

void verify_psp_transfer_buf ( void  )

Definition at line 23 of file transfer_buffer.c.

References BIOS_DEBUG, BIOS_ERR, cmos_init(), cmos_read(), CMOS_RECOVERY_MAGIC_VAL, cmos_write(), die(), printk, vbnv_cmos_failed(), and warm_reset().

Referenced by bootblock_soc_init().

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