summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2013-10-15Rewrite the awk script that generates the data for option DDB_STRUCT:Philip Guenther
- switch to perl for better data structures and (thus) speed - fix a couple glitches in the interpretation of the stabs output - compress the strings by putting them in one big array and overlaying suffixes - all sizes and offsets are <64k, so use u_short for them This results in ~60% reduction in the resulting text size and it now takes less than a second to create on fast platforms. ok miod@
2013-10-14XXsize() returns daddr_t, so calculate the return value in a daddr_tKenneth R Westerback
variable and not (usually) an int. ok miod@
2013-09-28Model 332 has a monochrome 98542 on-board, instead of the expected 98544;Miod Vallat
that particular model lacks the colormap chips (likely due to physical space constraints) and lies about its visible geometry, in pure old HP frame buffer style (before HP engineers realized the usefulness of providing correct data to the operating system). Work done by Andrew Gillham (last name on gmail), with unsignificant tweaks by me.
2013-09-28In boot(), do not iterate over alldevs if it's empty (i.e. halting from ddbMiod Vallat
with ddb entered early with boot -d or from UKC).
2013-09-24Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:Miod Vallat
- the am7990_get() - now lance_get() - is unchanged. - the interrupt acknowledge logic is unchanged, and will disable interrupts, then acknowledge all interrupt conditions. Add ILACC (79900) support (from NetBSD). Both LANCE (am7990.c) and ILACC (am79900.c) code share as much common code (lance.c) as possible. This affects all le(4) attachments, but the changes are mostly mechanical, to split am7990-specific parts from lance-agnostic parts. Compile tested on all affected platforms. Tested on alpha, hp300, luna88k, mvme88k, sparc, sparc64 and vax.
2013-09-23Remove SLOWSCSI and the millisecond delay after each phase change it introduces.Miod Vallat
This code was added back when the scsi code between the kernel and the boot blocks was shared, to work around an obscure kernel problem (and definitely not related to bootstrap, at all). While there, increase the target selection timeout from 2ms to 250ms, to match the value currently used by the kernel. Crank boot blocks version. Booting a kernel from disk is now significantly faster.
2013-08-04de-lint hp300Martin Reindl
ok miod
2013-06-30Fix non-traditional cpp mode for real.Miod Vallat
2013-06-28Uninitialized variable; Maxime VillardMiod Vallat
2013-06-23Stop using -traditional-cpp on gcc3/4 platforms.Miod Vallat
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
2013-06-23Fix RELOC() in the __STDC__ case.Miod Vallat
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-03changes for isc fuse support. not enabled. ok beck deraadt.Ted Unangst
from Sylvestre Gallon ccna.syl gmail.com
2013-06-01add missing license (PD) blockJasper Lievisse Adriaanse
ok guenther@
2013-05-17Add a dummy IPL_MPSAFE definition.Mark Kettenis
ok miod@, mikeb@
2013-04-01Let the hp300 boot blocks compile again after all the md include churning.Miod Vallat
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-23refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedTheo de Raadt
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
2013-03-23Avoid using DEV_BSHIFT, and use DEV_BSIZE instead.Theo de Raadt
2013-03-21NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASKTheo de Raadt
2013-02-10switch m68k ports to gcc3Miod Vallat
2013-02-02hp300 ELF bits. Requires many device and prom related structs to now be declaredMiod Vallat
as packed due to them containing 32-bit types at 16-bit but not 32-bit aligned offsets. The boot block updates (especially mkboot) come straight from NetBSD.
2013-01-16cpu_coredump() also needs to invoke vn_rdwr() without IO_NODELOCKED; onlyMiod Vallat
affects a.out binaries' core dumps.
2013-01-11Change boot commandline parsing to only force lowercase of the device nameMiod Vallat
part, and keep the filename unchanged. This allows a kernel which name contains uppercase letters to be bootable, instead of getting a `file not found' error with the filename being all lower case. A workaround was to prepend the filename with `/', to give an absolute path. Yet there is no reason to lowercase the filename unless there is a boot device prefix. Crank version.
2013-01-07Move exec() libsa prototype to hp300 stand, now that it can no longer beMiod Vallat
found in libsa.
2013-01-01Switch hp300 boot blocks to MI loadfile code.Miod Vallat
2013-01-01Define _STANDALONE, not STANDALONE, in the hp300 bootblocks, to follow theMiod Vallat
common (and expected) practice. This exposes a flaw, in that mkboot, a host tool, gets built with boot block settings (and won't compile if _STANDALONE is defined). Fix this by using different set of CPPFLAGS for host tools and boot blocks. While there, avoid sourcing ../Makefile.inc twice.
2012-12-31Remove emulation errno mapping code from platforms that no longer havePhilip Guenther
non-native emulations. ok miod@
2012-11-05unifdef -D __HAVE_TIMECOUNTERMiod Vallat
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
2012-09-08Switch hp300 to timecounters. From NetBSD via martin@Miod Vallat
2012-08-23kill nnpfs deadTheo de Raadt
2012-08-22Build the kernel with -fno-pie. Just getting Ms out of my tree; this will bePascal Stumpf
cleaned up later. ok deraadt@
2012-08-21Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always bePascal Stumpf
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
2012-08-07Move the common bits of syscall invocation and return handling intoPhilip Guenthe
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the handling when copyin() of arguments fails. Tested on i386, amd64, sparc64, and alpha (thanks naddy@) Any issues with other platforms will be fixed in tree. header name from millert@; ok miod@
2012-06-26create new machine/_float.h which is namespace clean. create a newTheo de Raadt
MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
2012-01-22Repair 68030 support, broken by mistake in 1.67. Found the hard way andMiod Vallat
fix confirmed to work by Tobias Ulmer.
2011-12-30I had the opportunity to glance at HP-UX's /etc/conf/graf/gr_98705.h, soMiod Vallat
after hours of tinkering with my frame buffer debugger, here comes color support for tvrx(4) - by making use of all overlay planes. Access to the regular planes remains a mystery, and seems to require a download of microcode into the board first. Still slightly better...
2011-12-21Work-in-progress driver for the HP ``Audio1'' device found on the HP 9000/425eMiod Vallat
(hp300) and the HP9000/705 and 9000/710 (hppa). 8-bit mono, 8KHz, no surprise since it is based upon a digital phone chip. Tested on 425e only so far, and playback only; configured in, but disabled, on hppa kernels until there are positive test reports (I am not sure the interrupt assignment on hppa is correct). And now people no longer can joke about audio on hp300.
2011-12-21Allow intr_dispatch() on hp300 to be used on the clock interrupt levelMiod Vallat
(level 6). Will be used shortly.
2011-11-16Make userret() MI. On architectures which jammed stuff into it in theTheo de Raadt
past, pull that code out seperately. ok guenther miod
2011-11-09Auto-repeat keys in WSKBD_RAW mode is not needed.Alexandr Shadchin
WSKBD_RAW mode used in X, but X independently implements auto-repeat keys. ok miod@
2011-11-08consistant "config bsd" lines; ok miodTheo de Raadt
2011-11-08Garbage collect now unused MKDEP definitions. ok deraadt@Matthieu Herrb
2011-11-01Drop support for the HP MMU. It was only found on two hp300 systems (modelsMiod Vallat
320 and 350), which have been unsupported since a bunch of release already, because this annoying MMU does not have TT registers (or if it does, it is not documented) and thus went in the way of PMAP_DIRECT for hp300. In other words: remove a bunch of code which was either #ifdef'ed out or had no chance to run in real life.
2011-10-27Specify the TLS variant for each platform.Philip Guenthe
2011-10-06ccd goes to the atticTheo de Raadt
discussed with jsing and millert
2011-09-20Clear RB_POWERDOWN early in boot() on systems which can not powerdown andMiod Vallat
which firmware does not send spin up commands to the disks, in case the operator changes his mind and reboots instead of manually powering down after the system has halted. ok kettenis@
2011-09-18Fix exchanged arguments in a "can't happen" printfMiod Vallat