aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-13 12:25:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-13 12:25:29 +0000
commit5c75ead6a5bfb30df949f69e2fd3c90c62ac233f (patch)
treeaab59174f650e698bb3f72913e96cdb4f3ca0aa3
parentd688b84d2585d3bedbd682417313bcb581b1a1fc (diff)
downloadChibiOS-5c75ead6a5bfb30df949f69e2fd3c90c62ac233f.tar.gz
ChibiOS-5c75ead6a5bfb30df949f69e2fd3c90c62ac233f.tar.bz2
ChibiOS-5c75ead6a5bfb30df949f69e2fd3c90c62ac233f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1163 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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;
}