vm_types.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright (C) 2007 Free Software Foundation, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License as published by the
  6. * Free Software Foundation; either version 2, or (at your option) any later
  7. * version.
  8. *
  9. * This program is distributed in the hope that it will be useful, but
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. * 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. * Written by Thomas Schwinge.
  19. */
  20. #ifndef VM_VM_TYPES_H
  21. #define VM_VM_TYPES_H
  22. /*
  23. * Types defined:
  24. *
  25. * vm_map_t the high-level address map data structure.
  26. * vm_object_t Virtual memory object.
  27. * vm_page_t See `vm/vm_page.h'.
  28. */
  29. typedef struct vm_map *vm_map_t;
  30. #define VM_MAP_NULL ((vm_map_t) 0)
  31. typedef struct vm_object *vm_object_t;
  32. #define VM_OBJECT_NULL ((vm_object_t) 0)
  33. typedef struct vm_page *vm_page_t;
  34. #define VM_PAGE_NULL ((vm_page_t) 0)
  35. #endif /* VM_VM_TYPES_H */