vm_print.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (c) 2013 Free Software Foundation.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License along
  15. * with this program; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  17. */
  18. #ifndef VM_PRINT_H
  19. #define VM_PRINT_H
  20. #include <vm/vm_map.h>
  21. #include <machine/db_machdep.h>
  22. /* Debugging: print a map */
  23. extern void vm_map_print(db_expr_t addr, boolean_t have_addr,
  24. db_expr_t count, const char *modif);
  25. /* Pretty-print a copy object for ddb. */
  26. extern void vm_map_copy_print(const vm_map_copy_t);
  27. #include <vm/vm_object.h>
  28. extern void vm_object_print(vm_object_t);
  29. #include <vm/vm_page.h>
  30. extern void vm_page_print(const vm_page_t);
  31. #endif /* VM_PRINT_H */