Changeset View
Changeset View
Standalone View
Standalone View
sys/riscv/include/dump.h
Show All 31 Lines | |||||
#define KERNELDUMP_ARCH_VERSION KERNELDUMP_RISCV_VERSION | #define KERNELDUMP_ARCH_VERSION KERNELDUMP_RISCV_VERSION | ||||
#define EM_VALUE EM_RISCV | #define EM_VALUE EM_RISCV | ||||
/* 20 phys_avail entry pairs correspond to 10 pa's */ | /* 20 phys_avail entry pairs correspond to 10 pa's */ | ||||
#define DUMPSYS_MD_PA_NPAIRS 10 | #define DUMPSYS_MD_PA_NPAIRS 10 | ||||
#define DUMPSYS_NUM_AUX_HDRS 0 | #define DUMPSYS_NUM_AUX_HDRS 0 | ||||
/* How often to check the dump progress bar? */ | |||||
#define DUMPSYS_PB_CHECK_BITS 22 /* Every 4MB */ | |||||
static inline void | static inline void | ||||
dumpsys_pa_init(void) | dumpsys_pa_init(void) | ||||
{ | { | ||||
dumpsys_gen_pa_init(); | dumpsys_gen_pa_init(); | ||||
} | } | ||||
static inline struct dump_pa * | static inline struct dump_pa * | ||||
Show All 35 Lines |