<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 11, 2018 at 1:16 AM 王翔 <merle@tya.email> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br><br><div>So, I want to ask : "Whether coreboot has restrictions on the bootblock program, cannot use static variables with initial values."</div><div><br></div><div>Looking forward to your reply!Thank you!</div></blockquote><div><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">​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.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div><br></div><div>XiangWang<br></div><br><div><u></u><u></u></div>-- <br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/mailman/listinfo/coreboot</a></blockquote></div></div>