summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/stand/common
AgeCommit message (Collapse)Author
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.
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-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 use NULL when 0 is intended.Miod Vallat
2011-03-13Change daddr_t to daddr32_t. The bootblocks on our architectures onlyTheo de Raadt
do 32-bit block spanning. If later on we get some that can/should do 64-bit, that can be done now using daddr64_t (but of course, we are taking this step to finalize the daddr_t 64-bit conversion). ok miod krw
2010-12-06- drop NENTS(), which was yet another copy of nitems().Jasper Lievisse Adriaanse
no binary change ok deraadt@
2010-08-16Restore initialization of apcicnaddr which got accidentally removed in revisionMiod Vallat
1.5, about 5 years ago. My bad. ok deraadt@
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
2010-04-15Let sgc(4) attach on models 362 and 382 - recent documents uploaded toMiod Vallat
bitsavers confirm the long suspicion the onboard frame buffer on these machines is an SGC device.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2006-08-17Large cleanup of the bootblocks, including ansi protos and de-register,Miod Vallat
removal of unused hil stuff, oversimplification of the stand ite code (including dio frame buffer common code factorization), and sgc frame buffer console support, at last. This shaves ~1800 bytes off SYS_UBOOT and ~500 bytes of SYS_CDBOOT despite the addition of the sgc code. Tested on dca, hyper, topcat and sti.
2006-08-13Let the domain keyboard work on models 362 and 382 as well.Miod Vallat
2006-08-13Oops, let HIL keyboards work again in the boot blocks.Miod Vallat
2006-08-05Since the maskbits code only gets invoked with RR_COPY or RR_CLEAR thoseMiod Vallat
days, simplify and inline more of it, to avoid doing unnecessary dest and/or source loads. A copy of the old maskbits.h is moved to stand/ as the ite code there needs the complete RR_ code.
2006-04-14Minimal support for the HP98705 ``Tigershark'' TurboVRX frame bufferMiod Vallat
(using an overlay plane only for now). Bootblocks, text console and X11 are supported.
2006-01-01Let cons_init() and cons_init_bell() initialize the whole consdev structure,Miod Vallat
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails.
2005-12-31Sync with recent kernel changes: recognize more models, use the same logicMiod Vallat
to pick apci as a console on 425e. Crank version.
2005-12-28Define dca remote console identifiers as regular identifier with the bit 7Miod Vallat
set, like dcm does. No functional change.
2005-11-23Pick HP-IB describe structures changes from main kernel code here as well.Miod Vallat
2005-09-06anomoly -> anomalyMiod Vallat
2005-04-22Pass -Wall, complete prototypes, some KNF; no functional change.Miod Vallat
2005-01-19Oops, repair stand/ by putting copies of the old grf/ite include filesMiod Vallat
in stand/include until they are cleaned up.
2004-08-03Copy scsireg.h from hp300/dev to hp300/stand, and use it within hp300/stand.Miod Vallat
2003-12-12missing parameter to printf; erick@bonzai.space-ei.nlTheo de Raadt
2003-09-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-04-29wierd -> weirdPeter Valchev
2002-03-14First round of __P removal in sysTodd C. Miller
2001-05-10Nuke the DCA check. ACPI can only be console on a 425e; thorpej@netbsd.orgTodd C. Miller
2000-01-14Might as well ding the version number.Jason Downs
1999-08-16Implement real CD booting, aka SYS_CDBOOT, the LIF file small enough toJason Downs
fit in the begining of an ISO9660 image...
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-05-10* Remove stupid, non-working ROM printf()s from apci.cJason Downs
* Add 425e autodetection. * Increment version number.
1997-11-06Idnetify/support hp385 (33Mhz 68040)Todd C. Miller
1997-09-14Make and install a raw version of uboot, too.Jason Downs
1997-09-14Add cd9660 support. OpenBSD/hp300 boots from SCSI CD-ROM now.Jason Downs
1997-07-14Slight fix.Jason Downs
1997-07-14The grand reorganization, OpenBSD style.Jason Downs
Lossely based on the NetBSD reorg, but much improved upon, simpler, and doesn't scribble needless junk into the bootblocks.