summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include
AgeCommit message (Collapse)Author
2004-04-16When a VMEBus device needs to use two interrupt vectors, be nice and let itMiod Vallat
actually use two distinct vectors, rather than twice the same. Because of this, print vector last in vmeprint() so that dmesg remains pretty in the multi-vector case.
2004-04-15Since *ramread and *ramwrite are the same code, really, factorize them a laMiod Vallat
memread/memwrite.
2004-04-14After enough checks on real hardware, it turns out the documentation is wrong,Miod Vallat
for once - SCON in GLOBAL1 on MVME188 is an SCON*, thus low if the board is the system controller.
2004-04-14Nuke getdevunit(), nothing uses it.Miod Vallat
2004-04-14When trying to program tho 88410, be sure to unmask both flash banksMiod Vallat
(as advertized in the comments...)
2004-04-14Simplify pmap_bootstrap() interface.Miod Vallat
2004-04-12Minor tweaks to appease gcc 3.Miod Vallat
2004-01-26sign mismatch correction, from miodTheo de Raadt
2004-01-26A few more BUG syscall definitions and structures. Fix (not used yet)Miod Vallat
mvmeprom_netctrl definition while there.
2004-01-23Get rid of a few (mostly DDB related) unused defines and macros.Miod Vallat
2004-01-20Use shifts and logical arithmetic, rather than multiplications and integerMiod Vallat
arithmetic, when computing cmmu numbers.
2004-01-19Get rid of a few useless defines, as well as a few duplicated ones; andMiod Vallat
move 8820x-only definitions to the adequate header. Also crank MAXPHYSMEM to a more realistic value.
2004-01-19``3 pages of u-area ought to be enough for everybody''Miod Vallat
(deraadt wanted 2, I wanted 4, actually...)
2004-01-14Some MC8820x operation cleaning:Miod Vallat
- define more constants and macros for readability. Especially cache initialization suddently becomes more readable. - after every flush operation, wait for the operation to complete by accessing the status register, before returning.
2004-01-14Do not expose kernel prototypes to userland.Miod Vallat
2004-01-13Get rid of more unused useless broken invalid constant laughable values.Miod Vallat
Also shrink iomap to a more reasonable value for now.
2004-01-13No need to set [di]sar for complete tlb invalidation.Miod Vallat
2004-01-13Get rid of old MID binary compatibility. This has been a lifesaver back whenMiod Vallat
the toolchain was in limbo, but now that we have a solid enough in-tree toolchain, this makes no sense. Plus the libc back then was full of bugs...
2004-01-13Less pedantic types; helps when userland includes <signal.h> withoutMiod Vallat
<sys/types.h>; spotted by deraadt@
2004-01-13During signal delivery, force the sigframe to be on an 8 byte boundary.Miod Vallat
This removes the need for extra padding in struct sigcontext.
2004-01-12Use a struct reg in struct sigcontext, rather than an unsorted pot-pourriMiod Vallat
of registers. This also makes signal and sigreturn much simpler.
2004-01-12Shrink the reg structure, for it to only contain registers (eh), and makeMiod Vallat
the remaining fielhs only available in struct trapframe. This has the additional benefit of preventing smarty-pants from altering the frame a bit too easily from ddb, at the expense of a few ugly casts in ddb.
2004-01-12Get rid of that ugly m88100_saved_state structure, use trapframe everywhereMiod Vallat
instead. Allow struct reg and struct trapframe to live different lives and grow separately. Righty now they are still the same, and code expects a trapframe to always start with a struct reg. This may change...
2004-01-11Mark more code as dependent upon option PTRACE, and slight cleaning while there.Miod Vallat
2004-01-09Do not define new m8820x specific constants for what are common cache andMiod Vallat
apr validity constants, really. And get rid of the old cache_policy debug trick.
2004-01-08Some splfoo() have raise-if-lower semantics; so introduce raiseipl() whichMiod Vallat
never lowers current spl value, and use it where appropriate.
2004-01-07Remove duplicate definitions with MI ddb headers, and fix db_stack_trace_printMiod Vallat
prototype in the process.
2004-01-04Working kluge to ``enable'' the on-board SCSI controller on 187 and 197, ifMiod Vallat
it is not the boot device and has not been expliictely ``enabled'' in the BUG. Will definitely help netboot installations...
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2004-01-02When both cmmu_dofoo() and cmmu_remote_dofoo() exist, kill the first one,Miod Vallat
and rename the second one to the first one, i.e. have the cmmu_dofoo() functions always take a cpu# parameter. No functional change, simply makes code more readable and saves a few call frames.
2003-12-28Crank default data and stack limits, align with m68k values.Miod Vallat
2003-12-25Remove duplicate ident strings.Miod Vallat
2003-12-21Switch db_expr_t from int to long, per consistency with other platforms.Miod Vallat
2003-12-19The physical address of a pmap's segment table is only used to compute anMiod Vallat
apr value used in pmap_activate(). So, rather than storing the address in the pmap structure, store the precomputed apr value...
2003-12-19When temporarily unlocking a pmap, do not release the spl as well.Miod Vallat
While there, get rid of that ugly PT_FREE() macro.
2003-12-14Replace pmap_testbit/pmap_changebit sequences with a tailor-made pmap_unsetbitMiod Vallat
routine, in order to speed up pmap_clear_modify() and pmap_clear_reference().
2003-11-16convert __attribute__((__packed__)) to __packed so that parsers unawareAnil Madhavapeddy
of gcc extensions have more of a chance. ok mcbride@, no objections from millert@, deraadt@
2003-11-09Typos; Jonathan GrayMiod Vallat
2003-11-08Inline invalidate_pte().Miod Vallat
2003-11-08Save the current floatingpoint state in the pcb.Miod Vallat
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