Patch set 8:Code-Review +1
2 comments:
File src/arch/x86/early_dram.ld:
/*
* .near_reset_vector is used to position code that must be reachable
* from the reset vector. For a program size <= 64KB, this happens by
* default, however with > 64KB it is artificially enforced.
*/
_NEAR_RESET_VECTOR = CONFIG_ROMSTAGE_ADDR + CONFIG_RAM_RESET_VECTOR_STAGE_SIZE - 0x100;
_RESET_VECTOR = CONFIG_ROMSTAGE_ADDR + CONFIG_RAM_RESET_VECTOR_STAGE_SIZE - 0x10;
. = _NEAR_RESET_VECTOR;
.near_reset_vector . : {
*(.near_reset_vector);
}
Nice. Can't this solution be generalised for x86 bootblocks too?
File src/arch/x86/reset_in_dram_crt0.S:
Patch Set #8, Line 33: $(_ebss)
drop the brackets around constants?
To view, visit change 35035. To unsubscribe, or for help writing mail filters, visit settings.