git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@555 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
27509eaf32
commit
1e6c6670d2
23
docs/ch.txt
23
docs/ch.txt
|
@ -206,6 +206,29 @@
|
||||||
*/
|
*/
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup ARM7CONF Configuration Options
|
||||||
|
* @{
|
||||||
|
* <p>
|
||||||
|
* The ARM7 port allows some architecture-specific configurations:
|
||||||
|
* <ul>
|
||||||
|
* <li>@p INT_REQUIRED_STACK, this value represent the amount of stack space used
|
||||||
|
* by an interrupt handler between the @p extctx and @p intctx
|
||||||
|
* structures.<br>
|
||||||
|
* In practice this value is the stack space used by the chSchDoReschedule()
|
||||||
|
* stack frame.<br>
|
||||||
|
* This value can be affected by a variety of external things like compiler
|
||||||
|
* version, compiler options, kernel settings (speed/size) and so on.<br>
|
||||||
|
* The default for this value is @p 0x10 which should be a safe value, you
|
||||||
|
* can trim this down by defining the macro externally. This would save
|
||||||
|
* some valuable RAM space for each thread present in the system.<br>
|
||||||
|
* The default value is set into <b>./ports/ARM7/chcore.h</b>.</li>
|
||||||
|
* </ul>
|
||||||
|
* </p>
|
||||||
|
* @ingroup ARM7
|
||||||
|
*/
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup LPC214x LPC214x Support
|
* @defgroup LPC214x LPC214x Support
|
||||||
* @{
|
* @{
|
||||||
|
|
|
@ -119,11 +119,13 @@ extern "C" {
|
||||||
#endif /* !REENTRANT_LOCKS */
|
#endif /* !REENTRANT_LOCKS */
|
||||||
#endif /* THUMB */
|
#endif /* THUMB */
|
||||||
|
|
||||||
|
#ifndef INT_REQUIRED_STACK
|
||||||
#ifdef THUMB
|
#ifdef THUMB
|
||||||
#define INT_REQUIRED_STACK 0x10
|
#define INT_REQUIRED_STACK 0x10
|
||||||
#else /* !THUMB */
|
#else /* !THUMB */
|
||||||
#define INT_REQUIRED_STACK 0
|
#define INT_REQUIRED_STACK 0x10
|
||||||
#endif /* !THUMB */
|
#endif /* !THUMB */
|
||||||
|
#endif
|
||||||
|
|
||||||
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue