mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 22:25:14 -05:00
Resolved VF preprocessor error.
VF's preprocessor cannot handle expansion of `PRIVILEGED_FUNCTION` macro because the normal and the context-free preprocessor consume different numbers of tokens. We resolved this temporarily by deleting the macro.
This commit is contained in:
parent
a1a16c7dba
commit
50c5b21a59
1 changed files with 11 additions and 0 deletions
|
|
@ -74,6 +74,17 @@
|
||||||
#error "FreeRTOS.h must be included before list.h"
|
#error "FreeRTOS.h must be included before list.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef VERIFAST
|
||||||
|
/* Reason for rewrite:
|
||||||
|
* VeriFast's normal and context-free preprocessor consume different
|
||||||
|
* numbers of tokens when expanding `PRIVILEGED_FUNCTION` in this file.
|
||||||
|
*/
|
||||||
|
#define PRIVILEGED_FUNCTION
|
||||||
|
// TODO: Figure out why the preprocessors consume different amounts of
|
||||||
|
// of tokens. This most likely has to do with the path/context
|
||||||
|
// from which this header is included.
|
||||||
|
#endif /* VERIFAST */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The list structure members are modified from within interrupts, and therefore
|
* The list structure members are modified from within interrupts, and therefore
|
||||||
* by rights should be declared volatile. However, they are only modified in a
|
* by rights should be declared volatile. However, they are only modified in a
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue