Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/amd64/minidump_machdep.c
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | blk_write(struct dumperinfo *di, char *ptr, vm_paddr_t pa, size_t sz) | ||||
return (0); | return (0); | ||||
} | } | ||||
/* A fake page table page, to avoid having to handle both 4K and 2M pages */ | /* A fake page table page, to avoid having to handle both 4K and 2M pages */ | ||||
static pd_entry_t fakepd[NPDEPG]; | static pd_entry_t fakepd[NPDEPG]; | ||||
int | int | ||||
minidumpsys(struct dumperinfo *di) | cpu_minidumpsys(struct dumperinfo *di, const struct minidumpstate *state) | ||||
{ | { | ||||
uint32_t pmapsize; | uint32_t pmapsize; | ||||
vm_offset_t va; | vm_offset_t va; | ||||
int error; | int error; | ||||
uint64_t *pml4, *pdp, *pd, *pt, pa; | uint64_t *pml4, *pdp, *pd, *pt, pa; | ||||
int i, ii, j, k, n; | int i, ii, j, k, n; | ||||
int retry_count; | int retry_count; | ||||
struct minidumphdr mdhdr; | struct minidumphdr mdhdr; | ||||
▲ Show 20 Lines • Show All 225 Lines • Show Last 20 Lines |