diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 04:19:26 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-02-26 04:19:26 +0000 |
commit | 423bfda199f74480004e74e94ffc1f787422db84 (patch) | |
tree | 2a97845e817cdc55306868c73e4e44e6884ee041 /sys/arch/i386/include | |
parent | 2c252e295acb34c1b4049d5a10a7b06c4fd10b8a (diff) |
typedefs for {v,p}addr_t and {v,p}size_t needed by uvm.
We should consider switching to those some day.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/i386/include/types.h b/sys/arch/i386/include/types.h index 41f4f6e50f8..c8391f16d8b 100644 --- a/sys/arch/i386/include/types.h +++ b/sys/arch/i386/include/types.h @@ -1,5 +1,5 @@ /* $NetBSD: types.h,v 1.12 1995/12/24 01:08:03 mycroft Exp $ */ -/* $OpenBSD: types.h,v 1.5 1999/01/08 03:04:07 millert Exp $ */ +/* $OpenBSD: types.h,v 1.6 1999/02/26 04:19:25 art Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -54,6 +54,14 @@ typedef struct label_t { typedef unsigned long vm_offset_t; typedef unsigned long vm_size_t; +#ifdef UVM +/* UVM compat (or we should consider switching to those) */ +typedef unsigned long paddr_t; +typedef unsigned long psize_t; +typedef unsigned long vaddr_t; +typedef unsigned long vsize_t; +#endif + /* * Basic integral types. Omit the typedef if * not possible for a machine/compiler combination. |