Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/dump.h
Show All 36 Lines | |||||
#define KERNELDUMP_ARCH_VERSION KERNELDUMP_I386_VERSION | #define KERNELDUMP_ARCH_VERSION KERNELDUMP_I386_VERSION | ||||
#define EM_VALUE EM_386 | #define EM_VALUE EM_386 | ||||
#endif | #endif | ||||
/* 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 24 /* Every 16MB */ | |||||
mhorne: So I've added this definition to each arch's dump.h, so that the existing behaviour is… | |||||
markjUnsubmitted Not Done Inline ActionsIt would be cool if we could report progress in response to ctrl-T. :) markj: It would be cool if we could report progress in response to ctrl-T. :) | |||||
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 |
So I've added this definition to each arch's dump.h, so that the existing behaviour is preserved.
I'll note that for a small VM, this value is a little large for x86:
I think the ideal method might be to scale this parameter based on the total size of memory.