diff options
| author | leo <leo@NetBSD.org> | 1998-05-07 07:25:51 +0000 |
|---|---|---|
| committer | leo <leo@NetBSD.org> | 1998-05-07 07:25:51 +0000 |
| commit | 4eb4a78df8a4899f03ff271eccb41c4bd217d7c4 (patch) | |
| tree | 7ac223cab0a49721ea9b03bfe1d4729c956c3795 /sys/arch/atari/include/vmparam.h | |
| parent | 10a773225e6702770ab46fcefb65474f8687fced (diff) | |
Implement MACHINE_NEW_NONCONTIG. Implementation is based on Ignatios' amiga
implementation and Chuck's conversion description.
Diffstat (limited to 'sys/arch/atari/include/vmparam.h')
| -rw-r--r-- | sys/arch/atari/include/vmparam.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/sys/arch/atari/include/vmparam.h b/sys/arch/atari/include/vmparam.h index f22306aa3f1..1a1858242dc 100644 --- a/sys/arch/atari/include/vmparam.h +++ b/sys/arch/atari/include/vmparam.h @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.4 1997/10/10 11:05:53 leo Exp $ */ +/* $NetBSD: vmparam.h,v 1.5 1998/05/07 07:26:05 leo Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -156,6 +156,22 @@ #define VM_PHYS_SIZE (USRIOSIZE*CLBYTES) /* + * Our bootloader currently passes up to 2 segments (ST and TT ram). + */ +#define VM_PHYSSEG_MAX (2) +#define VM_PHYSSEG_STRAT VM_PSTRAT_RANDOM +#define VM_PHYSSEG_NOADD + +/* + * pmap-specific data stored in the vm_physmem[] array. + */ +struct pmap_physseg { + struct pv_entry *pvent; /* pv table for this seg */ + char *attrs; /* page attributes for this seg */ +}; + + +/* * number of kernel PT pages (initial only, can grow dynamically) */ #define VM_KERNEL_PT_PAGES ((vm_size_t)2) /* XXX: SYSPTSIZE */ |
