diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-02-27 17:44:21 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-02-27 17:44:21 +1000 |
commit | f265924396167729e8d9fb36a0383263f36c1270 (patch) | |
tree | 28843eb24b18999cf0217ecb0fe935f133901066 /src/gos/gos_x_threads.c | |
parent | 14786e97b618b8bc2a0ff1c732d45288fe550e33 (diff) | |
download | uGFX-f265924396167729e8d9fb36a0383263f36c1270.tar.gz uGFX-f265924396167729e8d9fb36a0383263f36c1270.tar.bz2 uGFX-f265924396167729e8d9fb36a0383263f36c1270.zip |
First set of V3 macro changes
Diffstat (limited to 'src/gos/gos_x_threads.c')
-rw-r--r-- | src/gos/gos_x_threads.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gos/gos_x_threads.c b/src/gos/gos_x_threads.c index b696ee77..52afd5c1 100644 --- a/src/gos/gos_x_threads.c +++ b/src/gos/gos_x_threads.c @@ -242,8 +242,8 @@ static thread mainthread; // The main thread context * * MACROS: * - * AUTO_DETECT_STACKFRAME TRUE/FALSE - TRUE to auto-detect stack frame structure - * STACK_DIR_UP Macro/bool_t - TRUE if the stack grows up instead of down + * AUTO_DETECT_STACKFRAME GFXON/GFXOFF - GFXON to auto-detect stack frame structure + * STACK_DIR_UP Macro/bool_t - GFXON if the stack grows up instead of down * MASK1 Macro/uint32_t - The 1st mask of jmp_buf elements that need relocation * MASK2 Macro/uint32_t - The 2nd mask of jmp_buf elements that need relocation * STACK_BASE Macro/size_t - The base of the stack frame relative to the local variables @@ -252,8 +252,8 @@ static thread mainthread; // The main thread context */ #if GFX_COMPILER == GFX_COMPILER_MINGW32 - #define AUTO_DETECT_STACKFRAME FALSE - #define STACK_DIR_UP FALSE + #define AUTO_DETECT_STACKFRAME GFXOFF + #define STACK_DIR_UP GFXOFF #define MASK1 0x00000011 #define MASK2 0x00000000 #define STACK_BASE 12 @@ -263,8 +263,8 @@ static thread mainthread; // The main thread context // Use auto-detection of the stack frame format // Assumes all the relevant stuff to be relocated is in the first 256 bytes of the jmpbuf. - #define AUTO_DETECT_STACKFRAME TRUE - #define STACK_DIR_UP stackdirup // TRUE if the stack grow up instead of down + #define AUTO_DETECT_STACKFRAME GFXON + #define STACK_DIR_UP stackdirup // GFXON if the stack grow up instead of down #define MASK1 jmpmask1 // The 1st mask of jmp_buf elements that need relocation #define MASK2 jmpmask2 // The 2nd mask of jmp_buf elements that need relocation #define STACK_BASE stackbase // The base of the stack frame relative to the local variables |