summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
AgeCommit message (Collapse)Author
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-11the scsi_link structure contained a copy of the inquiry flags and the wholeDavid Gwynne
inquiry. this removes the flags member and makes all its users refer to the whole inquiry now. ok miod@ krw@
2006-07-11Remove duplicate prototypes already in <sys/systm.h>Miod Vallat
2006-07-06Insert an empty page at the beginning of the kernel, so that we can map itMiod Vallat
invalid and have NULL pointer dereferences in the kernel fault now.
2006-07-06Adapt rtclock_intr() to the current interrupt scheme; from NetBSDMiod Vallat
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-30Shrink internal iomap to 256KB, it's enough for all the mappings we'll needMiod Vallat
in it.
2006-06-30On OSS systems (IIfx), compute addresses relative to VIA2 rather than VIA1,Miod Vallat
it's simpler.
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-24Allocate ethernet buffers as uvm pages, and map them with pmap_enter_cache(),Miod Vallat
instead of crossing fingers and expecting malloc() to return aligned and contiguous memory.
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
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-11Remove traces of cut'n'pasted 68060 support, since there aren't any 68060-basedMiod Vallat
macintoshes.
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-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-16Remove assert definitions which are provided by libkern.Miod Vallat
2006-04-16Remove bus_space_{read,write}_stream and bus_space_copy_region methods, whichMiod Vallat
are not used in OpenBSD.
2006-04-14rm trailing whitespaceMartin Reindl
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-23- Remove variable names from function prototypes.Brad Smith
- Use ether_input_mbuf() and bpf_mtap(). From NetBSD ok martin@
2006-03-23Use PAGE_SIZE instead of NBPG.Brad Smith
2006-03-23ANSI and KNF.Brad Smith
2006-03-23ANSIfyBrad Smith
2006-03-19mountroot for disk devices shall be dk_mountroot(), not ffs_mountroot().Miod Vallat
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-15Entries in cd_devs[] may be NULL, so be sure to check for them in yourMiod Vallat
device open() function.
2006-03-13Put wsscreen_list array inside the softc instead of on the stack; similar fixMiod Vallat
as happened on hp300 and sparc* yesterday.
2006-03-13Although we can not currently run the glass console with colors if in anMiod Vallat
indexed mode, remember the colormap information (if any) when the real driver attaches, and use it to allow for X11 to control the colormap. This allows glass console and 8bpp X11 on DAFB (previously, this would only be possible if the console was on cereal).
2006-03-13remove splimp.Brad Smith
ok miod@
2006-03-04Set up a ``different shades of gray'' palette at 2bpp, this gives usMiod Vallat
highlighting.
2006-02-26skip common macfb attachment on unknown cardsMartin Reindl
ok miod@ deraadt@
2006-02-25initialize rv to zero avoiding match on whatever is just next on the busMartin Reindl
2006-02-14Homogeneize WSDISPLAY_* option comments (especially on cats)Miod Vallat
2006-02-12Remove packets from the queue before calling their completion routine, asMiod Vallat
done on macppc.
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-30When delivering SIGFOO, make sure the siginfo code is a FOO_xxx constant;Miod Vallat
also deliver SIGILL/ILL_COPROC rather than SIGFPE/FPE_FLTINV for disabled or missing floating point support.
2006-01-30Better siginfo field values for fpe failures.Miod Vallat
2006-01-30Do not disable frame buffer interrupts in the match() function, but ratherMiod Vallat
in attach().
2006-01-30swap B and R in 24bpp and 32bpp modes too; tested martin@Miod Vallat
2006-01-30pretty printf, for 32bit modeMartin Reindl
ok miod@
2006-01-29SMC91CXX NuBus hooksMartin Reindl
from NetBSD
2006-01-24Remove unused fields from struct mac68k_machine.Miod Vallat
2006-01-23Be more careful when mapping DAFB color registers, so that we don't preventMiod Vallat
esp to map the turbo registers on Q700/900/950.
2006-01-23Be sure to clear color capabilities from rasops at 8bpp if we do not haveMiod Vallat
a setcolor routine.
2006-01-22Colormap support for DAFB frame buffers (using information from Linux).Miod Vallat
However, color can not be enabled in emulation mode if the display is the console at this point, but 8bpp X11 works.
2006-01-22Add bus_space_vaddr() and use it instead of accessing private bus_spaceMiod Vallat
fields. No functional change.
2006-01-22Print adb subsystem name early in attachment, and pass the proper deviceMiod Vallat
name to interrupt counter registration, rather than "adb".
2006-01-22Finally update the todclock on shutdown, if we are using a level 6 clock.Miod Vallat
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.