coreboot/src/arch/x86/init/bootblock_simple.c
<<
>>
Prefs
   1#include <bootblock_common.h>
   2
   3static void main(unsigned long bist)
   4{
   5        if (boot_cpu()) {
   6                bootblock_northbridge_init();
   7                bootblock_southbridge_init();
   8                bootblock_cpu_init();
   9        }
  10
  11#if CONFIG_USE_OPTION_TABLE
  12        sanitize_cmos();
  13#endif
  14
  15        const char* target1 = "fallback/romstage";
  16        unsigned long entry;
  17        entry = findstage(target1);
  18        if (entry) call(entry, bist);
  19        asm volatile ("1:\n\thlt\n\tjmp 1b\n\t");
  20}
  21
  22
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.