[coreboot] Whether coreboot has restrictions on the bootblock program, cannot use static variables with initial values.

Aaron Durbin adurbin at google.com
Wed Jul 11 17:10:29 CEST 2018


On Wed, Jul 11, 2018 at 1:16 AM 王翔 <merle at tya.email> wrote:

> I am try to read the code that cache-as-ram of bootblock stage. And found
> that just cleared the memory and did not initialize the data segment code.
>
> So, I want to ask : "Whether coreboot has restrictions on the bootblock
> program, cannot use static variables with initial values."
>
> Looking forward to your reply!Thank you!
>

​coreboot does not currently support static objects that would reside in a
data segment.​ That would require runtime support for loading them into the
proper area. It's doable, but it hasn't been a feature with a very high
priority.


>
> XiangWang
>
> --
> coreboot mailing list: coreboot at coreboot.org
> https://mail.coreboot.org/mailman/listinfo/coreboot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20180711/9e0ed8ec/attachment.html>


More information about the coreboot mailing list