aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/scheduler.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-01 17:42:47 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-01 17:42:47 +0000
commit3a90ab685aaae59f242ae31260e67e9125ae78cd (patch)
tree1413d1fa5a06ee7e720a1de121c537bb1ecb1c45 /src/include/scheduler.h
parent9a0ef300bce50901d5de3d6d722e29b79a2f9a36 (diff)
downloadChibiOS-3a90ab685aaae59f242ae31260e67e9125ae78cd.tar.gz
ChibiOS-3a90ab685aaae59f242ae31260e67e9125ae78cd.tar.bz2
ChibiOS-3a90ab685aaae59f242ae31260e67e9125ae78cd.zip
Preparation for AVR core support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@27 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/scheduler.h')
-rw-r--r--src/include/scheduler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/scheduler.h b/src/include/scheduler.h
index 78fbb4a72..2efabbcd2 100644
--- a/src/include/scheduler.h
+++ b/src/include/scheduler.h
@@ -32,6 +32,8 @@
/** Returned if the thread was made ready because a reset.*/
#define RDY_RESET -2
+#define firstprio(qp) ((qp)->p_next->p_prio)
+
/**
* Ready list header.
*/