summaryrefslogtreecommitdiff
path: root/include/mach_debug/mach_debug.defs
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach_debug/mach_debug.defs')
-rw-r--r--include/mach_debug/mach_debug.defs44
1 files changed, 28 insertions, 16 deletions
diff --git a/include/mach_debug/mach_debug.defs b/include/mach_debug/mach_debug.defs
index c8e8b1b4..2de7df52 100644
--- a/include/mach_debug/mach_debug.defs
+++ b/include/mach_debug/mach_debug.defs
@@ -135,22 +135,8 @@ routine host_virtual_physical_table_info(
skip; /* host_virtual_physical_table_info */
#endif /* !defined(MACH_VM_DEBUG) || MACH_VM_DEBUG */
-#if !defined(MACH_KDB) || MACH_KDB
-/*
- * Loads a symbol table for an external file into the kernel debugger.
- * The symbol table data is an array of characters. It is assumed that
- * the caller and the kernel debugger agree on its format.
- */
-
-routine host_load_symbol_table(
- host : host_priv_t;
- task : task_t;
- name : symtab_name_t;
- symtab : pointer_t);
-
-#else /* !defined(MACH_KDB) || MACH_KDB */
-skip; /* host_load_symbol_table */
-#endif /* !defined(MACH_KDB) || MACH_KDB */
+/* The old host_load_symbol_table with a different ABI for symtab_name_t */
+skip;
#if !defined(MACH_IPC_DEBUG) || MACH_IPC_DEBUG
@@ -214,3 +200,29 @@ routine host_slab_info(
host : host_t;
out info : cache_info_array_t,
CountInOut, Dealloc);
+
+#if !defined(MACH_KDB) || MACH_KDB
+/*
+ * Loads a symbol table for an external file into the kernel debugger.
+ * The symbol table data is an array of characters. It is assumed that
+ * the caller and the kernel debugger agree on its format.
+ */
+
+routine host_load_symbol_table(
+ host : host_priv_t;
+ task : task_t;
+ name : symtab_name_t;
+ symtab : pointer_t);
+
+#else /* !defined(MACH_KDB) || MACH_KDB */
+skip; /* host_load_symbol_table */
+#endif /* !defined(MACH_KDB) || MACH_KDB */
+
+#if !defined(MACH_VM_DEBUG) || MACH_VM_DEBUG
+routine mach_vm_object_pages_phys(
+ object : memory_object_name_t;
+ out pages : vm_page_phys_info_array_t,
+ CountInOut, Dealloc);
+#else /* !defined(MACH_VM_DEBUG) || MACH_VM_DEBUG */
+skip; /* mach_vm_object_pages_phys */
+#endif /* !defined(MACH_VM_DEBUG) || MACH_VM_DEBUG */