coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
decompressor.c File Reference
#include <bootblock_common.h>
#include <commonlib/bsd/compression.h>
#include <delay.h>
#include <metadata_hash.h>
#include <program_loading.h>
#include <symbols.h>
#include <timestamp.h>
Include dependency graph for decompressor.c:

Go to the source code of this file.

Functions

 asm (".pushsection .data.compressed_bootblock,\"a\",@progbits\n\t" ".type compressed_bootblock, %object\n\t" ".balign 8\n" "compressed_bootblock:\n\t" ".incbin \"" __BUILD_DIR__ "/cbfs/" CONFIG_CBFS_PREFIX "/bootblock.lz4\"\n\t" ".size compressed_bootblock, . - compressed_bootblock\n\t" ".popsection\n\t")
 
__weak void decompressor_soc_init (void)
 
void main (void)
 

Variables

u8 compressed_bootblock []
 
struct bootblock_arg arg
 
struct prog prog_bootblock
 

Function Documentation

◆ asm()

asm ( ".pushsection .data.  compressed_bootblock,
\"a\"  ,
@progbits\n\t" ".type  compressed_bootblock,
%object\n\t" ".balign 8\n" "compressed_bootblock:\n\t" ".incbin \"" __BUILD_DIR__ "/cbfs/" CONFIG_CBFS_PREFIX "/bootblock.lz4\"\n\t" ".size  compressed_bootblock,
. - compressed_bootblock\n\t" ".popsection\n\t"   
)

◆ decompressor_soc_init()

__weak void decompressor_soc_init ( void  )

Definition at line 37 of file decompressor.c.

Referenced by main().

Here is the caller graph for this function:

◆ main()

Variable Documentation

◆ arg

struct bootblock_arg arg
Initial value:
= {
.base_timestamp = 0,
.num_timestamps = 2,
.timestamps = {
{ .entry_id = TS_ULZ4F_START },
{ .entry_id = TS_ULZ4F_END },
},
}
@ TS_ULZ4F_END
@ TS_ULZ4F_START

Definition at line 12 of file decompressor.c.

Referenced by _cbfs_alloc(), _cbfs_cbmem_allocator(), _cbfs_default_allocator(), _cbfs_load(), _cbfs_unverified_area_alloc(), acpigen_write_dsm(), acpigen_write_not(), acpigen_write_return_byte(), acpigen_write_return_integer(), acpigen_write_return_namestr(), acpigen_write_return_op(), acpigen_write_return_singleton_buffer(), acpigen_write_return_string(), add_fw_config_oem_string(), arch_prepare_thread(), arch_prog_run(), bmc_set_post_complete_gpio_callback(), bootmem_walk(), bootmem_walk_os_mem(), call_smm(), call_wrapper_block_state(), cbfs_alloc(), cbfs_ro_alloc(), cbfs_ro_type_alloc(), cbfs_type_alloc(), cbfs_unverified_area_alloc(), cbfs_unverified_area_load(), do_alloc(), do_arch_prog_run(), fit_payload_arch(), fit_place_kernel(), fit_place_mem(), fsp_notify_boot_state_callback(), fsp_notify_dummy(), fspm_allocator(), i2c_hid_func1_cb(), main(), pep_s0ix_return_lpm_requirements(), prepare_thread(), privacy_screen_detect_cb(), privacy_screen_disable_cb(), privacy_screen_enable_cb(), privacy_screen_get_status_cb(), prog_set_arg(), prog_set_entry(), run_payload(), send_command(), smm_do_relocation(), smm_handler_start(), smp_resume(), thread_run(), thread_run_until(), transition_to_el2(), usb4_retimer_cb_set_power_state(), usb4_retimer_path_arg(), usb4_retimer_write_dsm(), var_mtrr_context_init(), vpd_find(), vpd_find_in(), vpd_gets_callback(), and walk_memory_table().

◆ compressed_bootblock

u8 compressed_bootblock[]
extern

Referenced by main().

◆ prog_bootblock

struct prog prog_bootblock
Initial value:
= {
.type = PROG_BOOTBLOCK,
.entry = (void *)_bootblock,
.arg = &arg,
}
struct bootblock_arg arg
Definition: decompressor.c:22
@ PROG_BOOTBLOCK

Definition at line 12 of file decompressor.c.

Referenced by main().