git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@676 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2009-01-24 18:27:15 +00:00
parent 8fa109243e
commit 44f59eccab
1 changed files with 9 additions and 15 deletions

View File

@ -25,25 +25,19 @@
#ifndef _SCHEDULER_H_ #ifndef _SCHEDULER_H_
#define _SCHEDULER_H_ #define _SCHEDULER_H_
/** Normal @p chSchReadyI() message. */ /** Default thread wakeup low level message. */
#define RDY_OK 0 #define RDY_OK 0
/** Returned when the thread was made ready because of a timeout. */ /** Low level message sent to a thread awakened by a timeout. */
#define RDY_TIMEOUT -1 #define RDY_TIMEOUT -1
/** Returned when the thread was made ready because of a reset. */ /** Low level message sent to a thread awakened by a reset operation. */
#define RDY_RESET -2 #define RDY_RESET -2
/** Pseudo priority used by the ready list header, do not use.*/ #define NOPRIO 0 /**< Ready list header priority.*/
#define NOPRIO 0 #define IDLEPRIO 1 /**< Idle thread priority.*/
/** Idle thread priority.*/ #define LOWPRIO 2 /**< Lowest user priority.*/
#define IDLEPRIO 1 #define NORMALPRIO 64 /**< Normal user priority.*/
/** Lowest user priority.*/ #define HIGHPRIO 127 /**< Highest user priority.*/
#define LOWPRIO 2 #define ABSPRIO 255 /**< Greatest possible priority.*/
/** Normal user priority.*/
#define NORMALPRIO 64
/** Highest user priority.*/
#define HIGHPRIO 127
/** Greatest possible priority.*/
#define ABSPRIO 255
/** Infinite time specification for all the syscalls with a timeout /** Infinite time specification for all the syscalls with a timeout
specification.*/ specification.*/