| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
files, rather than the symbols in globals.s. The offsets are
generated by genassym.
Notes:
svn path=/head/; revision=70006
|
|
|
|
|
|
|
| |
from this module anyway, so I just did that.
Notes:
svn path=/head/; revision=70002
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aicasm is run on the build machine and therefore needs to be
compiled and linked against the headers and libraries (resp)
of the build machine. Since normally the default include
directories are search after any specified on the command
line, make sure we don't accidentally pick up machine
dependent headers from the kernel compile directory by
specifying /usr/include first.
This solves the (cross) build problem for ia64.
Approved by: gibbs
Notes:
svn path=/head/; revision=70000
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions. If this flag is set, then no KTR log messages are issued.
This is useful for blocking excessive logging, such as with the internal
mutex used by the witness code.
- Use MTX_QUIET on all of the mtx_enter/exit operations on the internal
mutex used by the witness code.
- If we are in a panic, don't do witness checks in witness_enter(),
witness_exit(), and witness_try_enter(), just return.
Notes:
svn path=/head/; revision=69998
|
|
|
|
|
|
|
|
|
| |
o Add pmtimer device
o Shorten scsi settle time to 1 second, since that's what I use and
I'm tired of remerging it every time.
Notes:
svn path=/head/; revision=69997
|
|
|
|
| |
Notes:
svn path=/head/; revision=69996
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generate a version string that looks just like a real Linux one - almost :)
Use sbufs everywhere instead of sprintf(). Note that this is still imperfect,
as the code does not check whether the sbuf overflowed - but it'll still
work better than before, since if the sbuf overflows, the code now simply
copies out 0 bytes instead of causing a trap (or worse, corrupting kernel
structures)
Notes:
svn path=/head/; revision=69995
|
|
|
|
| |
Notes:
svn path=/head/; revision=69994
|
|
|
|
| |
Notes:
svn path=/head/; revision=69991
|
|
|
|
| |
Notes:
svn path=/head/; revision=69990
|
|
|
|
|
|
|
|
|
| |
vm86_trap() to return to the calling program directly. vm86_trap()
doesn't return, thus it was never returning to trap() to release
Giant. Thus, release Giant before calling vm86_trap().
Notes:
svn path=/head/; revision=69987
|
|
|
|
|
|
|
|
| |
Noticed by: Michael Harnois <mdharnois@home.com>
Submitted by: assar
Notes:
svn path=/head/; revision=69986
|
|
|
|
|
|
|
| |
point in retaining this info, particularly under BTX.
Notes:
svn path=/head/; revision=69985
|
|
|
|
|
|
|
|
| |
This was still sitting in my commit tree.
Luckily I always compare my before and after trees...
Notes:
svn path=/head/; revision=69982
|
|
|
|
|
|
|
| |
comaptibility with NetBSD/pc98.
Notes:
svn path=/head/; revision=69979
|
|
|
|
|
|
|
| |
Reviewed by: jhb
Notes:
svn path=/head/; revision=69974
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct swblock entries by dividing the number of the entries by 2
until the swap metadata fits.
- Reject swapon(2) upon failure of swap_zone allocation.
This is just a temporary fix. Better solutions include:
(suggested by: dillon)
o reserving swap in SWAP_META_PAGES chunks, and
o swapping the swblock structures themselves.
Reviewed by: alfred, dillon
Notes:
svn path=/head/; revision=69972
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
variables from i386 assembly language. The syntax is PCPU(member)
where member is the capitalized name of the per-cpu variable, without
the gd_ prefix. Example: movl %eax,PCPU(CURPROC). The capitalization
is due to using the offsets generated by genassym rather than the symbols
provided by linking with globals.o. asmacros.h is the wrong place for
this but it seemed as good a place as any for now. The old implementation
in asnames.h has not been removed because it is still used to de-mangle
the symbols used by the C variables for the UP case.
Notes:
svn path=/head/; revision=69971
|
|
|
|
| |
Notes:
svn path=/head/; revision=69970
|
|
|
|
|
|
|
| |
Approved by: DES
Notes:
svn path=/head/; revision=69969
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the syncer process was the only process in the
system that could process the soft updates background work
list. If enough other processes were adding requests to that
list, it would eventually grow without bound. Because some of
the work list requests require vnodes to be locked, it was
not generally safe to let random processes process the work
list while they already held vnodes locked. By adding a flag
to the work list queue processing function to indicate whether
the calling process could safely lock vnodes, it becomes possible
to co-opt other processes into helping out with the work list.
Now when the worklist gets too large, other processes can safely
help out by picking off those work requests that can be handled
without locking a vnode, leaving only the small number of
requests requiring a vnode lock for the syncer process. With
this change, it appears possible to keep even the nastiest
workloads under control.
Submitted by: Paul Saab <ps@yahoo-inc.com>
Notes:
svn path=/head/; revision=69967
|
|
|
|
|
|
|
| |
This fixed the broken kernel build on the Alpha.
Notes:
svn path=/head/; revision=69966
|
|
|
|
|
|
|
| |
these locally for ages.
Notes:
svn path=/head/; revision=69965
|
|
|
|
|
|
|
| |
matching the ax88190.
Notes:
svn path=/head/; revision=69964
|
|
|
|
| |
Notes:
svn path=/head/; revision=69963
|
|
|
|
|
|
|
| |
i386.
Notes:
svn path=/head/; revision=69962
|
|
|
|
|
|
|
| |
Submitted by: Michael Reifenberger
Notes:
svn path=/head/; revision=69961
|
|
|
|
|
|
|
| |
Submitted by: Michael Reifenberger
Notes:
svn path=/head/; revision=69960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
was not atomic. We now make sure that we free the ext buf if the reference
count is about to reach 0 but also make sure that nobody else has done it
before us.
While I'm here, change refcnt to u_int (from long). This fixes a compiler
warning regarding use of atomic_cmpset_long on i386.
Submitted by: jasone
Reviewed by: jlemon, jake
Notes:
svn path=/head/; revision=69959
|
|
|
|
|
|
|
|
|
|
| |
in ctl to using centralized p_can() inter-process access control
interface.
Reviewed by: sef
Notes:
svn path=/head/; revision=69958
|
|
|
|
| |
Notes:
svn path=/head/; revision=69957
|
|
|
|
|
|
|
| |
me in the previous round of patches. Oops.
Notes:
svn path=/head/; revision=69956
|
|
|
|
|
|
|
|
| |
o write isa driver routines.
o factor detach routine in sn_detach.
Notes:
svn path=/head/; revision=69955
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove redundant header-type-specific support in the cardbus pcibus
clone. The bridges don't need this anymore.
- Use pcib_get_bus instead of the deprecated pci_get_secondarybus.
- Implement read/write ivar support for the pccbb, and teach it how
to report its secondary bus number. Save the subsidiary bus number
as well, although we don't use it yet.
Notes:
svn path=/head/; revision=69954
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Break out the /dev/pci driver into a separate file.
- Kill the COMPAT_OLDPCI support.
- Make the EISA bridge attach a bit more like the old code; explicitly
check for the existence of eisa0/isa0 and only attach if they don't
already exist. Only make one bus_generic_attach() pass over the
bridge, once both busses are attached. Note that the stupid Intel
bridge's class is entirely unpredictable.
- Add prototypes and re-layout the core PCI modules in line with
current coding standards (not a major whitespace change, just moving
the module data to the top of the file).
- Remove redundant type-2 bridge support from the core PCI code; the
PCI-CardBus code does this itself internally. Remove the now
entirely redundant header-class-specific support, as well as the
secondary and subordinate bus number fields. These are bridge
attributes now.
- Add support for PCI Extended Capabilities.
- Add support for PCI Power Management. The interface currently
allows a driver to query and set the power state of a device.
- Add helper functions to allow drivers to enable/disable busmastering
and the decoding of I/O and memory ranges.
- Use PCI_SLOTMAX and PCI_FUNCMAX rather than magic numbers in some
places.
- Make the PCI-PCI bridge code a little more paranoid about valid
I/O and memory decodes.
- Add some more PCI register definitions for the command and status
registers. Correct another bogus definition for type-1 bridges.
Notes:
svn path=/head/; revision=69953
|
|
|
|
|
|
|
| |
Turn 'lnc' off in GENERIC for the moment, pending its update to newbus.
Notes:
svn path=/head/; revision=69952
|
|
|
|
| |
Notes:
svn path=/head/; revision=69951
|
|
|
|
|
|
|
| |
Submitted by: Tor.Egge@fast.no
Notes:
svn path=/head/; revision=69950
|
|
|
|
|
|
|
|
|
|
|
| |
of explicit calls to lockmgr. Also provides macros for the flags
pased to specify shared, exclusive or release which map to the
lockmgr flags. This is so that the use of lockmgr can be easily
replaced with optimized reader-writer locks.
- Add some locking that I missed the first time.
Notes:
svn path=/head/; revision=69947
|
|
|
|
|
|
|
|
| |
This is what happenss when you let the patches pile up too long without
committing them.. brain rot..
Notes:
svn path=/head/; revision=69946
|
|
|
|
|
|
|
|
| |
forgotten by: Me
Found by: GCC
Notes:
svn path=/head/; revision=69945
|
|
|
|
| |
Notes:
svn path=/head/; revision=69943
|
|
|
|
|
|
|
| |
reflect that here.
Notes:
svn path=/head/; revision=69942
|
|
|
|
|
|
|
| |
Reported by: Yian Zhu <Yian.Zhu@qobra.com>
Notes:
svn path=/head/; revision=69938
|
|
|
|
| |
Notes:
svn path=/head/; revision=69937
|
|
|
|
| |
Notes:
svn path=/head/; revision=69934
|
|
|
|
| |
Notes:
svn path=/head/; revision=69933
|
|
|
|
| |
Notes:
svn path=/head/; revision=69932
|
|
|
|
| |
Notes:
svn path=/head/; revision=69931
|
|
|
|
| |
Notes:
svn path=/head/; revision=69930
|