aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/GNU-Linux-GCC/chcore.c2
-rw-r--r--demos/Win32-MinGW/chcore.c4
-rw-r--r--test/coverage/chcore.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/demos/GNU-Linux-GCC/chcore.c b/demos/GNU-Linux-GCC/chcore.c
index e75776e95..e7116edb4 100644
--- a/demos/GNU-Linux-GCC/chcore.c
+++ b/demos/GNU-Linux-GCC/chcore.c
@@ -61,7 +61,7 @@ void ChkIntSources(void) {
pending = FALSE;
}
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
chSchDoRescheduleI();
}
diff --git a/demos/Win32-MinGW/chcore.c b/demos/Win32-MinGW/chcore.c
index 70742d3c4..95d8b9de8 100644
--- a/demos/Win32-MinGW/chcore.c
+++ b/demos/Win32-MinGW/chcore.c
@@ -67,7 +67,7 @@ void ChkIntSources(void) {
LARGE_INTEGER n;
if (sd_lld_interrupt_pending()) {
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
chSchDoRescheduleI();
return;
}
@@ -77,7 +77,7 @@ void ChkIntSources(void) {
if (n.QuadPart > nextcnt.QuadPart) {
nextcnt.QuadPart += slice.QuadPart;
chSysTimerHandlerI();
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
chSchDoRescheduleI();
}
}
diff --git a/test/coverage/chcore.c b/test/coverage/chcore.c
index b5191aa6c..9ec3dd9f5 100644
--- a/test/coverage/chcore.c
+++ b/test/coverage/chcore.c
@@ -60,7 +60,7 @@ void ChkIntSources(void) {
bool_t rflag = FALSE;
if (sd_lld_interrupt_pending()) {
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
rflag = TRUE;
}
@@ -69,7 +69,7 @@ void ChkIntSources(void) {
if (n.QuadPart > nextcnt.QuadPart) {
nextcnt.QuadPart += slice.QuadPart;
chSysTimerHandlerI();
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
rflag = TRUE;
}