/*
 * @(#)vmtypes.h: $Revision: 1.2.106.2 $ $Date: 97/07/12 22:53:44 $
 * $Locker: CRT $
 */

#ifndef _VMTYPES_INCLUDED /* allows multiple inclusion */
#define _VMTYPES_INCLUDED

   /* For physical memory addresses and/or physical offsets */
   typedef uintptr_t            paddr_t;        /* physical byte address */

   /*
    * For page oriented variables.
    * Note that this should remain a *signed* quantity because some
    * variables (e.g., mem_deficit) need to be signed.
    */
   typedef intptr_t             page_t;         /* XXX will be removed! */
   typedef int32_t              pgcnt_t;        /* page counts */
   typedef uint32_t             physpfn_t;      /* physical page number */
   typedef uintptr_t            iophyspfn_t;    /* IO physical page number */
   typedef uintptr_t            pgaddr_t;       /* address after btop() */

   typedef uint32_t             space_t;
   typedef uint32_t             prot_t;
#endif /* _VMTYPES_INCLUDED */
