git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2346 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
a7b039fae4
commit
009e8d28c3
|
@ -43,7 +43,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief Halts the system.
|
* @brief Halts the system.
|
||||||
* @details This function is invoked by the operating system when an
|
* @details This function is invoked by the operating system when an
|
||||||
* unrecoverable error is detected, as example because a programming
|
* unrecoverable error is detected, for example because a programming
|
||||||
* error in the application code that triggers an assertion while
|
* error in the application code that triggers an assertion while
|
||||||
* in debug mode.
|
* in debug mode.
|
||||||
* @note Can be invoked from any system state.
|
* @note Can be invoked from any system state.
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
* - <b>Next</b>, returns the next, in creation order, active thread
|
* - <b>Next</b>, returns the next, in creation order, active thread
|
||||||
* in the system.
|
* in the system.
|
||||||
* .
|
* .
|
||||||
* The registry is meant to be mainly a debug feature, as example,
|
* The registry is meant to be mainly a debug feature, for example,
|
||||||
* using the registry a debugger can enumerate the active threads
|
* using the registry a debugger can enumerate the active threads
|
||||||
* in any given moment or the shell can print the active threads
|
* in any given moment or the shell can print the active threads
|
||||||
* and their state.<br>
|
* and their state.<br>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
* .
|
* .
|
||||||
* Semaphores can be used as guards for mutual exclusion zones
|
* Semaphores can be used as guards for mutual exclusion zones
|
||||||
* (note that mutexes are recommended for this kind of use) but
|
* (note that mutexes are recommended for this kind of use) but
|
||||||
* also have other uses, queues guards and counters as example.<br>
|
* also have other uses, queues guards and counters for example.<br>
|
||||||
* Semaphores usually use a FIFO queuing strategy but it is possible
|
* Semaphores usually use a FIFO queuing strategy but it is possible
|
||||||
* to make them order threads by priority by enabling
|
* to make them order threads by priority by enabling
|
||||||
* @p CH_USE_SEMAPHORES_PRIORITY in @p chconf.h.
|
* @p CH_USE_SEMAPHORES_PRIORITY in @p chconf.h.
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
* @details This file is a template of the system driver functions provided by
|
* @details This file is a template of the system driver functions provided by
|
||||||
* a port. Some of the following functions may be implemented as
|
* a port. Some of the following functions may be implemented as
|
||||||
* macros in chcore.h if the implementer decides that there is an
|
* macros in chcore.h if the implementer decides that there is an
|
||||||
* advantage in doing so, as example because performance concerns.
|
* advantage in doing so, for example because performance concerns.
|
||||||
*
|
*
|
||||||
* @addtogroup core
|
* @addtogroup core
|
||||||
* @details Non portable code templates.
|
* @details Non portable code templates.
|
||||||
|
@ -106,7 +106,7 @@ void port_wait_for_interrupt(void) {
|
||||||
/**
|
/**
|
||||||
* @brief Halts the system.
|
* @brief Halts the system.
|
||||||
* @details This function is invoked by the operating system when an
|
* @details This function is invoked by the operating system when an
|
||||||
* unrecoverable error is detected (as example because a programming
|
* unrecoverable error is detected (for example because a programming
|
||||||
* error in the application code that triggers an assertion while in
|
* error in the application code that triggers an assertion while in
|
||||||
* debug mode).
|
* debug mode).
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -101,7 +101,7 @@ typedef int32_t cnt_t;
|
||||||
* @note This is required because some compilers require a custom keyword,
|
* @note This is required because some compilers require a custom keyword,
|
||||||
* usually this macro is just set to "const" for the GCC compiler.
|
* usually this macro is just set to "const" for the GCC compiler.
|
||||||
* @note This macro is not used to place constants in different address
|
* @note This macro is not used to place constants in different address
|
||||||
* spaces (like AVR requires as example) because it is assumed that
|
* spaces (like AVR requires for example) because it is assumed that
|
||||||
* a pointer to a ROMCONST constant is compatible with a pointer
|
* a pointer to a ROMCONST constant is compatible with a pointer
|
||||||
* to a normal variable. It is just like the "const" keyword but
|
* to a normal variable. It is just like the "const" keyword but
|
||||||
* requires that the constant is placed in ROM if the architecture
|
* requires that the constant is placed in ROM if the architecture
|
||||||
|
|
|
@ -103,7 +103,7 @@ void port_switch(Thread *ntp, Thread *otp) {
|
||||||
/**
|
/**
|
||||||
* @brief Halts the system.
|
* @brief Halts the system.
|
||||||
* @details This function is invoked by the operating system when an
|
* @details This function is invoked by the operating system when an
|
||||||
* unrecoverable error is detected (as example because a programming
|
* unrecoverable error is detected (for example because a programming
|
||||||
* error in the application code that triggers an assertion while in
|
* error in the application code that triggers an assertion while in
|
||||||
* debug mode).
|
* debug mode).
|
||||||
* @note The function is declared as a weak symbol, it is possible to
|
* @note The function is declared as a weak symbol, it is possible to
|
||||||
|
|
|
@ -69,7 +69,7 @@ void port_switch(Thread *ntp, Thread *otp) {
|
||||||
/**
|
/**
|
||||||
* @brief Halts the system.
|
* @brief Halts the system.
|
||||||
* @details This function is invoked by the operating system when an
|
* @details This function is invoked by the operating system when an
|
||||||
* unrecoverable error is detected (as example because a programming
|
* unrecoverable error is detected (for example because a programming
|
||||||
* error in the application code that triggers an assertion while in
|
* error in the application code that triggers an assertion while in
|
||||||
* debug mode).
|
* debug mode).
|
||||||
* @note The function is declared as a weak symbol, it is possible to
|
* @note The function is declared as a weak symbol, it is possible to
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief Halts the system.
|
* @brief Halts the system.
|
||||||
* @details This function is invoked by the operating system when an
|
* @details This function is invoked by the operating system when an
|
||||||
* unrecoverable error is detected (as example because a programming
|
* unrecoverable error is detected (for example because a programming
|
||||||
* error in the application code that triggers an assertion while
|
* error in the application code that triggers an assertion while
|
||||||
* in debug mode).
|
* in debug mode).
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -62,7 +62,7 @@ void _port_thread_start(void) {
|
||||||
/**
|
/**
|
||||||
* @brief Halts the system.
|
* @brief Halts the system.
|
||||||
* @details This function is invoked by the operating system when an
|
* @details This function is invoked by the operating system when an
|
||||||
* unrecoverable error is detected (as example because a programming
|
* unrecoverable error is detected (for example because a programming
|
||||||
* error in the application code that triggers an assertion while in
|
* error in the application code that triggers an assertion while in
|
||||||
* debug mode).
|
* debug mode).
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -56,7 +56,7 @@ void _port_thread_start(void) {
|
||||||
/**
|
/**
|
||||||
* @brief Halts the system.
|
* @brief Halts the system.
|
||||||
* @details This function is invoked by the operating system when an
|
* @details This function is invoked by the operating system when an
|
||||||
* unrecoverable error is detected (as example because a programming
|
* unrecoverable error is detected (for example because a programming
|
||||||
* error in the application code that triggers an assertion while in
|
* error in the application code that triggers an assertion while in
|
||||||
* debug mode).
|
* debug mode).
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -903,7 +903,7 @@
|
||||||
semaphores. It is defaulted to off because usually semaphores are used for
|
semaphores. It is defaulted to off because usually semaphores are used for
|
||||||
I/O related tasks without hard realtime requirements.
|
I/O related tasks without hard realtime requirements.
|
||||||
- NEW: Now the all the options in chconf.h and the various driver headers
|
- NEW: Now the all the options in chconf.h and the various driver headers
|
||||||
can be overridden externally, as example from within the Makefile.
|
can be overridden externally, for example from within the Makefile.
|
||||||
The options are no mode a simple define but a define with an assigned
|
The options are no mode a simple define but a define with an assigned
|
||||||
TRUE/FALSE value within an #ifndef block.
|
TRUE/FALSE value within an #ifndef block.
|
||||||
- NEW: Idle thread hook macro added to the configuration file.
|
- NEW: Idle thread hook macro added to the configuration file.
|
||||||
|
|
Loading…
Reference in New Issue