Re: [coreboot] Doubts about link scripts

2018-07-25 Thread Julius Werner
> I try to read link scripts of coreboot. > In addition to the x86 platform, code segments and data segments are > contiguous during the bootblock/romstage phase. There is no data segment for bootblock/romstage on x86. You are not allowed to use global (or static local) variables. The build

[coreboot] Doubts about link scripts

2018-07-23 Thread 王翔
I try to read link scripts of coreboot. In addition to the x86 platform, code segments and data segments are contiguous during the bootblock/romstage phase. However, only CAR/SRAM can be used as memory in the bootblock/romstage stage, this should be separate from the flash where the program is