Update unit test for TASK and ISR lock macros (#1319)

This is needed for PR - https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/1212.
This commit is contained in:
chinglee-iot 2024-12-30 15:43:03 +08:00 committed by GitHub
parent 365a47921f
commit 2dcc47ecba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 112 additions and 82 deletions

View file

@ -425,22 +425,22 @@ unsigned int vFakePortGetCoreID( void )
return 0;
}
void vFakePortReleaseTaskLock( void )
void vFakePortReleaseTaskLock( BaseType_t xCoreID )
{
HOOK_DIAG();
}
void vFakePortGetTaskLock( void )
void vFakePortGetTaskLock( BaseType_t xCoreID )
{
HOOK_DIAG();
}
void vFakePortGetISRLock( void )
void vFakePortGetISRLock( BaseType_t xCoreID )
{
HOOK_DIAG();
}
void vFakePortReleaseISRLock( void )
void vFakePortReleaseISRLock( BaseType_t xCoreID )
{
HOOK_DIAG();
}