C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
sanitize.h
1#pragma once
2
3#include <stdint.h>
4#include "runtime.h"
5
6#ifdef NDEBUG
7# define sanitize_psp(psp)
8#else
9
16void sanitize_psp(uint32_t * psp);
17
18#endif
19
20#ifdef NDEBUG
21#define sanitize_psp_for_thread(psp, thread_id)
22#else
23
32void sanitize_psp_for_thread(uint32_t * psp, Thread_t thread_id);
33
34#endif
uint8_t Thread_t
Data type used for thread IDs.
Definition defines.h:72