pc64: move idle() routine after CALL main(SB) as the comment suggests
This commit is contained in:
parent
ed4c812765
commit
a57a6e511f
1 changed files with 10 additions and 10 deletions
|
@ -234,6 +234,16 @@ _clearbss:
|
||||||
|
|
||||||
CALL main(SB)
|
CALL main(SB)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Park a processor. Should never fall through a return from main to here,
|
||||||
|
* should only be called by application processors when shutting down.
|
||||||
|
*/
|
||||||
|
TEXT idle(SB), 1, $-4
|
||||||
|
_idle:
|
||||||
|
STI
|
||||||
|
HLT
|
||||||
|
JMP _idle
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The CPUID instruction is always supported on the amd64.
|
* The CPUID instruction is always supported on the amd64.
|
||||||
*/
|
*/
|
||||||
|
@ -391,16 +401,6 @@ TEXT mb586(SB), 1, $-4
|
||||||
CPUID
|
CPUID
|
||||||
RET
|
RET
|
||||||
|
|
||||||
/*
|
|
||||||
* Park a processor. Should never fall through a return from main to here,
|
|
||||||
* should only be called by application processors when shutting down.
|
|
||||||
*/
|
|
||||||
TEXT idle(SB), 1, $-4
|
|
||||||
_idle:
|
|
||||||
STI
|
|
||||||
HLT
|
|
||||||
JMP _idle
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BIOS32.
|
* BIOS32.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue