plat/qemu/qemu_bl1_setup.c
/*******************************************************************************
 * Perform any BL1 specific platform actions.
 ******************************************************************************/
Perform any BL1 specific platform actions.
Perform any BL1 specific platform actions .
void bl1_early_platform_setup(void)
{
	qemu_console_init();
	bl1_tzram_layout.total_base = BL_RAM_BASE;
	bl1_tzram_layout.total_size = BL_RAM_SIZE;
#if !LOAD_IMAGE_V2
	bl1_tzram_layout.free_base = BL_RAM_BASE;
	bl1_tzram_layout.free_size = BL_RAM_SIZE;
	reserve_mem(&bl1_tzram_layout.free_base, &bl1_tzram_layout.free_size,
		    BL1_RAM_BASE, BL1_RAM_LIMIT - BL1_RAM_BASE);
#endif 
}
void bl1_early_platform_setup ( void ) { qemu_console_init ( ) ; bl1_tzram_layout . total_base = BL_RAM_BASE ; bl1_tzram_layout . total_size = BL_RAM_SIZE ; #if ! LOAD_IMAGE_V2 bl1_tzram_layout . free_base = BL_RAM_BASE ; bl1_tzram_layout . free_size = BL_RAM_SIZE ; reserve_mem ( & bl1_tzram_layout . free_base , & bl1_tzram_layout . free_size , BL1_RAM_BASE , BL1_RAM_LIMIT - BL1_RAM_BASE ) ; #endif }
Perform any BL1 specific platform actions.
Perform any BL1 specific platform actions .
/* Initialize the console to provide early debug support */ /* Allow BL1 to see the whole Trusted RAM */ /* Calculate how much RAM BL1 is using and how much remains free */ /* !LOAD_IMAGE_V2 */