summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include
AgeCommit message (Collapse)Author
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-11Get rid of "union cpupid"; makes <machine/cpus.h> disappear as well.Miod Vallat
2003-10-11Nuke trailing whitespace.Miod Vallat
2003-10-08delay() is actually a void function.Miod 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-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-02Round VM_MAX_KERNEL_ADDRESS to a page boundary.Miod Vallat
2003-09-28Remove duplicate CMMU address definitions.Miod Vallat
2003-09-26Death to the bitfields, this time "struct dmt_reg" - and I think that's all.Miod Vallat
While there, KNF data_access_exception().
2003-09-26Death to the bitfields, this time cmmu_apr_t and batc_entry_t. In theMiod Vallat
process, remove duplicate batc defines.
2003-09-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
2003-09-26Death to bitfields, this time "struct psr".Miod Vallat
Also clean <machine/psl.h> contents while there.
2003-09-20Cleanup uses of intstack and interrupt_stack[] - also makes time % in topMiod Vallat
more realistic.
2003-09-17More cleaning of the exception handling code, and collateral damage:Miod Vallat
- always give C routines invoked by the assembly code some breathing room on the stack - merge error and reset exception handlers -- gets us rid of error_fault() and error_reset(). - remove all references to SR0 and "threads" inherited from Mach. In fact, we do not use SR0 at all now. - only use double load and stores instructions when we are 200% sure we are accessing a correctly aligned area. I am not fond of unaligned kernel accesses, and forcing every pgb to be aligned on an 8 byte boundary is gross.
2003-09-16Remove unused material from include files, as well as the annoying U() macroMiod Vallat
which is only used to obfuscate things. Doing this points out that the BUG memory is not at the same address on 187 and 197 (the 197 BUG is inside obio), so provide distinct constants, and treat 187 and 197 slightly differently in pmap_bootstrap(). However, we now need to map the 197 flash memory as well... While there, simplify and constify pmap_table_build() and its associated data.
2003-09-16Clean <machine/db_machdep.h> of unused material. Also, let this file beMiod Vallat
includable even without option DDB, in which case it will only define the PC_REGS(), inst_return() and inst_call() macros; this removes the need to declare them a second time in trap.c.
2003-09-09Remove DDB conditionals and always define T_KDB_*Miod Vallat
2003-09-07The PTE bit used to flag wiring is zeroed behind our back on 88110, soMiod Vallat
switch to another, safe, unused bit. From the MC88110UM via deraadt@
2003-09-01Prevent userland from invoking BUG system calls, by saving the initial BUGMiod Vallat
trap vector contents, putting the bugtrap() stub in place, and switching back and forth between them when the kernel needs to invoke BUG functions.
2003-08-20A bunch of 88110 band-aid:Miod Vallat
- the 88410 handling code is not working correctly. Check whether we are operating with 88410's, and only invoke these routines if necessary. - force serial mode execution in the PSR for the moment (hopefully only temporary) - disable branch prediction and data matching in the PSR, the 88110 errata is simply too scary about them. - a better pipeline flush after changing the ictl control register. These changes let 197LE (but not 197SP/DP) boot up to autoconf. Userland process do not work at the moment.
2003-08-17There is no need to assume that the compiler will swap ! and & operatorMiod Vallat
priorities because we are nice people.
2003-08-10No need to bring <machine/psl.h> from <machine/param.h>, this adds unnecessaryMiod Vallat
pollution. Makes warnings in binutils compilation disappear...
2003-08-01Do not use hardcoded values for constants which are in fact computed from otherMiod Vallat
constants.
2003-08-01Turn flush_pipeline() in a simple macro.Miod Vallat
2003-08-01Define a more reasonable label_t size.Miod Vallat
2003-08-01Even better varargs code, inspired by and more closer to the powerpc code,Miod Vallat
necessary for proper gcc 2.95 operation.
2003-08-01Fix the *longjmp() behaviour - it is legal to reuse a jmp_buf several times.Miod Vallat
Gets us a working perl 5.8.
2003-06-04more term 3 and 4 changesTheo de Raadt
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02Relax licence by removing the 3rd clause on all files whereI was stillMiod Vallat
using a 3 clause licence.
2003-06-02licence cleanupTheo de Raadt
2003-04-16Clarify license terms.Miod Vallat
2003-01-24Convert m88k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. While there, various KNF and whitespace fixes, and rename some structure fields to be closer to the m68k pmap. per art@'s idea.
2003-01-24PMAP_{DE,}ACTIVATE are not used anymore.Miod Vallat
2003-01-14Define exception vector tables as assembly source, with the appropriateMiod Vallat
macros, rather than include files - no need to pollute <machine/> area...
2003-01-13Clean up ipl handling: be sure to always return valid levels in getipl(),Miod Vallat
and check input level in setipl() if DIAGNOSTIC. Doing this pointed out an horrible bug where exception frames would refer to the saved ipl at the time the exception was processed, but would not save it before, and the joys of stack values would make it a correct value 90% of the time. Of course, bad things could happen when restoring the ``saved'' ipl...
2003-01-07Remove duplicate SRX definition.Miod Vallat
2003-01-04Don't define splassert goo if _LOCOREMiod Vallat
2003-01-04A va_copy macro without drugs inside. Shupid miod.Miod Vallat
2003-01-03splassert support for m88kMiod Vallat
2003-01-03Provide a simple va_copy() implementation.Miod Vallat
2003-01-02Adapt to recent changes in libc/libc_r wrt weak symbols, so that programsMiod Vallat
can link against libc without unresolved symbols again. Anyone who correctly guessed that my m88k hard drive has been recovered, wins a strawberry lollipop.
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-06-10add __weak_alias define; miod@ okFederico G. Schwindt
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt