summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include
AgeCommit message (Collapse)Author
2006-09-22Get rid of (unused) MACH_CLASSP580 and flatten MACH_CLASSxxx values.Miod Vallat
2006-09-17Crank VM_PHYSSEG_MAX to 8; while we do not expect more than 2 ranges in theMiod Vallat
worst case, the Booter will happily feed us up to 8 ranges, so we have to get prepared.
2006-07-11Remove duplicate prototypes already in <sys/systm.h>Miod Vallat
2006-06-30Shrink internal iomap to 256KB, it's enough for all the mappings we'll needMiod Vallat
in it.
2006-06-24Use pmap_enter_cache() instead of physacc() in bus_mem_add_mapping(), and letMiod Vallat
physacc() die. As a bonus, kvtop() dies too.
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-04-16Remove bus_space_{read,write}_stream and bus_space_copy_region methods, whichMiod Vallat
are not used in OpenBSD.
2006-03-13remove splimp.Brad Smith
ok miod@
2006-01-24Remove unused fields from struct mac68k_machine.Miod Vallat
2006-01-22Add bus_space_vaddr() and use it instead of accessing private bus_spaceMiod Vallat
fields. No functional change.
2006-01-22Minimal iop code to set the serial ports to compatible mode automagically,Miod Vallat
so that it is not necessary to change settings from MacOS before booting into OpenBSD; from NetBSD.
2006-01-18Factorize akbd and ams drivers between mac68k and macppc; while there, startMiod Vallat
moving out common adb code as well, and merge adb_direct.c into adb.c to simplify external header files. No functional change; more cleanups to come.
2006-01-17Remove unused ``stride'' bus_space internal functionality; nothing needs it.Miod Vallat
2006-01-13Sync OSS code with NetBSD; supports poweroff now.Miod Vallat
2006-01-13Remove unused bad{,b,w,l}addr.Miod Vallat
2006-01-13Remove the Mac Rom Glue code completely. With the ADB ``direct'' code beingMiod Vallat
used by default, and since all PRAM accesses are either directly fiddling with VIA registers or through ADB commands, the MRG code has no reason to stay. This means the kernel is now not running unknown PROM code anymore.
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-04Import NetBSD's direct adb code on mac68k, switching to real keyboard and mouseMiod Vallat
drivers, and to wscons as the console; a few parts borrowed from OpenBSD/macppc as well. Currently only working with displays configured in 1bpp or 8bpp modes; this limitation will be worked on ASAP. Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11 changes coming soon.
2006-01-02Merge enablertclock() in cpu_initclocks(), kill unused disablertclock(), andMiod Vallat
remove a wrong comment aboute startrtclock() being invoked twice.
2006-01-01Enable A/UX style interrupt routing on non-AV Centrises and Quadras, gives usMiod Vallat
smarter spl levels and the clock drift is reduced; adapted from NetBSD.
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-09-27missing pieces for RBV video handlingMartin Reindl
from NetBSD
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-09-12- Add byte-swap and stride options to bus_space.Martin Reindl
- Add bus_space_*_stream_N functions - Replace PGOFSET with m68k_trunc_page() or m68k_page_offset() from NetBSD, testing help by otto@
2005-08-07a bunch more ADB handler IDs, will be necessary in the futureMartin Reindl
from NetBSD
2005-08-06overhaul the grf driver:Martin Reindl
- Simplify grfmv_phys() to work like grfiv_phys(), and eliminate the second argument to both, as we don't use it anyway. - Handle fbbase and fboff consistently throughout. - Eliminate grfaddr() by pulling it into grfmmap(), which is the only place it was used, previously. - grfmap() now gets the physical address of the framebuffer from the appropriate driver, rather than try to compute it by itself. Be careful with aligning the base to a page address and increase the length of the mapped region appropriately. - Store the PA of the framebuffer in the softc. This eliminates the need for the sc_phys callback; we can just store the PA in the grfbus attach args, rather than a function pointer, which simplifies the code nicely. - Disable Valkyrie interrupts on the Quadra 630 - New and improved console framebuffer initialization and autoconfig. This resolves a great many issues, including Performa 58x interrupt handling and offset displays on some models. - Remove unused grf ioctls - Some KNF and other minor things help and ok miod@ from NetBSD
2005-08-01Factorize cachectl() accross m68k platforms, and make the CC_ constantsMiod Vallat
public.
2005-07-31No need to #include <machine/pcb.h>; tested martin@Miod Vallat
2005-07-23vm_offset_t -> vaddr_tMartin Reindl
2005-07-18PB190 Gestalt IDsMartin Reindl
2005-05-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
2005-04-27Replace the last user of pmap_map() with an inline version, and kill pmap_map()Miod Vallat
for good.
2005-02-06- get rid of unused codeMartin Reindl
- KNF - typos - sync some parts with NetBSD input and review by miod@
2005-01-11rename via_shutdown() to via_powerdown() and remove unused prototype toMartin Reindl
shrink diff to NetBSD ok miod
2004-12-27unusedMartin Reindl
ok miod@
2004-12-14sync with NetBSD, ok miod@Martin Reindl
2004-12-08Tweak interrupt handling code to allow shared interrupts for VIA2 sources.Miod Vallat
This will be necessary shortly.
2004-12-02move IPL setup to intr.cMartin Reindl
ok miod@ >From: NetBSD
2004-12-01Let kernels with option DEBUG link again.Miod Vallat
2004-11-26More interrupt system cleaning and homogenization:Miod Vallat
- switch all interrupt functions to an int (*)(void *) prototype. - do not register dummy functions for all unhandled interrupts, instead let the dispatchers cope with NULL. - add evcount interrupt counters.
2004-11-25Move towards a more flexible and generic interrupt system, as well as betterMiod Vallat
zs behaviour. From NetBSD; integration work by Martin Reindl
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
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-03HPUX, HP/UX -> HP-UXJason McIntyre
ok mickey@
2003-03-14Zombies on the bridge, captain.Miod Vallat
2003-03-01- only declare and provide pmap_map() for mac68k, until it bites the dust.Miod Vallat
Other m68k-based arches do not need it. - do not wait to allocate struct pv_page. Either pmap_enter() has been invoked with PMAP_CANFAIL and can live with this, or we are close to fandagoland anyways.
2003-02-24Sync struct pcb and struct mdproc with what other m68k ports use. This willMiod Vallat
eventually be factorized someday...