summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
AgeCommit message (Collapse)Author
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-01-27Only install the fpsp exception vectors if the cpu is a 68040.Miod Vallat
Thus, it becomes unnecessary to check for the cpu type in the exception handlers, saving a few cycles and a few bytes. Tested by various people on hp300, mac68k, mvme68k, 68040 and non-68040.
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2004-01-13Then, kill %: printf format...Miod Vallat
2004-01-10Sorry miod, this file is needed. Look at the bottomBob Beck
of mac68k5380.c
2004-01-09typos from Jared Yanovich;Jason McIntyre
2003-12-21Unused.Miod Vallat
2003-12-20Pass -WformatMiod Vallat
2003-11-21+ -fno-builtin-* on architectures confirmed to work.Marc Espie
2003-11-06move netisr definition into md code to allow arch provide suitable ↵Michael Shalayeff
allocation; tested on most archs
2003-11-03spelling fixes (in the comments)David Krause
2003-10-09More m68k common include files factorization.Miod Vallat
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-06-053/4 knockout for peter galbavyTheo de Raadt
2003-06-04Delete UCB term 3. When there are other copyright owners, we affirmTheo de Raadt
that we can see no legal situation under which they could require that term to remain (ie. This is equivelant to us taking the old UCB file, removing term 3 as specified by UCB, then re-applying each diff afterwards from the various authors)
2003-06-04strlcpy; tested by nick@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-05-23remove old swapgeneric.c'sTed Unangst
2003-05-23move swapgeneric to truly generic code. tested on many archs by miod and ↵Ted Unangst
mickey.
2003-05-16Unbrek mac68k, bad tedu; spotted by nick@Miod Vallat
2003-05-14add {b,c}devsw_lookup convenience functions.Ted Unangst
move chrtoblk and blktochr into MI code. tested on several archs and ok deraadt@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13remove -fno-stack-protector (enable propolice)Ted Unangst
ok deraadt@
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-09No need to map the message buffer executable.Artur Grabowski
fries@ niklas@ ok
2003-05-09No need to map framebuffers executable. Really.Artur Grabowski
fries@ niklas@ ok.
2003-05-09Remove dead (ifdef 0) code that pollutes my greps.Artur Grabowski
2003-05-05Write explicit scsibus at controller attachment, rather than scsibus at scsiMiod Vallat
attribute.
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2003-04-03HPUX, HP/UX -> HP-UXJason McIntyre
ok mickey@
2003-03-14spl police.Miod Vallat
2003-03-14Zombies on the bridge, captain.Miod Vallat
2003-03-12backout the two previous patches, it breaks the 3com ae card and I don'tJason Wright
understand it enough to fix.
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-28Fix more evil typos.Miod Vallat
2003-02-26Let this compile if no DDBMiod Vallat
2003-02-26Fix symbol clash that would prevent a kernel configured with both ncr5380Miod Vallat
drivers to link.
2003-02-25Destaticize, and add RAMDISK_HOOK glue for bsd.rdMiod Vallat
2003-02-24Hammer the disklabel code once more: a few fixes, lots of simplifications,Miod Vallat
read the label and the Apple DPME partition table in one shot (this idea from NetBSD), and generally make things much safer. Solves spurious panic while building labels on disks with a large number of DPME partitions.
2003-02-24Defer the iomem extent initialization until the MMU is enabled. This isMiod Vallat
necessary since the last pmap changes, to get proper serial console initialization. From NetBSD, tested by nick@
2003-02-24Sync struct pcb and struct mdproc with what other m68k ports use. This willMiod Vallat
eventually be factorized someday...
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-01-28Remove (now) bogus diagnostic check and set the output length correctly (why ↵Jason Wright
this was done in -two- places is beyone me); spotted and tested by Nick.
2003-01-27padd < mimimum sized frames with 0's instead of whatever the chip wants; ↵Jason Wright
based on netbsd.
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-19shut up, dn(4). There's really no need to printf junk nobody wants to readHenning Brauer
for every collision. ok theo
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC