[coreboot] [PATCH] Die properly if CBFS can't find a stage
marcj303 at gmail.com
Thu Aug 27 05:39:11 CEST 2009
On Wed, Aug 26, 2009 at 9:30 PM, Carl-Daniel
Hailfinger<c-d.hailfinger.devel.2006 at gmx.net> wrote:
> cbfs_and_run_core() did not check the return code of cbfs_load_stage()
> and jumped to (void*)-1 on error.
> Die properly instead.
> I didn't use die() because that caused a linker error.
How about some inline asm to do a hlt instruction in the for loop?
That would be better than spinning full speed.
More information about the coreboot