summaryrefslogtreecommitdiffstats
path: root/sys/arch/mac68k (follow)
Commit message (Collapse)AuthorAgeFilesLines
* RIP mac68k. No one loves you anymore.matthew2012-06-20119-33639/+0
|
* Make userret() MI. On architectures which jammed stuff into it in thederaadt2011-11-161-31/+7
| | | | | past, pull that code out seperately. ok guenther miod
* consistant "config bsd" lines; ok miodderaadt2011-11-081-3/+1
|
* Garbage collect now unused MKDEP definitions. ok deraadt@matthieu2011-11-081-2/+1
|
* Drop support for the HP MMU. It was only found on two hp300 systems (modelsmiod2011-11-011-2/+1
| | | | | | | | 320 and 350), which have been unsupported since a bunch of release already, because this annoying MMU does not have TT registers (or if it does, it is not documented) and thus went in the way of PMAP_DIRECT for hp300. In other words: remove a bunch of code which was either #ifdef'ed out or had no chance to run in real life.
* Specify the TLS variant for each platform.guenther2011-10-271-0/+3
|
* ccd goes to the atticderaadt2011-10-061-6/+4
| | | | discussed with jsing and millert
* Backout a bunch of my SCSI commits from c2k11. At least one of thesematthew2011-07-171-4/+4
| | | | | | is causing problems when trying to boot sparc64 from an isp(4). Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
* The drahn memorial bad kernel build fix: prevent blood pressureguenther2011-07-071-4/+6
| | | | | | | | spikes in other developers by making it so that removal of a .d file without removing the corresponding object will result in the latter being treated as out of date. ok beck@ art@ drahn@
* make clean should clean .d files, so as to leave a fresh canvas.tedu2011-07-061-2/+2
| | | | ok beck deraadt
* Replace last remaining users of link->scsibus withmatthew2011-07-051-4/+4
| | | | link->bus->sc_dev.dv_unit.
* Recommit the reverted sigacts change now that the NFS use-after-freeguenther2011-07-051-3/+3
| | | | | | | | problem has been tracked down. This fixes the sharing of the signal handling state: shared bits go in sigacts, per-rthread bits goes in struct proc. ok deraadt@
* kqueue attach functions should return an errno or 0, not a plain 1. Fixnicm2011-07-021-2/+2
| | | | | | the obvious cases to return EINVAL and ENXIO. ok tedu deraadt
* Replace all instances of "scsibus* at hba?" with a single "scsibus* atmatthew2011-06-292-8/+4
| | | | | | scsi?" rule, similar to how ethernet PHY drivers attach at mii. Discussed on icb.
* if_downall() cannot be done MI in sys_reboot() because vfs_shutdown()deraadt2011-06-261-1/+3
| | | | | might need network (ie. nfs). Move the call to the MD boot() routines. This cause for boot hangs diagnosed by kettenis.
* Add a const char* as first member of struct adb_attach_args, so that we canmiod2011-06-151-1/+2
| | | | | | pass a struct confargs * on macppc for some specific children of the adb node, and not confuse real adb device attachments. ok mpi@
* Removing unused headershadchin2011-06-061-217/+0
| | | | ok miod@
* Move the bufcachepercent setting code to MI locations -- set it to 42%deraadt2011-06-051-15/+1
| | | | | | | for now; that is unlikely to hit some of the remaining starvation bugs. Repair the bufpages calculation too; i386 was doing it ahead of time (incorrectly) and then re-calculating it. ok thib
* Remove the freelist member from vm_physsegoga2011-05-301-5/+3
| | | | | | | | | | | | | | | | | | The new world order of pmemrange makes this data completely redundant (being dealt with by the pmemrange constraints instead). Remove all code that messes with the freelist. While touching every caller of uvm_page_physload() anyway, add the flags argument to all callers (all but one is 0 and that one already used PHYSLOAD_DEVICE) and remove the macro magic to allow callers to continue without it. Should shrink the code a bit, as well. matthew@ pointed out some mistakes i'd made. ``freelist death, I like. Ok.' ariane@ `I agree with the general direction, go ahead and i'll fix any fallout shortly'' miod@ (68k 88k and vax i could not check would build)
* - enable fenvmartynas2011-04-281-0/+3
| | | | - add nearbyint, nearbyintf and nearbyintl implemented using fenv
* Revert the sigacts diff: NFS can apparently retain pointers to processesguenther2011-04-181-3/+3
| | | | | | until they're zombies and then send them signals (for intr mounts). Until that is untangled, the sigacts change is unsafe. sthen@ was the victim for this one
* Use 'CLR(<buf>->b_flags, B_READ | B_WRITE | B_DONE)' regardless ofkrw2011-04-161-5/+5
| | | | | what the previous IO was. Less chance of copy and paste errors. Suggested by miod@.
* In days of yore one could arbitrarily whack buffer flags. Those dayskrw2011-04-151-5/+9
| | | | | | | | | | | | | are past. Use CLR() and SET() to modify necessary flags while leaving the flags used by the buffer cache in peace. Should make bufcache code much less confused about the state of the bufs used in reading/writing disklabels. Other such flag abuses no doubt await a visit. Errors in original diff found by miod@. ok beck@ deraadt@
* Correct the sharing of the signal handling state: stuff that shouldguenther2011-04-151-3/+3
| | | | | | | | | | | | be shared (p_sigignore, p_sigcatch, P_NOCLDSTOP, P_NOCLDWAIT) moves to struct sigacts, wihle stuff that should be per rthread (ps_oldmask, SAS_OLDMASK, ps_sigstk) moves to struct proc. Treat the coredumping state bits (ps_sig, ps_code, ps_type, ps_sigval) as per-rthread until our locking around coredumping is better. Oh, and remove the old SunOS-compat ps_usertramp member. "I like the sound of this" tedu@
* Convert the kernel Makefiles to autogenerate dependencies during compilationguenther2011-04-151-19/+27
| | | | | | | | | using the -MD option to cc, with -MP, -MT, and -MF where needed, converting "make depend" to a no-op. This increases parallelism for those using "make -j" and keeps the dependencies up to date with each compilation automatically. sparc and vax users will need to rebuild gcc with support for the -M[PTF] options before config'ing with this diff.
* Do not use NULL in integer comparisons. No functional change.miod2011-04-071-2/+2
| | | | ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
* Give this a chance to compile after iopool changes.miod2011-04-061-8/+8
|
* The various read*label() have stopped returning error strings for quitemiod2011-04-061-3/+2
| | | | | | some time, and return errnos instead. Fix or remove out-of-date comments mentioning the error strings, and make their callers check the return value against zero, not NULL.
* Blind but plausible iopoolification. If someone ever compiles akrw2011-04-032-25/+45
| | | | kernel we'll hear about problems.
* Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.pirofti2011-03-2327-105/+95
| | | | Discussed and okay drahn@. Okay deraadt@.
* unbreak tree for nested endian.h includesderaadt2011-03-151-6/+1
|
* Use _MACHINE_ENDIAN_H_ for this is The Right Thing To Do.pirofti2011-03-111-4/+4
| | | | Okay guenther@, millert@.
* Force the DUID cache used to generate hw.disknames to be updatedkrw2011-02-261-1/+3
| | | | | | | | after every disklabel read or write. This keeps the DUID cache more in sync with the physical world. De-syncing noted by drahn@ while zapping disklabels with dd. ok jsing@ deraadt@
* - use nitems()jasper2011-01-141-4/+4
| | | | "doesn't hurt" deraadt@
* If genassym fails, sort on the pipeline will indicate no error resultingderaadt2010-12-301-4/+3
| | | | | in some grief. Split this out. From Vladimir Kirillov
* Kill pmap_phys_address(), and force every driver's mmap() routine to returnmiod2010-12-263-6/+6
| | | | | | | a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument]. This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation.
* After the most recent change, make it possible to make -j again. Thederaadt2010-12-021-5/+5
| | | | | early MD and late MI files must be split up so that vers.o can sneak between. Issue spotted by bluhm, repair discussed with miod
* move vers.o to before the other objects, so that it is not linked last.deraadt2010-12-021-4/+4
| | | | | | | | having it linked last is bad (on at least i386 and amd64) because the lapic is mapped over the start of the data segment -- savecore(8) then reads the version string for a fixed buffer space, and reads into the lapic area causing unintended side-effects (at least on Intel X5570 and X5680) found by pedro, discussed with kettenis and mpf and miod
* This is a first step towards getting rid of avail_start and avail_end in themiod2010-11-201-4/+2
| | | | | | | | | | | | | | kernel, currently limited to low-hanging fruit: these variables were used by bus_dma to specify the range in which to allocate memory, back when uvm_pglistalloc() was stupid and would not walk the vm_physseg[]. Nowadays, except on some platforms for early initialization, these variables are not used, or do not need to be global variables. Therefore: - remove `extern' declarations of avail_start and avail_end (or close cousins, such as arm physical_start and physical_end) from files which no longer need to use them. - make them local variables whenever possible. - remove them when they are assigned to but no longer used.
* Make sure we do not overrun the memory ranges array, should the bootermiod2010-11-201-7/+9
| | | | give us more ranges than we expect.
* Push all potential (as in, all system MI not utilized by the bootblocks)deraadt2010-11-121-2/+3
| | | | | .h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
* Compute syhcnronous transfer periods with a better accuracy, to get bettermiod2010-11-111-9/+9
| | | | results on the 16.5MHz clock case. ok krw@
* no need to specify the -t flag to ctagsderaadt2010-11-031-2/+2
|
* Add pppx(4) to the cdevs of the remaining archs.claudio2010-09-231-1/+3
| | | | OK dlg@
* Get rid of evcount's support for arranging counters in a treematthew2010-09-202-8/+6
| | | | | | | hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
* One the -> On themiod2010-07-241-2/+2
|
* No more ss(4) or usscanner(4). Unused, unloved and unmaintained.krw2010-07-032-5/+3
| | | | | | General huzzahs. "go for it" deraadt@
* remove support for compat_sunos (and m68k4k). ok deraadt guenthertedu2010-07-023-78/+3
|
* Move common code for waking up writers on a tty into a function.nicm2010-07-021-8/+2
| | | | ok deraadt matthew millert
* Change scsibus(4)'s scsi_link array to an SLIST to save memory onmatthew2010-07-011-5/+5
| | | | | | sparsely populated buses. ok dlg@, krw@