Commit Graph

33 Commits

Author SHA1 Message Date
chs 118ddca24a replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}. 2001-05-26 16:32:40 +00:00
thorpej 69abdbf60c Undo a misguided previous change to the pmap_update() API. 2001-04-22 23:19:26 +00:00
thorpej 4738622712 Give pmap_update() an argument (a pmap_t) so that it knows which
pmap it should be updating.
2001-04-22 00:33:59 +00:00
matthias d88ce636a9 Bring this to the code in arch/i386/i386/pmap.c;1.117. 2001-01-22 14:33:29 +00:00
is f41561e9de We do wired page accounting. Tell UVM about it. 2000-09-28 13:09:10 +00:00
matthias 9cb57a12a7 Change KERNBASE to 0xe0000000 to give more room for KVA. This is the maximum
amount of KVA that is supportable on the ns32532.
2000-07-18 12:45:49 +00:00
thorpej 31fa5c6f78 Don't inline pmap_kenter_pa(). It doesn't buy us much to do so, and
it's nice to have it show up in stack traces.
1999-07-28 01:07:52 +00:00
chs 47602880d7 KNF. 1999-07-18 21:33:20 +00:00
matthias c343d282b0 Pull over some changes from the i386 port to fix the kernel RSS counters. 1999-06-26 09:09:51 +00:00
thorpej f51688dd8b PMAP_NEW is no longer optional on the pc532; the old pmap's page table
allocation strategy no longer works at all.  Move pmap.new.* to pmap.*.

To read the revision history of PMAP_NEW up until this merge, use cvs
rlog of the old pmap.new.* files.
1999-06-17 00:22:41 +00:00
matthias 470ebb82a6 Define PMAP_NEED_PROCWR and make pmap_procwr flush the icache.
Thank's to Ignatios Souvatzis noticing this.
1999-03-01 14:27:59 +00:00
matthias 59def94d93 Get rid of vm_offset_t/vm_size_t. Resolve conflicts in pmap.new.[ch] after
last import from port-i386.
1998-09-02 19:17:12 +00:00
mycroft 6dc903202f Assign my copyrights to TNF. 1998-08-15 10:10:47 +00:00
matthias e14a1c1120 Switch the pc532 to MACHINE_NEW_NONCONTIG and add machine specific bits
for UVM. All of this was mostly done by stealing code from the i386 port.
Prepare for stealing pmap.new.c as well.
1998-03-18 21:59:38 +00:00
cgd 3bbb7f7d45 Move pmap_map() function definition to MD headers, as appropriate. It's
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej b9f1b716f3 Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>
1998-01-03 01:12:59 +00:00
thorpej a6f228e498 Make pmap_activate() take a struct proc *. 1998-01-02 22:36:33 +00:00
matthias 1c1450c97a Remove __VM_PMAP_HACK. 1997-07-09 19:27:54 +00:00
gwr e2a58b69f7 Add #define __VM_PMAP_HACK as a temporary measure. 1997-05-16 21:35:30 +00:00
matthias dd38be40dc * Add prototypes for pmap_pte, pmap_testbit and pmap_changebit.
* Remove PTDpaddr. This is no longer in use.
1997-03-20 12:02:42 +00:00
matthias b01c5dfbcb * Define NKPDE_BASE, NKPDE_MAX and NKPDE_SCALE for boottime computation of
nkpde (From the i386 port).
1996-12-23 08:37:38 +00:00
matthias 781cd59dd4 * Enlarge kernel virtual memory space. The pc532 kernel now runs at
0xf8000000. When the kernel was running at 0xfe000000, the INSTALL
  kernel would not run on a 32mb machine.
1996-12-07 09:24:37 +00:00
matthias 1a81564477 * Declare reserve_dumppages and pmap_activate. 1996-10-23 07:30:57 +00:00
christos b3666297b1 Oops, meant to delete the declaration completely. 1996-02-12 21:28:18 +00:00
christos a9996b4780 pmap_page_index returns int 1996-02-12 21:27:32 +00:00
phil 63d5234cbf Integration of many changes from Matthias Pfaller plus some of mine.
Several had:  _MACHINE_ICU_H_ -> _NS32K_ICU_H_

cpu.h		* Removed definition of cpu_swapout.
		* Added definition of cpu_wait.

frame.h		* added struct switchframe

icu.h		* tweeked ints_off

param.h		* More derived constants.
		* Alot of things taken over from i386/include/param.h.

pcb.h		* Removed pcb_flags (was unused) and pcb_pl.
		  The current priority level is now stored
		  in the switch frame by cpu_switch.

pmap.h		* Taken over from i386/include/pmap.h.

psl.h		* Add USERMODE definition

trap.h		* T_INTERRUPT -> T_AST

types.h		* Remove __FORK_BRAINDAMAGE

vmparam.h	* Taken over from i386/include/vmparam.h.
		  Added definition of INTSTACK.
1996-02-01 00:03:25 +00:00
jtc 8aa6c376b6 KERNEL -> _KERNEL 1995-05-11 16:52:54 +00:00
phil 042a0e2c63 remove warnings in pmap.c 1995-04-27 07:19:09 +00:00
mycroft 22cefc03bc Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
jtc 71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
cgd dafacba9d5 new RCS ID format. 1994-10-26 08:23:50 +00:00
phil 493236e982 making the "#ifndef _MACHINE_FILE_H_" more complete and consistent. 1993-10-25 06:11:58 +00:00
phil e401483244 Adding the src/sys/arch/pc532 tree. 1993-09-09 23:53:45 +00:00