Home | History | Annotate | Download | only in include
History log of /src/sys/arch/alpha/include/pte.h
RevisionDateAuthorComments
 1.31  06-Feb-2012  matt Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c
 1.30  28-Apr-2008  martin branches: 1.30.34; 1.30.38;
Remove clause 3 and 4 from TNF licenses
 1.29  11-Dec-2005  christos branches: 1.29.74; 1.29.76; 1.29.78;
merge ktrace-lwp.
 1.28  24-Aug-2003  chs add support for non-executable mappings (where the hardware allows this)
and make the stack and heap non-executable by default. the changes
fall into two basic catagories:

- pmap and trap-handler changes. these are all MD:
= alpha: we already track per-page execute permission with the (software)
PG_EXEC bit, so just have the trap handler pay attention to it.
= i386: use a new GDT segment for %cs for processes that have no
executable mappings above a certain threshold (currently the
bottom of the stack). track per-page execute permission with
the last unused PTE bit.
= powerpc/ibm4xx: just use the hardware exec bit.
= powerpc/oea: we already track per-page exec bits, but the hardware only
implements non-exec mappings at the segment level. so track the
number of executable mappings in each segment and turn on the no-exec
segment bit iff the count is 0. adjust the trap handler to deal.
= sparc (sun4m): fix our use of the hardware protection bits.
fix the trap handler to recognize text faults.
= sparc64: split the existing unified TSB into data and instruction TSBs,
and only load TTEs into the appropriate TSB(s) for the permissions.
fix the trap handler to check for execute permission.
= not yet implemented: amd64, hppa, sh5

- changes in all the emulations that put a signal trampoline on the stack.
instead, we now put the trampoline into a uvm_aobj and map that into
the process separately.

originally from openbsd, adapted for netbsd by me.
 1.27  14-Oct-2002  chs branches: 1.27.6;
eliminate PT_ENTRY_NULL in favor of plain old NULL.
 1.26  09-Apr-1999  thorpej branches: 1.26.14;
Fix a bug in TBI optimization uncovered by the "access_type" changes. Thanks
to Bernd Ernesti for providing crash dumps to Charles Hannum who tracked
it down.
 1.25  14-Aug-1998  thorpej branches: 1.25.6;
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
 1.24  01-Aug-1998  thorpej Remove some lint.
 1.23  08-Jul-1998  thorpej Define a macro that returns the mask of PALcode PTE bits that we care
about when determining if a TBI is necessary (i.e. the PALcode bits minus
the FOx bits, since we always track those).
 1.22  11-Jun-1998  thorpej Define a software PTE bit to track VM_PROT_EXEC.
 1.21  19-May-1998  thorpej Argh, finish renaming Lev1map to kernel_lev1map.
 1.20  25-Mar-1998  thorpej Keep a few things that reference kernel variables out of the namespace.
Add a check to see if libkvm is using this file.
 1.19  17-Mar-1998  thorpej Add a software PTE bit that indicates that a va -> pa mapping was entered
in the physical->virtual list.
 1.18  12-Mar-1998  thorpej Move PTE-related constants here, and make them not depend on a hard-coded
page size (i.e. use the one initialized from the HWRPB at boot time).

Do a bit of cleanup while here, rendering old inherited constants obsolete.
 1.17  12-Mar-1998  thorpej Nuke ALPHA_STSIZE and ALPHA_MAX_PTSIZE. Add macros to compute and operate
on segments mapped by L1 and L2 PTEs.
 1.16  09-Mar-1998  thorpej Define VPT_INDEX(), which computes the index into the Virtual Page Table
of the PTE that maps the specified virtual address.

Thanks to Chris Demetriou and Ross Harvey for clarifying the VPT.
 1.15  07-Mar-1998  thorpej Clean up a comment.
 1.14  07-Mar-1998  thorpej Clean this up a bit.
 1.13  07-Mar-1998  thorpej Nuke kvtopte() and ptetokv().
 1.12  07-Mar-1998  thorpej Nuke the vatopa() macro.
 1.11  02-Mar-1998  thorpej Rename a few macros to better describe what they are:
- kvtol1pte() -> l1pte_index()
- vatoste() -> l2pte_index()
- vatopte() -> l3pte_index()
 1.10  02-Sep-1997  thorpej branches: 1.10.2;
Garbage-collect loadustp(); the functionality has moved to pmap.old.c
 1.9  07-Apr-1997  cgd branches: 1.9.2;
clean up NetBSD RCS ID strings
 1.8  13-Nov-1996  cgd branches: 1.8.2;
update copyright dates
 1.7  01-Oct-1996  cgd move kvtol1pte outside of _KERNEL
 1.6  14-Jul-1996  cgd rename translation buffer invalidation macros to start with ALPHA_,
like all other macros defined in alpha_cpu.h.
 1.5  09-Jul-1996  cgd redefine lots of things in terms of definitions in alpha_cpu.h
 1.4  01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.3  23-Nov-1995  cgd wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
 1.2  28-Mar-1995  jtc KERNEL -> _KERNEL
 1.1  13-Feb-1995  cgd preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO
THE REST OF THE KERNEL ARE IN THE TREE YET. Also, some of this is
_incredibly_ hack-ish, etc., but it works.
 1.8.2.1  01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.9.2.2  04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.9.2.1  01-Sep-1997  thorpej Repair marc-pcmcia branch.
 1.10.2.2  02-Sep-1997  thorpej Garbage-collect loadustp(); the functionality has moved to pmap.old.c
 1.10.2.1  02-Sep-1997  thorpej file pte.h was added on branch bouyer-scsipi on 1997-09-02 19:07:23 +0000
 1.25.6.1  09-Apr-1999  thorpej branches: 1.25.6.1.2;
Pull up 1.25 -> 1.26; fix TBI optimization bug.
 1.25.6.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.26.14.1  18-Oct-2002  nathanw Catch up to -current.
 1.27.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.27.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.27.6.1  03-Aug-2004  skrll Sync with HEAD
 1.29.78.1  16-May-2008  yamt sync with head.
 1.29.76.1  18-May-2008  yamt sync with head.
 1.29.74.1  02-Jun-2008  mjf Sync with HEAD.
 1.30.38.1  18-Feb-2012  mrg merge to -current.
 1.30.34.1  17-Apr-2012  yamt sync with head

RSS XML Feed