summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
AgeCommit message (Collapse)Author
2003-10-28Split pmap_remove_range() into its main loop and a new function,Miod Vallat
pmap_remove_pte(), which takes the va and a pte. Use pmap_remove_pte() instead of pmap_remove_range() in strategic places, in order to save some cycles by avoiding unnecessary pte address recomputations. pmap_remove_range() is still preferred for large amounts of memory, as it will skip empty segments.
2003-10-28In pmap_remove_range(), be sure to propagate pvlist flags when removingMiod Vallat
the head entry. While there, invalidate the affected pte earlier for safety, and store its PG_U bit in the pvlist flags as well. And also get rid of a pdt table group leftover in pmap_collect().
2003-10-27Be sure to always have a valid faulting address when we send a signalMiod Vallat
to a process.
2003-10-27Be sure to flush the entire va space in cpu_switch().Miod Vallat
This used to work because the cmmu code is suboptimal at the moment.
2003-10-27Remove dead code and polish commentsMiod Vallat
2003-10-24Remove dead code.Miod Vallat
2003-10-24No \n in panic() messages...Miod Vallat
2003-10-23Correctly recover from bus error during guarded_access() on 88110.Miod Vallat
2003-10-23No dependency on NDART needed here.Miod Vallat
2003-10-19Simplify pmap DEBUG test constructs.Miod Vallat
2003-10-16Better DEBUG output.Miod Vallat
2003-10-15Better reset code, even.Miod Vallat
2003-10-15Do not assert SYSRST on 1x7 boards, if we are not a SYSCON, or unexpectedMiod Vallat
collateral damage will happen.
2003-10-13Get rid of the "page table group" stuff. "groups" used to be one logical pageMiod Vallat
big anyways. However, getting rid of the various constants (expanding to 0 for logs and shifts, and 1 for size) allows us to do further simplifications in some pmap loops, as there is no risk anymore of address wrapround. While there, fix some typos and comments.
2003-10-13Do not define LEDEBUG by default.Miod Vallat
2003-10-11Better sync comment with reality after last commit.Miod Vallat
2003-10-11Get rid of "union cpupid"; makes <machine/cpus.h> disappear as well.Miod Vallat
2003-10-11Nuke trailing whitespace.Miod Vallat
2003-10-11Page tables can be cached again on 187 and 188, as long as they are cachedMiod Vallat
write through and global (for 188).
2003-10-11Simplify DAE debug display.Miod Vallat
2003-10-11Merge sclock and clock pseudo-devices.Miod Vallat
2003-10-10In pmap_expand_kmap(), be sure to initialize new page tables.Miod Vallat
2003-10-09Minor cpp changes to let all kernels in conf/ compile.Miod Vallat
2003-10-08Sync VMEChip2 timer usage with mvme68k (i.e. make it slightly more sane).Miod Vallat
Also, use it even when the 1x7 is not a system controller - this does not matter.
2003-10-08delay() is actually a void function.Miod Vallat
2003-10-08Nivas had identified an 88200 specific bug, where flushes of a page or aMiod Vallat
segment would sometimes not work correctly, and he added a brutal workaround leading to non-optimal, but safe, cache handling. The problem affects 88200 rev 7 and 9, and is believed to affect all 88200 revisions (although 88204 seems to be unaffected). Unfortunately, this problem not only affects cache flushes, but also tlb invalidations. So add a similar workaround in cmmu_flush_remote_tlb().
2003-10-06Correctly handle sparse mappings in pmap_changebit() and pmap_testbit().Miod Vallat
2003-10-06More vm_offset_t removal I forgot to check in; spotted by deraadt@Miod Vallat
2003-10-05Bang head against wall, unbreak ddb, do not collect $2000, and go to sleep.Miod Vallat
2003-10-05Oops, commited from the wrong treeMiod Vallat
2003-10-05More cmmu routines cleanup:Miod Vallat
- remove unused routines (which were mostly here for debugging anyway) - do not include <machine/m88*.h> from <machine/cmmu.h> but rather only from the modules which need them - try to simplify the MVME187 codepath in the 8820x code, whenever possible
2003-10-05Do not use empty No_SSBR and No_Precheck macros, but rather pass emptyMiod Vallat
arguments to PREP*() macros. Slightly reorganize code in badaddr() - also do not make some internal labels unnecessarily visible from outside code.
2003-10-05Kill vm_offset_t and vm_size_t, in favor of the [pv]addr_t and [pv]size_tMiod Vallat
typedefs.
2003-10-05De-registerMiod Vallat
2003-10-05typosMiod Vallat
2003-10-05Correct db_{read,write}_bytes prototypes and use the official ones.Miod Vallat
2003-10-05Despite what the comments say, the instruction cache has never been turned on,Miod Vallat
since day one. It's never too late to fix it...
2003-10-03Use the commen DMT constants, and try to provide at least as many informationMiod Vallat
in "machine frame" than regdump() does. XXX this whole ddb/ directory needs a huge KNF spanking, badly
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-10-02Upon invoking the freshly loaded binary, populate registers via embedded asmMiod Vallat
statements, and be sure of what we get, rather than use "hinted" register local variables; bugcrt can now be compiled with compiler optimization enabled.
2003-10-02Fix some DAE processing logic - the kernel would incorrectly end up retryingMiod Vallat
already processed, or unwanted, DAE in certain circumstances by mistake.
2003-10-02Ack external interrupts before reenabling them on 187.Miod Vallat
2003-10-02Round VM_MAX_KERNEL_ADDRESS to a page boundary.Miod Vallat
2003-10-01Unused bits.Miod Vallat
2003-10-01There is no point in chown/chmod outside the install target.Miod Vallat
2003-10-01Compile kernel and bootblocks with -mmemcpy, to get rid of libgcc dependancy.Miod Vallat
Also, honor default compilation options in stand/ whenever possible. This requires an up-to-date compiler, but it's not exactly like many people are going to be affected by this change...
2003-09-29Disable cache on page tables unconditionnaly, not only for MVME188: magicallyMiod Vallat
solves the last 187 issues... Although the slowdown is surprisingly small, this is only a temporary measure, there is room for improvement...
2003-09-29Better use of phys_map_vaddr* (does not matter until we start using more thanMiod Vallat
one cpu).
2003-09-29avaliable -> availableMiod Vallat
2003-09-28Clean various MVME188 related routines, fixing typos and removing unnecessaryMiod Vallat
diagnostic code in the process.