Home | History | Annotate | Download | only in oea
History log of /src/sys/arch/powerpc/include/oea/vmparam.h
RevisionDateAuthorComments
 1.23  03-Feb-2022  macallan bump MAXTSIZ
now clang runs again
 1.22  11-Sep-2021  andvar Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.
 1.21  17-Apr-2021  rin Adjust TABs. No functional changes.
 1.20  17-Aug-2017  sevan branches: 1.20.18;
Raise the maximum text size value to 128MB, this allows binaries such as clang which
currently has a text area of around 96MB to execute successfully on macppc.

ok macallan
 1.19  13-Feb-2017  skrll branches: 1.19.6;
G/C VM_MAX_KERNEL_BUF
 1.18  28-Feb-2014  matt branches: 1.18.6; 1.18.10; 1.18.14;
Make this 64-bit aware.
 1.17  20-Jun-2011  matt branches: 1.17.2; 1.17.12; 1.17.16;
PowerPC now exports a common view of cpu.h, vmparam.h and pmap.h
when building a MODULAR kernel or compiling _MODULE.
It should be noted that MODULAR or _MODULE export a view of the kernel
as being MULTIPROCESSOR (even if isn't).
The shared pmap TLB uses mdpg in places where it used mdpg to avoid
deadly embrance inclusion problems.
 1.16  14-Nov-2010  uebayasi branches: 1.16.6;
Move struct vm_page_md definition from vmparam.h to pmap.h, because
it's used only by pmap. vmparam.h has definitions for wider
audience.

All GENERIC kernels build tested, except ia64.

powerpc/include/booke/vmparam.h has one too, but it has no pmap.h,
so it's left as is.
 1.15  06-Nov-2010  uebayasi Remove incomplete, never worked dynamic run-time memory registration
(uvm_page_physload(9)). This functionality will be re-added later.
 1.14  06-Mar-2009  joerg branches: 1.14.2; 1.14.4;
Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.13  28-Apr-2008  martin branches: 1.13.8; 1.13.14;
Remove clause 3 and 4 from TNF licenses
 1.12  05-Feb-2008  garbled branches: 1.12.6; 1.12.8; 1.12.10;
Rewrite a big chunk of the pmap and locore code for powerpc to better
deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.

Change pmap.c to work similar to exec_elf.c to allow us to compile in
multiple pmaps to a single kernel. This allows the pmap for bridge64 to
co-exist with the 32bit pmap.

Yank __HAVE_PMAP_PHYSSEG from all the oea code.

Add a new global, "oeacpufeat", which is used early in locore to determine
certain cpu features. This allows us to conditionalize code early in the boot
for certain CPUs that have special needs.

Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was
found in. Some of it seemed incorrect, and my 7044 booted just fine
without it. It would appear that the bridge cpus treat BAT instructions
as nops, so they seem to be safe.

In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear
MSR[SF], and ASR[V].

With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64
will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit
cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
 1.11  19-Jan-2008  aymeric bump the default data size to 256MB (i.e. double it) because compiling
gcc during a standard native system build doesn't pass with 128MB.
 1.10  21-Sep-2006  matt branches: 1.10.28; 1.10.34; 1.10.42;
Define a PHYSMAP_VSID for mapping pa==va.
 1.9  05-Aug-2006  sanjayl branches: 1.9.4; 1.9.6;
1st cut of Powermac G5 support (uses bridge mode).
 1.8  10-Jan-2005  matt branches: 1.8.10; 1.8.22; 1.8.26;
Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
 1.7  21-Nov-2003  matt More PPC64 changes. (latent for now).
 1.6  01-Apr-2003  thorpej branches: 1.6.2;
Make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK compile-time constants for
PowerPC processors.
 1.5  23-Feb-2003  atatat #include opt_uvm.h in machine/vmparam.h (for those ports offering the
topdown option) so that including it directly before including
uvm/uvm_param.h (or uvm/uvm_extern.h which includes uvm/uvm_param.h)
and attempting to use topdown won't result in a compiler error.

Problem noted in private email.
 1.4  21-Feb-2003  matt Add TOPDOWN VM support.
 1.3  06-Feb-2003  matt Allow KERNEL_SR/KERNEL2_SR to be overriden (I run a kernel with
the mapped space at 0x8000000-0x9fffffff).
 1.2  05-Feb-2003  matt Make LP64 friendly.
 1.1  03-Feb-2003  matt Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
 1.6.2.2  17-Jan-2005  skrll Sync with HEAD.
 1.6.2.1  03-Aug-2004  skrll Sync with HEAD
 1.8.26.1  11-Aug-2006  yamt sync with head
 1.8.22.1  09-Sep-2006  rpaulo sync with head
 1.8.10.3  11-Feb-2008  yamt sync with head.
 1.8.10.2  21-Jan-2008  yamt sync with head
 1.8.10.1  30-Dec-2006  yamt sync with head.
 1.9.6.1  22-Oct-2006  yamt sync with head
 1.9.4.1  18-Nov-2006  ad Sync with head.
 1.10.42.1  20-Jan-2008  bouyer Sync with HEAD
 1.10.34.1  18-Feb-2008  mjf Sync with HEAD.
 1.10.28.1  23-Mar-2008  matt sync with HEAD
 1.12.10.2  04-May-2009  yamt sync with head.
 1.12.10.1  16-May-2008  yamt sync with head.
 1.12.8.1  18-May-2008  yamt sync with head.
 1.12.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.13.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.14.4.1  05-Mar-2011  rmind sync with head
 1.14.2.3  16-Nov-2010  uebayasi Sync with HEAD.
 1.14.2.2  26-Apr-2010  uebayasi Remove the unfinished code to add a memory segment after uvm_page_init().
It doesn't even compile.

(In the future, we should allocate struct vm_page [] on the added memory
segment for NUMA's sake.)
 1.14.2.1  23-Feb-2010  uebayasi Convert all VM_MDPAGE_INIT()'s to take struct vm_page_md * and paddr_t.
 1.16.6.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.17.16.1  18-May-2014  rmind sync with head
 1.17.12.2  03-Dec-2017  jdolecek update from HEAD
 1.17.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.14.1  21-Apr-2017  bouyer Sync with HEAD
 1.18.10.1  20-Mar-2017  pgoyette Sync with HEAD
 1.18.6.1  28-Aug-2017  skrll Sync with HEAD
 1.19.6.1  31-Aug-2017  martin Pull up following revision(s) (requested by sevan in ticket #241):
sys/arch/powerpc/include/oea/vmparam.h: revision 1.20
Raise the maximum text size value to 128MB, this allows binaries such as
clang which
currently has a text area of around 96MB to execute successfully on macppc.
ok macallan
 1.20.18.1  17-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed