-/*
- * Attempt to discover all virtually contiguous ranges in a pmap
- * that have valid mappings to DRAM (not MMIO device memory for example).
- * Results are returned via a callback. If the callback returns an error,
- * traversal is aborted.
- */
-typedef int (*pmap_traverse_callback)(vm_map_offset_t start,
- vm_map_offset_t end,
- void *context);
+/* data required for JTAG extraction of coredump */
+typedef struct _kdp_jtag_coredump_t {
+ uint64_t signature;
+ uint64_t version;
+ uint64_t kernel_map_start;
+ uint64_t kernel_map_end;
+ uint64_t kernel_pmap_pml4;
+ uint64_t pmap_memory_regions;
+ uint64_t pmap_memory_region_count;
+ uint64_t pmap_memory_region_t_size;
+ uint64_t physmap_base;
+} kdp_jtag_coredump_t;