internal.h 520 B

12345678910111213141516171819202122232425
  1. #ifndef STARTUP_INTERNAL_H
  2. #define STARTUP_INTERNAL_H
  3. #include "gtypes.h"
  4. typedef U8 uint8_t;
  5. typedef U16 uint16_t;
  6. typedef U32 uint32_t;
  7. typedef S32 int32_t;
  8. typedef char char_t;
  9. typedef U64 uint64_t;
  10. typedef S64 int64_t;
  11. typedef uint32_t (*enter_crit)(void);
  12. typedef void (*exit_crit)(uint32_t data);
  13. int st_register_crit_func(enter_crit enter, exit_crit exit);
  14. uint32_t st_enter_crit_func();
  15. void st_exit_crit_func(uint32_t flags);
  16. #endif