PebbleOS v4.45.0-162-g88634f016
Loading...
Searching...
No Matches
format.h File Reference
#include <stdint.h>
#include <pbl/kernel/compiler.h>

Data Structures

struct  pbl_coredump_image_hdr
 Start of an image. More...
 
struct  pbl_coredump_chunk_hdr
 Start of a chunk. More...
 
struct  pbl_coredump_memory_hdr
 Start of the payload of a PBL_COREDUMP_CHUNK_MEMORY chunk. More...
 
struct  pbl_coredump_thread
 Payload of a PBL_COREDUMP_CHUNK_THREAD chunk. More...
 
struct  pbl_coredump_extra_regs
 Payload of a PBL_COREDUMP_CHUNK_EXTRA_REG chunk: special registers. More...
 

Macros

#define PBL_COREDUMP_MAGIC   0xF00DCAFE
 Value of pbl_coredump_image_hdr::magic.
 
#define PBL_COREDUMP_VERSION   1
 Value of pbl_coredump_image_hdr::version.
 
#define PBL_COREDUMP_NUM_REGISTERS   17
 Number of core registers in a record: r0-r12, sp, lr, pc and xpsr.
 
#define PBL_COREDUMP_THREAD_NAME_SIZE   16
 Size of pbl_coredump_thread::name in bytes, including the NUL terminator.
 
#define PBL_COREDUMP_CHUNK_TERMINATOR   0xFFFFFFFF
 Ends the image; has no payload.
 
#define PBL_COREDUMP_CHUNK_RAM   1
 Deprecated: RAM, now in PBL_COREDUMP_CHUNK_MEMORY.
 
#define PBL_COREDUMP_CHUNK_THREAD   2
 A pbl_coredump_thread.
 
#define PBL_COREDUMP_CHUNK_EXTRA_REG   3
 A pbl_coredump_extra_regs.
 
#define PBL_COREDUMP_CHUNK_MEMORY   4
 A pbl_coredump_memory_hdr and the memory contents.