summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
AgeCommit message (Collapse)Author
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.
2005-10-12Define IPL_SCHED and spslsched(), matching the statclock level.Miod Vallat
2005-10-12Move sigcode to the m88k-agnostic location. No functional change.Miod Vallat
2005-10-12Stop mapping the u area at fixed UADDR in addition to its actual va.Miod Vallat
While there, attempt to clean and comment stack usage in the kernel. No functional change. From the m88k SMP tree; help&test martin@
2005-09-26Delete wrong comments, originally came from Makefile.mvme88k.Kenji Aoyama
ok miod@
2005-09-25Do not consider userland trap #496 (BUG system call on mvme88k) as specialMiod Vallat
anymore, since we don't want to allow userland to talk to the BUG. Deliver SIGSYS instead of doing nothing. Makes things simpler, plus it polluted luna88k.
2005-09-06Remove misleading NCPUS (hardcoded) option. From the SMP tree.Miod Vallat
2005-08-03enable safte and ses on all archs that appear to have real scsi bussesDavid Gwynne
ok deraadt@ beck@ marco@
2005-08-01Kill more "memory might be 2MB or less" checks in bufpages computation.Miod Vallat
ok deraadt@ otto@
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-05-06generate vim-compatible tag files, from netbsdPedro Martelletto
2005-05-06Add more dirs and fix links target.Marco Peereboom