PebbleOS
Loading...
Searching...
No Matches
Macros
section.h File Reference
#include <pbl/kernel/compiler.h>

Macros

#define PBL_SECTION_RAM
 Run the function from RAM; also prevents inlining it into flash code.
 
#define PBL_SECTION_RAM_RODATA
 Place the constant in RAM, for tables used by PBL_SECTION_RAM functions.
 
#define PBL_UNSORTED_SECTION(name)   PBL_SECTION_IMPL(#name) PBL_NO_SANITIZE_ADDRESS
 Gather the object in a named section, without a linker script.
 
#define PBL_UNSORTED_SECTION_START(name)   __asm("__start_" #name)
 Name a declaration after the start of a PBL_UNSORTED_SECTION.
 
#define PBL_UNSORTED_SECTION_END(name)   __asm("__stop_" #name)
 Name a declaration after the end of a PBL_UNSORTED_SECTION.