| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
bus_dma MD code for AMD64. (And a trivial ifdef update in dev/kbd because
of this). More updates are needed here to take advantage of the 64 bit
instructions.
Approved by: re (blanket amd64/*)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
value on entry and exit. This isn't as easy as it sounds because when
we recursively trap or interrupt, we have to avoid duplicating the
swapgs instruction or we end up back with the userland %gs. I implemented
this by testing TF_CS to see if we're coming from supervisor mode
already, and check for returning to supervisor. To avoid a race with
interrupts in the brief period after beginning executing the handler and
before the swapgs, convert all trap gates to interrupt gates, and reenable
interrupts immediately after the swapgs. I am not happy with this.
There are other possible ways to do this that should be investigated.
(eg: storing the GS.base MSR value in the trapframe)
Add some sysarch functions to let the userland code get to this.
Approved by: re (blanket amd64/*)
|
|
|
|
| |
Approved by: re (scottl)
|
|
|
|
|
|
|
| |
Submitted by: Jan-Oliver Neumann <neumannj@arcor.de>
By way of: n_hibma
Approved by: re (jhb & bmah)
MFC After: 7 days
|
|
|
|
|
|
|
|
| |
inode birthtime display, and quite a bit of mdoc cleanup, which brings
it much more in line with our mdoc style.
Approved by: re (bmah)
Obtained from: Andrew Brown <atatat@NetBSD.org> (content), Grant Beattie <grant@NetBSD.org> (mdoc)
|
|
|
|
|
|
|
|
| |
the new inode birthtime field, a few other small cleanups, and
synchronization with our #include <sys/types.h>.
Approved by: re (bmah)
Obtained from: Andrew Brown <atatat@NetBSD.org>
|
|
|
|
|
|
| |
model numbers are wider than I first thought.
Approved by: re (blanket amd64/*)
|
|
|
|
| |
Approved by: re (blanket amd64/*)
|
|
|
|
| |
Approved by: re (amd64/* blanket)
|
|
|
|
|
|
|
| |
instead of just at 0GB and 1GB marks. This gives more flexibility for
the choice of KERNBASE.
Approved by: re (amd64 stuff)
|
|
|
|
| |
FSF compiler during early development.
|
|
|
|
| |
Approved by: re (blanket amd64/*)
|
|
|
|
| |
about silly typos. Use the correct comment sequences.
|
|
|
|
| |
Approved by: re(murray)
|
|
|
|
|
|
|
|
| |
Linux initializes %gs to 0. Mimic this behavior.
Submitted by: Christian Zander <zander@minion.de>
Reviewed by: jake
Approved by: re
|
|
|
|
|
|
| |
complete.
OK'ed by: re(scottl)
|
|
|
|
| |
OK'ed by: re(scottl)
|
|
|
|
| |
$FreeBSD$ tags and some debug variable safety belts.
|
|
|
|
|
|
|
|
| |
of conflicting with other, similarly named functions in static
libraries. This is done mostly by renaming the var if it is shared
amongst modules, or making it static otherwise.
OK'ed by: re(scottl)
|
|
|
|
|
|
|
|
| |
- Simplify and correct the bus manager election process.
- Check link_active when choosing cycle master.
- Fix location of the cmr bit.
Approved by: re (scottl)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
series. This driver was generously developed and released by David
Jeffreys and Adaptec. I've updated it to work with 5.x and fixed a
few bugs.
MFC After: 1 week
|
|
|
|
| |
it unneeded.
|
|
|
|
| |
Approved by: re@ (blanket for bluetooth upgrade)
|
|
|
|
|
|
|
|
| |
has been fixed to not need the missing files.
The firmware files themselves still now need to be fetched from the internet.
The README there gives the location.
Approved by: re@ (part of bluetooth upgrade)
|
|
|
|
|
|
| |
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@ (part of Bluetooth upgrade)
|
|
|
|
|
|
|
|
| |
-P which could be interpreted as 'this option must be specified'.
PR: 37221 && 51886
Discussed with: bmah
Approved by: re (blanket)
|
|
|
|
|
|
|
| |
commit)
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@
|
| |
|
|
|
|
|
| |
the legal status has been confirmed, in the meanwhile they can be
downloaded from the location in the README file.
|
|
|
|
| |
Approved by: re@
|
|
|
|
|
| |
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@
|
|
|
|
|
| |
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changed to use libufs in revision 1.71. Without this, any write
failures in newfs were silently ignored.
Note that this will display a meaningless errno string in the case
of a short write as opposed to a write error, since bwrite()'s
return value does not allow the caller to determine if errno is
valid.
Reported by: Lukas Ertl <l.ertl@univie.ac.at>
Reviewed by: jmallett
Approved by: re (bmah)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reason for the duplication was that m_freem() was meant to eventually
be optimized to hold the lock of the cache being freed to as long as
possible across frees but the difficulty of implementing said
optimization right now is too high, given that in some cases (see MAC
and non-cluster external buffers), we need to call into other subsytems,
something not permissible when the cache lock is held.
This change minimizes code duplication while keeping at least the
atomic mbuf+cluster free optimization.
Suggested by: luigi
|
|
|
|
|
| |
Submitted by: nyan
Approved by: re (implicitly)
|
|
|
|
| |
Approved by: re@
|
| |
|
|
|
|
|
|
| |
it can see the intent of the va_* macros, even though it cannot work.
Approved by: re (blanket amd64/*)
|
|
|
|
|
|
|
|
| |
could use different versions of the math code depending on whether there
was real floating point hardware or math emulation. Since the fpu is
part of the core specification on amd64, there is no need for this here.
Approved by: re (blanket amd64/*)
|
|
|
|
| |
Approved by: re (blanket amd64/*)
|
|
|
|
| |
asm versions. This yields about a 5% kernel compile time speedup.
|
| |
|
|
|
|
|
|
|
| |
cross-references for keyboards. Add a mention of VGA video cards, and
pointers to XFree86 where appropriate.
PR: 43410
|
|
|
|
|
|
|
|
|
|
|
|
| |
still outstanding, give them a chance to complete.
If after 10 seconds we still find outstanding I/O requests, complete
the close with a console warning that the system is likely to panic
later on.
This is a workaround for umount -f not quite doing the right thing.
Approved by: re/scottl
|