Age | Commit message (Collapse) | Author |
|
|
|
prompted by/ok dlg@ deraadt@
|
|
deraadt@ dlg@.
|
|
grudgingly ok deraadt@
|
|
splassert_ctl > 0 in __predict_false().
ok deraadt@
|
|
have cpu_info now, so kill the option.
eyeballed by jsg@ and grange@
|
|
option. Every architecture implements mutexes now.
|
|
|
|
device_register() function -- even if it does nothing. reduces the
cpp-based blather different between architectures
idea ok'd by miod; tested on all architectures (except a few miod will
need to cleanup because he has them)
|
|
|
|
|
|
ok miod@
|
|
splassert. ok art@ martin@
|
|
|
|
|
|
machines. Instead -- build one solid clean MI version, and thenchange all
the architectures to use it. ok various people, tested on almost all cases.
(it is a 10094 line diff..)
|
|
platform interrupt string when establishing pciide interrupts
|
|
|
|
|
|
pointed out by and ok miod@
|
|
miod@ ok
|
|
We use rpcc for the clock. We don't try to get the frequency from the
hwrpb, since from experience we know that it's very unreliable and
can be several % off from the real frequency. Instead we calibrate
the timecounter frequency by using the clock device and count the
number of cycles between two second ticks of the clocks.
This is not perfect, but still much better than what we had before.
We'll have to add an i8254 clock for MP though.
miod@ ok
|
|
soft interrupts
from NetBSD, 'reads good art@', also tested by robert@
|
|
|
|
that have over 1.0G. Allow direct dma requests to fall back to SGMAPs.
From NetBSD via brad; discussed with Miod, tested by myself
|
|
tsunami chipset alphas set this, maybe older ones as well
|
|
- add machine-dependent spinlock operations
- add basic interprocessor interrupt sending and receiving code
from NetBSD; ok miod@
|
|
ok miod@
|
|
|
|
ok deraadt@
|
|
prodded by art@ ok art@
|
|
This code makes it possible to run on some of the AlphaServers,
namely AlphaServer 4100 and 1200.
add mcbus(4) and mcpcia(4) to provide support for the system bus and
the MCPCIA-to-PCI bus adapter that can be found in these systems
allow the pci_swiz_bus code to handle variable extent names
to be able to handle more than one mcpcia(4)
"just commit it" deraadt@
|
|
it's a good idea to use atomic.h operations on it. This mechanic
change updates all bit operations on p_flag to atomic_{set,clear}bits_int.
Only exception is that P_OWEUPC is set by MI code before calling
need_proftick and it's automatically cleared by ADDUPC. There's
no reason for MD handling of that flag since everyone handles it the
same way.
kettenis@ ok
|
|
Aaron Linville <aaron@linville.org> in PR 5398.
|
|
|
|
rt and such; tested and ok miod drahn
|
|
option DISKLABEL_I386.
ok deraadt@
|
|
for a bare FAT12/16/32 filesystem. If one is found, spoof it as 'i'.
This enables iPod shuffles and other umass devices that are shipped
with a bare FAT32 filesystem to be used as install media. And
generally makes things easier for the user just trying to mount some
media, e.g. floppies.
Does not make it safe to write a disklabel or MBR on such a device!
That will still obliterate the FAT filesystem.
Help and suggestions from tom@ and deraadt@. Feedback and suggestions
for future enhancements from espie@ mickey@ and peter@.
ok tom@ deraadt@
|
|
ok kettenis@ cloder@ tom@ henning@
|
|
|
|
right now that are supposed to be atomic with respect to interrupts and
SMP: atomic_setbits_int and atomic_clearbits_int.
All architectures other than i386 and amd64 get dummy implementations
since at first we'll be replacing operations that are done with
"a |= bit" and "a &= ~bit" today. More proper implementations will follow
kettenis@, miod@ ok
|
|
of the disk. Fixes the creation of spurious 'i' partitions on new iPod
Shuffle. And other devices with no MBR, just a FAT32 filesystem.
Pointed out most recently by Stephan A. Rickauer for his sixth
generation, clip-on iPod shuffle.
Fix tested by Stephan.
ok pedro@ tom@ miod@ 'nice' deraadt@
|
|
- LK_EXCLUPGRADE is never used.
- LK_REENABLE is never used.
- LK_SETRECURSE is never used. Because of this, the lk_recurselevel
field is always zero, so it can be removed to.
- the spinlock version (and LK_SPIN) is never used, since it was decided
to use different locking structure for MP-safe protection.
Tested by many
|
|
statclock(), do not bother doing this in userret() anymore. As a result,
userret() does not need its pc and ticks arguments, simplify.
|
|
domain number such that we can distinguish between busses with the same bus
number that are behind different host bridges. Domains can be accessed by
using different device nodes.
ok deraadt@
|
|
this is a tiny ABI change, but it is better for a handfull of reasons
|
|
for cpu_swapin() on hppa* which is kept).
|
|
should never be referenced outside the context of the process to which
this stack belongs unless we do the PHOLD/PRELE dance. Loads of code
doesn't follow the rules here. Instead of trying to track down all
offenders and fix this hairy situation, it makes much more sense
to not swap kernel stacks.
From art@, tested by many some time ago.
|
|
driver to be able to tell how many wscons screens to attach to it,
instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
|
|
confusing when trying to attach scsibus to a hba, since it is really meant
for attaching scsi devices to scsibus.
ok deraadt@ marco@
|