summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2006-08-17No need for divsi and friends, yetMiod Vallat
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-17Setup the transparent translation with writeback cache instead ofMiod Vallat
writethrough on 68040.
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-12Setting d_secsize to DEV_BSIZE (or 1 << DEV_BSHIFT, or 512) and thenKenneth R Westerback
setting RAW_PART's p_size to d_secperunit * (d_secsize / DEV_BSIZE) is a waste of a few ops. And p_size should be in sectors anyway. Just set RAW_PART's p_size to d_secperunit to make usage consistant across the tree. Should be a no-op.
2006-08-11Let the windowmove() callbacks return whether they could perform the operationMiod Vallat
or not, so that we can always feed them the complex operations before falling back to rasops; and then topcat can perform coloured solid fills in erase{cols,rows}.
2006-08-10Try and determine the keyboard layout from its identification string;Miod Vallat
no international keyboards to check I parse the right part of the string, at least domestic keyboards are not affected; hinted at by the old X11R5 server.
2006-08-09Use the blitter again for the cursor on non-mono frame buffers.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-08-05Prefer rasops {copy,erase}rows routines for non-accelerated 1bpp frame buffers,Miod Vallat
as they are slightly faster.
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-07-0968020-based hp300 systems are not supported anymore now. If you still useMiod Vallat
any, I'll suggest you buy a boat so that they can be recycled as boat anchors.
2006-07-09If running on a 68030 or 68040 system, use the transparent translationMiod Vallat
registers to program an 1GB untranslated window over the physical memory, and use it to define __HAVE_PMAP_DIRECT for faster pool operation.
2006-06-30When allocating the default rasops attribute, it is not necessary to useMiod Vallat
non-zero parameters on a color display as long as we want white on black; this was inherited from sparc but this is not necessary on these platforms.
2006-06-24Use pmap_kenter_cache() for device memory mapping, instead of physacc(0Miod Vallat
which bites the dust.
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
2006-06-16If we are configured for glass console but no keyboard is plugged, we runMiod Vallat
with the dummy wscons cngetc() which immediately returns zero. Since a cngetc() call is the only difference between halt and reboot, this caused the former to behave as the later. Fix this by spinning until cngetc() returns a non-zero value.
2006-06-16Fix range check in sgc_slottopa().Miod Vallat
2006-06-16Line 0 is not wired, thus illegal for use in frodo_intr_establish().Miod Vallat
2006-06-11Clean the various cache and TLB invalidation function, arch by arch:Miod Vallat
- [DI]C{FL,PL,PP} and DCFA are only called on 680[46]0 systems and are identical on these platforms, so don't bother checking for the MMU type. - TBIAS is on 68060 codepath only. - DCIAS, PCIA and TBIA are specific to some platforms and do not need to be implemented everywhere.
2006-06-11Move common prototypes to <m68k/{cpu,param}.h> instead of incompleteMiod Vallat
declarations in <machine/{cpu,param}.h> and elsewhere.
2006-06-11Factorize spl handling functions and software interrupt routines betweenMiod Vallat
m68k-based platforms.
2006-06-11Move pmap_aliasmask declaration and initialization to MD code. No functionalMiod Vallat
change.
2006-06-07- when killing a process due to parity error, notify syslog.Miod Vallat
- when checking for the parity error itself: + use pmap_kenter_pa() and pmap_kremove() for the temporary mapping. + reenable external cache before invoking pmap_kremove() [which can cause a cache flush on some models].
2006-06-04When VM_PHYSSEG_MAX is 1, use VM_PSTRAT_RANDOM for VM_PHYSSEG_STRAT, thisMiod Vallat
makes uvm_page.o smaller.
2006-05-20Do not wait until Lstart2 to reset the HP MMU command register on modelsMiod Vallat
which need it. This allows up to free a1 for general use much earlier.
2006-05-19Get rid of ``maxmem'' and fix the descriptive comment for ``physmem''.Miod Vallat
Either maxmem is not used (mac68k), or the position of the physical memory is set in stone so we don't need to know the top of the memory (MAXADDR on hp300, physmem on mvme68k) it was pointing to. Plus this gets rid of unused lowram on mvme68k - all the m68k world is not an hp300, after all.
2006-04-20no longer failure care; ok miodTheo de Raadt
2006-04-16Introduce sti_rom_size() which will compute the size of a card's rom, andMiod Vallat
use it instead of duplicating the same logic in 3 places. ok mickey@
2006-04-15Caps Lock key is special, even in raw mode, on the Domain keyboard, exactlyMiod Vallat
like on ADB keyboards. Must have been the 80's keyboard fashion. So when we see a Caps Lock event, produce the missing event as well for acceptable behaviour. This does not allow the Caps Lock key to be used for chording, though, so document this in the manpage (honestly, Ctrl and Caps Lock being adjacent, there is no point in swapping them on Domain keyboards, but you never know).
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-04-14Compile hp300 stand with Wall or I'll never get motivated to make it clean.Miod Vallat
2006-04-13Fix timeout initialization bug introduced in rev 1.8.Miod Vallat
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-13remove splimp.Brad Smith
ok miod@
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12Move struct wsscreen_list out of the stack as on sparc.Miod Vallat
2006-02-14Fix <=4bpp buglet introduced in previous commit; non-hyperion frame buffersMiod Vallat
are addressed as if they were 8bpp, which is what we pretend we are to rasops, so we actually have to remove capabilities after rasops_init() again.
2006-02-14Homogeneize WSDISPLAY_* option comments (especially on cats)Miod Vallat
2006-01-22b_cylin -> b_cylinder; no functional change.Miod Vallat
2006-01-21Remove old mdpflag debug help.Miod Vallat
2006-01-20b_un.b_addr -> b_data; no functional change.Miod Vallat
2006-01-19Bounds check PPIIOCSSEC argument, for a carefully choosen invalid valueMiod Vallat
could cause any ppi transfer to freeze the bus.
2006-01-18more size_t vs u_int fallout.. i guess the lastTheo de Raadt
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.
2006-01-02Kill enablertclock.Miod Vallat
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-31This port does not use dev/cninit.c.Miod Vallat