diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2007-05-27 15:46:03 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2007-05-27 15:46:03 +0000 |
commit | cf1cd27fe5706a55f9f3a6e9a6adc96706990372 (patch) | |
tree | b7ae4e6650354468e1d27809e33f62c6312b063f /sys/arch/macppc/include/vmparam.h | |
parent | b650e4ca7dad913dcad26f227c0dfb90c78a4eb5 (diff) |
Move powerpc to vm_page_md, 'throw it in' kettenis@
Diffstat (limited to 'sys/arch/macppc/include/vmparam.h')
-rw-r--r-- | sys/arch/macppc/include/vmparam.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/sys/arch/macppc/include/vmparam.h b/sys/arch/macppc/include/vmparam.h index 485b6877706..9ace5e9b546 100644 --- a/sys/arch/macppc/include/vmparam.h +++ b/sys/arch/macppc/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.17 2006/09/18 16:57:23 marco Exp $ */ +/* $OpenBSD: vmparam.h,v 1.18 2007/05/27 15:46:02 drahn Exp $ */ /* $NetBSD: vmparam.h,v 1.1 1996/09/30 16:34:38 ws Exp $ */ /*- @@ -89,13 +89,6 @@ extern vaddr_t ppc_kvm_stolen; #define VM_PHYS_SIZE (USRIOSIZE * PAGE_SIZE) -#define __HAVE_PMAP_PHYSSEG -struct pmap_physseg { - struct pted_pv_head *pvent; - char *attrs; - /* NULL ??? */ -}; - #define VM_PHYSSEG_MAX 32 /* actually we could have this many segments */ #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH #define VM_PHYSSEG_NOADD /* can't add RAM after vm_mem_init */ @@ -103,4 +96,15 @@ struct pmap_physseg { #define VM_NFREELIST 1 #define VM_FREELIST_DEFAULT 0 +#define __HAVE_VM_PAGE_MD +struct pv_entry; +struct vm_page_md { + LIST_HEAD(,pte_desc) pv_list; +}; + +#define VM_MDPAGE_INIT(pg) do { \ + LIST_INIT(&((pg)->mdpage.pv_list)); \ +} while (0) + + #endif |