![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
Go to the source code of this file.
Functions | |
size_t | ulzman (const void *src, size_t srcn, void *dst, size_t dstn) |
void | ram_check (uintptr_t start) |
int | ram_check_nodie (uintptr_t start) |
int | ram_check_noprint_nodie (uintptr_t start) |
void | quick_ram_check_or_die (uintptr_t dst) |
int | primitive_memtest (uintptr_t base, uintptr_t size) |
int | checkstack (void *top_of_stack, int core) |
void | hexdump (const void *memory, size_t length) |
size_t | hexstrtobin (const char *str, uint8_t *buf, size_t len) |
static int | popcnt (u32 x) |
static int | clz (u32 x) |
static int | log2 (u32 x) |
static int | __ffs (u32 x) |
static int | __fls (u32 x) |
static int | log2_ceil (u32 x) |
static int | popcnt64 (u64 x) |
static int | clz64 (u64 x) |
static int | log2_64 (u64 x) |
static int | __ffs64 (u64 x) |
static int | __fls64 (u64 x) |
|
inlinestatic |
Definition at line 55 of file lib.h.
Referenced by msdc_set_field().
|
inlinestatic |
|
inlinestatic |
Definition at line 57 of file lib.h.
Referenced by mtk_pcie_set_trans_window(), and sdhci_init().
|
inlinestatic |
Definition at line 66 of file lib.h.
Referenced by configure_adjustable_base(), and pci_store_rebar_size().
int checkstack | ( | void * | top_of_stack, |
int | core | ||
) |
Definition at line 30 of file stack.c.
References BIOS_ERR, BIOS_SPEW, BUG, printk, and REGION_SIZE.
Referenced by platform_prog_run(), and wait_other_cpus_stop().
|
inlinestatic |
|
inlinestatic |
Definition at line 7 of file hexdump.c.
References BIOS_DEBUG, isprint(), length, memory, MIN, and printk.
Referenced by dump_state(), elog_debug_dump_buffer(), gather_common_timing(), load_vbt(), perform_raminit(), sdram_read_spds(), soc_display_fspm_upd_params(), soc_display_fsps_upd_params(), soc_display_hob(), soc_display_iio_universal_data_hob(), soc_display_memmap_hob(), soc_display_prevbooterr_hob(), spd_memory_init_params(), storage_test(), and tis_sendrecv().
Definition at line 6 of file hexstrtobin.c.
References buf, c, count, isdigit(), isxdigit(), and tolower().
Referenced by acpigen_write_uuid(), parse_uuid(), and transfer_memory_info().
|
inlinestatic |
Definition at line 53 of file lib.h.
Referenced by __ffs(), __fls(), amdfam14_link_read_bases(), amdfam15_link_read_bases(), amdfam16_link_read_bases(), configure_e7501_cas_latency(), dsi_phy_pll_calcandcommit(), i2c_init(), iommu_read_resources(), log2_ceil(), program_memory_map(), rkclk_init(), setup_fifo_params(), and spd_get_msbs().
|
inlinestatic |
|
inlinestatic |
Definition at line 60 of file lib.h.
Referenced by fast_spi_cache_bios_region(), fast_spi_ext_bios_cache_range(), intel_txt_prepare_bios_acm(), lpc_open_pmio_window(), and validate_acm().
|
inlinestatic |
Definition at line 49 of file lib.h.
References x.
Referenced by detect_num_cpus_via_mch(), and intel_txt_prepare_bios_acm().
Definition at line 7 of file primitive_memtest.c.
Definition at line 177 of file ramtest.c.
References die(), phys_memory_barrier(), post_code, read_phys(), and write_phys().
Referenced by cbmem_top_init_once().
Definition at line 120 of file ramtest.c.
References BIOS_DEBUG, die(), printk, and ram_bitset_nodie().
int ram_check_nodie | ( | uintptr_t | start | ) |
Definition at line 134 of file ramtest.c.
References BIOS_DEBUG, printk, and ram_bitset_nodie().
Referenced by raminit().
int ram_check_noprint_nodie | ( | uintptr_t | start | ) |
Definition at line 149 of file ramtest.c.
References addr, phys_memory_barrier(), read_phys(), test_pattern(), value, and write_phys().
Definition at line 19 of file lzma.c.
References BIOS_WARNING, CProb, LZMA_PROPERTIES_SIZE, LZMA_RESULT_OK, LzmaDecode(), LzmaDecodeProperties(), LzmaGetNumProbs, memcpy(), and printk.
Referenced by cbfs_load_and_decompress(), decompress_kernel_header(), extract(), and load_one_segment().