Implement ArYieldProcessor() routine
Visas pārbaudes ir veiksmīgas
ci/woodpecker/push/build Pipeline was successful

Šī revīzija ir iekļauta:
2023-02-27 17:28:20 +01:00
vecāks 286fc76577
revīzija e41de62dab
4 mainīti faili ar 42 papildinājumiem un 0 dzēšanām

Parādīt failu

@@ -592,3 +592,20 @@ ArWriteModelSpecificRegister(IN ULONG Register,
"a" (Low),
"d" (High));
}
/**
* Yields a current thread running on the processor.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTCDECL
VOID
ArYieldProcessor()
{
asm volatile("pause"
:
:
: "memory");
}

Parādīt failu

@@ -551,3 +551,20 @@ ArWriteModelSpecificRegister(IN ULONG Register,
: "c" (Register),
"A" (Value));
}
/**
* Yields a current thread running on the processor.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTCDECL
VOID
ArYieldProcessor()
{
asm volatile("pause"
:
:
: "memory");
}