summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
AgeCommit message (Collapse)Author
2007-01-12Change the secondary CMMU's data cache turn on so that do not hog theKenji Aoyama
bus while they spin, as same as 3.8. This have been missed since CMMU initialize cleanup. Also m88k_cpus[] should have 4 elements on luna88k, even in non-MULTIPROCESSOR kernel. ok miod@
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@
2006-11-18On 88100 systems which do not need the xxx.usr instruction workaround,Miod Vallat
override the DAE helper routines with workaroundless code while the kernel text is still writable.
2006-11-16Ratibibugle struct frame and <machine/frame.h>Miod Vallat
2006-10-30Now the primary CPU starts the CMMUs which tied to the secondary CPUs.Kenji Aoyama
Without this, the performance is not good on multi-CPU machine with non-MULTIPROCESSOR kernel, because the secondary CPUs run on the never-ending loop without cache. ok miod@
2006-10-30Changed CMMU probing method. On the luna88k, badaddr() returns 'good'Kenji Aoyama
on unpopulated slots, so we check the CMMU type value for each CMMU register address. ok miod@
2006-10-04More tidying up after bad144. Remove references in comments andKenneth R Westerback
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around.
2006-09-27Fix tags file creating by removing unexisting paths.Alexander Yurchenko
2006-08-17Check d_secpercyl in all readdisklable() functions, and have all ofKenneth R Westerback
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@
2006-08-12Missing rcsidMiod Vallat
2006-08-12Fail TIOCSFLAGS if non-root, like all other serial drivers do.Miod Vallat
2006-08-06Switch luna88k from rcons to rasops. Tested by aoyama@Miod Vallat
2006-07-27Compile all kernels with -Wstack-usage-larger-than-2047, now that allMiod Vallat
offending code has been taken out and shot. ok deraadt@
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-11Zero the size of the correct partition. Missed in previous cleanup.Kenneth R Westerback
ok miod@
2006-05-15Clean secondary processors initialization code, similar to mvme88k;Miod Vallat
tested aoyama@
2006-05-08Replace gazillions of badvaddr() or badwordaddr() calls with badaddr() calls.Miod Vallat
With a few prototype declarations shuffling, this finally allows <machine/locore.h> to die.
2006-05-08Clean the internal m88k trap type codes; while there, simplify andMiod Vallat
factorize the build of the VBR page betweem luna88k and mvme88k. Tested by aoyama@ and I.
2006-05-04eneble -> enableMiod Vallat
2006-05-04Now that .S files have proper dependencies, do not hardcode dependenciesMiod Vallat
on assym.h in Makefile, especially since some files have been renamed...
2006-04-17Save pointers to up to four CMMU PFSR registers into the cpu_info structure.Miod Vallat
This allows the exception handling code to skip the PFSR address computations. The net result is that the PFSR_SAVE code becomes much simpler and smaller, and that all processors will now spend time in PFSR_SAVE - previously, cpu0 was favored and other processors took a bit more time. Note that 8:1 configurations do not use these fields - but then this is a fixed monoprocessor configuration, for which the existing code was already doing The Right Thing. Tested on luna88k (2:1) by aoyama@, and on mvme88k (2:1 and 4:1) by me.
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-13remove IPL_IMP.Brad Smith
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-01-26Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from.Miod Vallat
Tested by aoyama@
2006-01-22Put various divide-by-zero checks as found in other disksubr routines; alsoMiod Vallat
a few sylistic changes from sparc and mvme88k.
2006-01-10struct cfdriver shall not be declared as const (oops).Miod Vallat
2006-01-09Remove clock tick adjustment computation inherited from luna68k where someMiod Vallat
models run with hz=60.
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-12Remove unused code.Miod Vallat
2005-12-11Factorize soft interrupt code between luna88k and mvme88k.Miod Vallat
2005-12-04Let cmmu_init() now return the cpuid of the master cpu.Miod Vallat
2005-12-04Slight cmmu code cleanup; use shorter function names, remove parity_enableMiod Vallat
and the DDB and DEBUG helpers which are of questionable usefulness, some stylistic changes.
2005-12-03Implement __cpu_simple_lock_t for m88k.Miod Vallat
2005-12-03Fast __HAVE_MUTEX implementation for m88k platforms.Miod Vallat
2005-12-03intstack does not need to be visible from C code anymore.Miod Vallat
2005-12-03The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER isKenneth R Westerback
to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change. ok miod@
2005-12-03Turn read_processor_identification_register() into a simple macro with aMiod Vallat
much, much, much shorter name. It is only used to print cpu revision anyway...
2005-12-03Switch m88k ports to __HAVE_CPUINFO. Current cpu pointer is held in SR0Miod Vallat
on all running processors. Tested aoyama@ and I
2005-12-02Better choice of types for struct pmap members and cmmu functions;Miod Vallat
no functional change.
2005-12-01Do not depend on MAX_CPUS being 4.Miod Vallat
2005-11-28Switch to per-process AST flags and clean AST-related codepaths; speeds upMiod Vallat
forks as a bonus. Tested on luna88k and mvme88k by aoyama@ martin@ and I.
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-10-24Factorize db_interface code between luna88k and mvme88k, removing dead codeMiod Vallat
in the process; the arch-agnostic code keeps the ability for a specific machine to define its own machine commands, such as "machine prom" for mvme88k, in addition to the ``regular'' m88k machine commands.
2005-10-18Use PSR_IND rather than recomputing it from PSR_INTERRUPT_DISABLE_BIT;Miod Vallat
spotted by martin.
2005-10-13Merge <machine/cpu_number.h> into <machine/cpu.h>, preparing for intrusiveMiod Vallat
changes.