summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
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
2011-08-18Add sti@dio attachments.Miod Vallat
2011-08-18So, it turns out that models 362 and 382 built-in frame buffer only shows upMiod Vallat
in DIO-II space, as a fat device spanning four select codes (i.e. 16MB of memory). This is way too much for an at-most 2 Mpixel 8bit frame buffer, and it turns out that this is because the device provides both a regular DIO-II frame buffer (spanning two select codes) and a regular STI frame buffer (spanning the other two select codes). This commit introduces a straightforward sti@dio attachment to get a working sti(4) and wsdisplay(4) in a ridiculously small number of lines; however the console code needs some changes to avoid duplicating globals. While there, add sti@dio support for the bootblocks, and I couldn't help myself but clean the most rotten parts of them, and try to have them reuse various files in sys/arch/hp300/dev instead of rolling their outdated ones. Tested on a real 382 with the low-resolution frame buffer: sti0 at dio0 scode 132: rev 8.02;129, ID 0x27134CB440A00499 sti0: 382V, 2048x512 frame buffer, 640x480x8 display sti0: 8x16 font type 1, 16 bpc, charset 0-255 wsdisplay0 at sti0 mux 1: console (std, vt100 emulation) Boot blocks updates tested on DIO-II 425t (serial/glass console), SGC 425e (serial/glass console) and 382 (serial/glass console). And will be tested on SGC 425t soon as well.
2011-08-18Fix various lies in comments, extend hex constants to 8 hex digits for easierMiod Vallat
reading, and introduce a define for the DIO-II device size, as reported by the device itself (in quarters of select code span, just to make things more complicated than necessary).
2011-08-18Because model 362 does not have an SGC bus (or a blind, deaf and mute one),Miod Vallat
there is no way we can tell models 360 and 362 apart by probing for an SGC bus, or for a frodo(4) chip since of the `lil' black swan' 3x2 models, only model 382 has frodo. So don't bother trying to tell models 360 and 362 apart, and use a common 36X symbol. No functional change except for useless code removal.
2011-08-18Do not skip 362 and 382 DIO frame buffer select codes; this was writtenMiod Vallat
back when I thought that these devices were showing both in DIO-II and SGC spaces; but, as researched by tsutsui@netbsd, there is nothing in the SGC bus address space (assuming there is SGC bus logic at all) on 3x2.
2011-08-18Do not use NULL when 0 is intended.Miod Vallat