summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include
AgeCommit message (Collapse)Author
2005-09-27Identify HP 9000/362 and HP 9000/382 models, and attach frodo on them.Miod Vallat
Model 382 can be identified with a unique MMUID value; model 362 is told from model 360 by probing for the frodo chip. Their built-in frame buffer is not supported at the moment. Matching information derived from messages to the NetBSD mailing lists.
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-08-01Factorize cachectl() accross m68k platforms, and make the CC_ constantsMiod Vallat
public.
2005-05-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-02-27Invoke hp300_cninit() twice, with a global variable letting theMiod Vallat
console-dependent routines know which pass they are being invoked in. The first pass is the usual console detection code. The second pass runs after uvm is initialized, and will allow devices which need VM services to run to claim the console.
2005-02-13Remove __P usage in sys that has crept back in.Jonathan Gray
'Looks fine' millert@, ok miod@
2005-02-12consinit_active is not used anymore.Miod Vallat
2005-01-15Kill whitespace at EOL.Miod Vallat
2005-01-14Switch OpenBSD/hp300 to wscons, still using on-board ROM fonts for now.Miod Vallat
Main features: - MI hil drivers, allowing live plug/unplug of devices, and the keyboard does not need to be at id 1 anymore. - SGC bus support on 4xx models. SGC frame buffers are supported too, but not as console, though you can use them as a regular glass terminal if you run a getty on ttyC0. Currently not compiled-in, awaiting for an sti(4) fix to be commited. - HP-UX compatibility interfaces are removed. grfinfo and hilinfo are removed. X11 support is currently broken by these changes; X.org X11R6 support will be available very soon. Tested on hyperion and 4 different flavours of catseye/topcat/kathmandu; other, older frame buffers (davinci, gatorbox and renaissance) could not been tested but should work; please report any regression.
2005-01-08Only use one set of DIO size and address defines, from <dev/dioreg.h>Miod Vallat
rather than <include/cpu.h>.
2004-12-30Kill the EIOMAPSIZE and instead, dynamically size the external I/O map,Miod Vallat
based on the DIO-II space probing results. This does not win much for now, but this will be very useful for SGC bus support (coming soon).
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-09-30Protect struct isr with #ifdef _KERNEL since struct evcount isTodd C. Miller
not visible unless _KERNEL is defined. OK miod@
2004-09-29Switch hp300 to evcount.Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-21std header ifdef naming conventions; ok mickey@Todd T. Fries
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2003-12-22IPL_HIGH should be 7, not 6. This is purely cosmetic as that value isTodd C. Miller
not actually used but it makes things consistent wrt spls and potential future splasserts. miod@ OK.
2003-10-09More m68k common include files factorization.Miod Vallat
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-03HP 9000/xxx not HP9000/xxx; from Paul WeissmannTodd C. Miller
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-05splassert on m68k-based arches. Not totally accurate on hp300 at the moment,Miod Vallat
still.
2002-10-10protect against multiple inclusion; pointed out by naddy, miod okPeter Valchev
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-17Patch from Daniel Lucq <daniel@lucq.org>Mats O Jansson
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@
2002-01-10Switch m68k arches that do not exist in 68060 models back to pmap_motorola.Miod Vallat
Others will be switched after more 060 tests. This time: hp300
2001-12-20Temporarily revert the pmap_motorola changes, as they may account forMiod Vallat
some problems as well. Requested by deraadt@
2001-12-17Decrease splvm() level to the splimp() level.Miod Vallat
2001-12-06No need to keep dummy fields in cpu_disklabel structures.Miod Vallat
2001-12-05VM_KMEM_SIZE no longer needed.Artur Grabowski
2001-12-05make nkmempages dynamic based on memory. okay art@ from netbsd:Niels Provos
date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
2001-11-30Switch to pmap_motorola.Miod Vallat
2001-11-30Now that pmaps can have vm_page_md, make pmap_physseg optional.Artur Grabowski
2001-11-28zap some typedefs.Artur Grabowski
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit)
2001-11-27Various pmap_k* optimizations, as well as uvm interface updates,Miod Vallat
from NetBSD. Soon to be found in other m68k pmap, this one is just a teaser to please art@.
2001-11-23Remove splsched() declaration and related stuff.Miod Vallat
2001-11-04Change the magic formulae in charge of setting the correct definesMiod Vallat
for cpu, mmu, and cache attributes from a mandatory include file to the kernel makefile. This saves some cpp cycles and removes forced dependencies on hp300spu.h. millert@ does not like but does not object either.
2001-09-22Remove more old, dusty, unused defines.Miod Vallat
2001-09-06missing machine/ieee.h from NetBSDTodd C. Miller
2001-09-01Add __HAVE_DEVICE_REGISTER to hp300/alpha (sparc64 already had it) andJason Wright
clean up the arch specific #ifdef's in subr_autoconf.c; from NetBSD. (tested by me on alpha/sparc64 and miod on hp300)
2001-08-26Nuke annoying defopt, by popular demand. Plus you get two typos fixedMiod Vallat
for free.
2001-08-25One regdump to dump them all...Marc Espie
(moid@ wants that commit, because it interferes with stuff he's cleaning, and he's prepared to clean up stuff I may have forgotten, even though this was tested)
2001-08-20Bring get[sd]fc() prototypes to <m68k/cpu.h>, this will be needed shortly.Miod Vallat