coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootsplash.h File Reference
#include <types.h>
Include dependency graph for bootsplash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void set_bootsplash (unsigned char *framebuffer, unsigned int x_resolution, unsigned int y_resolution, unsigned int fb_resolution)
 Sets up the framebuffer with the bootsplash.jpg from cbfs. More...
 
void bmp_load_logo (uint32_t *logo_ptr, uint32_t *logo_size)
 
void bmp_release_logo (void)
 

Function Documentation

◆ bmp_load_logo()

void bmp_load_logo ( uint32_t logo_ptr,
uint32_t logo_size 
)

Definition at line 11 of file bmp_logo.c.

References acpi_is_wakeup_s3(), cbfs_load(), cbmem_entry_add(), cbmem_entry_start(), CBMEM_ID_FSP_LOGO, logo_entry, and MiB.

Referenced by fsp_run_silicon_init(), and soc_load_logo().

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

◆ bmp_release_logo()

void bmp_release_logo ( void  )

Definition at line 32 of file bmp_logo.c.

References cbmem_entry_remove(), logo_entry, and NULL.

Referenced by do_silicon_init(), and fsp_run_silicon_init().

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

◆ set_bootsplash()

void set_bootsplash ( unsigned char *  framebuffer,
unsigned int  x_resolution,
unsigned int  y_resolution,
unsigned int  fb_resolution 
)

Sets up the framebuffer with the bootsplash.jpg from cbfs.

Returns 0 on success CB_ERR on cbfs errors and >0 on jpeg errors.

Definition at line 13 of file bootsplash.c.

References BIOS_DEBUG, BIOS_ERR, BIOS_INFO, cbfs_map(), cbfs_unmap(), jpeg_decode(), jpeg_fetch_size(), malloc(), NULL, and printk.

Referenced by lb_framebuffer().

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