coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
image.c File Reference
#include <agesa_headers.h>
#include <amdblocks/image.h>
#include <types.h>
Include dependency graph for image.c:

Go to the source code of this file.

Functions

static bool validate_image (void *module_chain, const char module_signature[8])
 
voidamd_find_image (const void *start_address, const void *end_address, uint32_t alignment, const char name[8])
 

Function Documentation

◆ amd_find_image()

void* amd_find_image ( const void start_address,
const void end_address,
uint32_t  alignment,
const char  name[8] 
)

Definition at line 28 of file image.c.

References IMAGE_SIGNATURE, _AMD_IMAGE_HEADER::ModuleInfoOffset, name, NULL, and validate_image().

Referenced by agesawrapper_locate_module().

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

◆ validate_image()

static bool validate_image ( void module_chain,
const char  module_signature[8] 
)
static

Definition at line 8 of file image.c.

References _AMD_MODULE_HEADER::ModuleHeaderSignature, _AMD_MODULE_HEADER::ModuleIdentifier, and NULL.

Referenced by amd_find_image().

Here is the caller graph for this function: