Comment out x86 asm
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23452 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -79,6 +79,7 @@ platform_start_kernel(void)
|
||||
|
||||
dprintf("kernel entry at %lx\n", gKernelArgs.kernel_image.elf_header.e_entry);
|
||||
|
||||
#if 0
|
||||
asm("movl %0, %%eax; " // move stack out of way
|
||||
"movl %%eax, %%esp; "
|
||||
: : "m" (stackTop));
|
||||
@@ -88,6 +89,7 @@ platform_start_kernel(void)
|
||||
"pushl %1; " // this is the start address
|
||||
"ret; " // jump.
|
||||
: : "g" (args), "g" (gKernelArgs.kernel_image.elf_header.e_entry));
|
||||
#endif
|
||||
|
||||
panic("kernel returned!\n");
|
||||
}
|
||||
@@ -107,8 +109,8 @@ _start(void)
|
||||
{
|
||||
stage2_args args;
|
||||
|
||||
asm("cld"); // Ain't nothing but a GCC thang.
|
||||
asm("fninit"); // initialize floating point unit
|
||||
//asm("cld"); // Ain't nothing but a GCC thang.
|
||||
//asm("fninit"); // initialize floating point unit
|
||||
|
||||
clear_bss();
|
||||
call_ctors();
|
||||
|
||||
Reference in New Issue
Block a user