6 /* Symbols defined by the linker */
7 extern char _bss[], _ebss[];
10 * This file provides the basic entry points from assembly code. See
11 * README.i386 for a description of the entry code path.
16 * arch_main() : call main() and then exit via whatever exit mechanism
17 * the prefix requested.
20 void arch_main ( struct i386_all_regs *regs ) {
21 void (*exit_path) ( struct i386_all_regs *regs );
23 /* Determine exit path requested by prefix */
24 exit_path = ( typeof ( exit_path ) ) regs->eax;
30 /* Prefix requested that we use a particular function
31 * as the exit path, so we call this function, which