Implement ArYieldProcessor() routine
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user