summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2004-01-20Support for i852/855/865 AGP; from NetBSD via Michael van derAlexander Yurchenko
Westhuizen <michael@skanky.homeunix.net> with little tweaks. Tested by millert@ todd@ jmc@ andreas@ and jcs@'s friend ok millert@
2004-01-20In some situations, the MVME328S can be so hung that our current reset codeMiod Vallat
fails. Unfortunately, in this case, do_vspoll() would invoke the reset function ad nauseum. Allow the flow to exit this infernal loop, attach() will correctly fail. This is temporary band-aid until a stronger reset sequence is found.
2004-01-20Use shifts and logical arithmetic, rather than multiplications and integerMiod Vallat
arithmetic, when computing cmmu numbers.
2004-01-20Better debugging information, only available if option TRAPDEBUG (which youMiod Vallat
don't want. honest. really).
2004-01-20let XFS compile; miod okTheo de Raadt
2004-01-20- macppc -> __macppc__Brad Smith
- remove swapgeneric.c on pegasos and remove bogus Locore for lint target ok drahn@
2004-01-19Get rid of a few useless defines, as well as a few duplicated ones; andMiod Vallat
move 8820x-only definitions to the adequate header. Also crank MAXPHYSMEM to a more realistic value.
2004-01-19``3 pages of u-area ought to be enough for everybody''Miod Vallat
(deraadt wanted 2, I wanted 4, actually...)
2004-01-19The pessimistic tlb handling change turned out to be one more instance ofMiod Vallat
the phys_map_vaddr bug. So switch back to regular tlb invalidations, and optimize the two or three page invalidation situation.
2004-01-18Silence match() unless DEBUG.Miod Vallat
2004-01-17Now that the phys_map_vaddr bug is out of the way, it's time to bring backMiod Vallat
diffs which had been suspected of breakage while they were just helping this bug to trigger. Don't flush user tlb in the scheduler, since pmap_activate() will take care of it if necessary.
2004-01-16Do not switch to the fpsp exception vectors if we are not running on anMiod Vallat
MC68040 CPU. And suddenly MC68060 feels so happier... MVME177 now passes all libm and libc/ieeefp regress (and probably the Perl testsuite, too...)
2004-01-16cia* is not needed on floppyB, all these machines use tsc*. but at leastTheo de Raadt
some of these machines use a ahc* scsi controller. and it still fits!
2004-01-16People who immediately clobber registers containing the result of subfunctionsMiod Vallat
as soon as they return deserve to be shot or something. Make sure the result of imprecise exceptions is safely returned to userland. Fixes lib/libc/ieeefp/infinity regression test, as well as Perls.
2004-01-15Disable write-back mappings for userland entirely; pmap_copy_page() stillMiod Vallat
misbehaves in some circumstances if they are enabled, despite the code doing (apparenty) The Right Thing. Reasonable performance hit, to be offset by further diffs in the pipeline; discussed with deraadt@
2004-01-15Provide explicit function argument declarations.Miod Vallat
2004-01-15instuction -> instructionMiod Vallat
2004-01-15Undo backout of this piece of 'SR restores', this feature is used byDale Rahn
on pegasos.
2004-01-15No reason to exclude xl from ramdisk. GENERIC and RAMDISK need a severe sync.Dale Rahn
2004-01-15Add 'sysctl hw.cpuspeed' support. copied from macppc.Dale Rahn
2004-01-15Apply the same change as macppc for the 'SR revert', unbreak pegasos.Dale Rahn
2004-01-14machine/stdarg.h -> sys/stdarg.hBrad Smith
ok drahn@
2004-01-14mvme* do not support buses with indirect configuration, so don't check andMiod Vallat
mourn for this.
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2004-01-14Some MC8820x operation cleaning:Miod Vallat
- define more constants and macros for readability. Especially cache initialization suddently becomes more readable. - after every flush operation, wait for the operation to complete by accessing the status register, before returning.
2004-01-14Slightly better messages, fix a typo, and a few strlcpy() botches.Miod Vallat
ok drahn@
2004-01-14Remove as many unnecessary includes from the include mess in this file, inMiod Vallat
the vain hope to save some compilation time.
2004-01-14catching a stray sheep destroying a pmap shall result in a proper haggis; ↵Michael Shalayeff
this fixes a panic resulted from a diagnostic check und clean whose dirty little causes should really get fixed (eventually); w/ grumpy testing
2004-01-14Do not expose kernel prototypes to userland.Miod Vallat
2004-01-14Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. AlsoKenneth R Westerback
moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom. Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD ok deraadt@, mvme* changes by miod@.
2004-01-14Revert previous; this will cause issues on some machines, says drahn@Miod Vallat
2004-01-13Fix KERNTEXTOFF value (long) after the move to ELF.Miod Vallat
tricked-to-commit-into-i386-land millert@
2004-01-13Allow building w/o -traditional. OK weingart@ and mickey@Todd C. Miller
2004-01-13Get rid of more unused useless broken invalid constant laughable values.Miod Vallat
Also shrink iomap to a more reasonable value for now.
2004-01-13No need to set [di]sar for complete tlb invalidation.Miod Vallat
2004-01-13Take advantage of the way config(8) works to probe for bugtty last duringMiod Vallat
autoconf. Bugtty will then not attach if either cl or dart has attached. Note that, if you boot -c and disable the real console driver for your board, you lose, because of the early console initialization. This is not supported anyway.
2004-01-13Get rid of old MID binary compatibility. This has been a lifesaver back whenMiod Vallat
the toolchain was in limbo, but now that we have a solid enough in-tree toolchain, this makes no sense. Plus the libc back then was full of bugs...
2004-01-13Then, kill %: printf format...Miod Vallat
2004-01-13Less pedantic types; helps when userland includes <signal.h> withoutMiod Vallat
<sys/types.h>; spotted by deraadt@
2004-01-13Let frame_is_sane() be quiet on demand, then fix and enable again frame search.Miod Vallat
2004-01-13During signal delivery, force the sigframe to be on an 8 byte boundary.Miod Vallat
This removes the need for extra padding in struct sigcontext.
2004-01-13UFS -> FFS, /bootsd -> /boot, ufsboot -> bootMiod Vallat
2004-01-13Always keep the kernel stack on a 8 byte boundary...Miod Vallat
2004-01-13Dusty, useless files are better found in the Attic.Miod Vallat
2004-01-13grog EV68Theo de Raadt
2004-01-13In cpu_switch(), use (almost) savectx() rather than rolling our own version.Miod Vallat
While there, slightly optimize savectx() for speed and stack usage.
2004-01-13support mbuf handling in alpha sgmap dma maps; from netbsdTheo de Raadt
2004-01-13need mbuf.hTheo de Raadt
2004-01-12Use a struct reg in struct sigcontext, rather than an unsorted pot-pourriMiod Vallat
of registers. This also makes signal and sigreturn much simpler.
2004-01-12Shrink the reg structure, for it to only contain registers (eh), and makeMiod Vallat
the remaining fielhs only available in struct trapframe. This has the additional benefit of preventing smarty-pants from altering the frame a bit too easily from ddb, at the expense of a few ugly casts in ddb.