bcm64: provide idlehands() function
This commit is contained in:
parent
b0c402dfa6
commit
de7190ba6b
2 changed files with 8 additions and 5 deletions
|
@ -291,6 +291,14 @@ TEXT splx(SB), 1, $-4
|
|||
MSR R0, DAIF
|
||||
RETURN
|
||||
|
||||
TEXT idlehands(SB), 1, $-4
|
||||
DMB $ISH
|
||||
MOVW nrdy(SB), R0
|
||||
CBNZ R0, _ready
|
||||
WFI
|
||||
_ready:
|
||||
RETURN
|
||||
|
||||
TEXT cycles(SB), 1, $-4
|
||||
TEXT lcycles(SB), 1, $-4
|
||||
MRS PMCCNTR_EL0, R0
|
||||
|
|
|
@ -259,11 +259,6 @@ mpinit(void)
|
|||
synccycles();
|
||||
}
|
||||
|
||||
void
|
||||
idlehands(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
main(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue