�w�w�s <[EMAIL PROTECTED]> writes:
> Sir:
>
> Anyone can help me?!
We can try.
> I am going to port LinuxBios to our 486 CPU .
Cool.
Please note the mailing list change.
> It is fine to read IDE ,access Serial , read DOC and gunzip kernel.
> And I am sure that the content of memory(0x100000) is Head.S in LinuxKernel.
> However, I met an unknown bug....REBOOT
> it will reboot after the command......
>
> __asm__ __volatile__("movl $0x90000, %%esi\n\t"
> "movl $0, %%ebx\n\t"
> "ljmp $0x10, %0\n\t"
> :: "i" (0x100000));
>
> I have checked that the first command of Head.S is not reached.
> Anyone has the idea about REBOOT reason?!
>
> ps. the GDT is fine, but I do not implememt IDT.
As long as all interrupts are masked not implementing the IDT should
be fine. If you don't have a GDT setup at this point you could
tripple fault the CPU and reboot.
How are you verifying that your processor doesn't reach Head.S?
As Head.S tends to reload segment registers before setting up a GDT
sometimes you can get in trouble from that. And again triple fault
because you have no IDT, and a malfunctioning GDT.
Eric