| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
registering a filter handler rather than a threaded handler. Also remove
a bogus use of INTR_MPSAFE for a filter.
|
|
|
|
|
| |
endian mips. This will also make it work automatically on all future
big endian platforms.
|
| |
|
|
|
|
| |
- Remove an obsolete use of INTR_FAST.
|
|
|
|
| |
unnecessary.
|
|
|
|
| |
used uninitialized, but which cannot be inferred from the code itself.
|
|
|
|
|
|
|
|
| |
obscured vn_start_write() and vn_finished_write() for the
old OpenBSD port, since most uses have been replaced by the
correct calls.
MFC after: 12 days
|
|
|
|
|
|
| |
(devel/cppcheck, http://sourceforge.net/projects/cppcheck) run.
Approved by: nwhitehorn (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Sort the includes of pack.c, moving sys/*.h files near the top.
- Add a couple of missing #include lines, and remove the need for
custom -include options in the CFLAGS of the test Makefile.
- Remove the ad-hoc 'all' target, but keep its 'regress' bits for
testing.
- Convert the ad-hoc 'clean' target to proper CLEANFILES stuff,
so that the normal bsd.prog.mk machinery can clean up.
- Use `make -V .OBJDIR' to detect the place where 'pack' lives,
so that regress.t works both with and without 'make obj'.
Reviewed by: uqs
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
server is broken and the major file systems are now all
mpsafe, modify the server so that it will only export
mpsafe file systems. This was discussed on freebsd-fs@
and removes a fair bit of crufty code.
MFC after: 12 days
|
|
|
|
|
|
|
| |
- Expand locking scope in interrupt handler.
- Flesh out the detach routine.
Reviewed by: cognet
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
| |
built for both architectures. We need a better solution here.
|
|
|
|
|
| |
really need it (one can use __dead2 instead), and style(9) was not
even consistent with itself in this regard.
|
|
|
|
| |
Found by: clang static analyzer
|
|
|
|
|
|
|
| |
if ioctl(4) is failed besides the command number.
Suggested by: delphij
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
available on firmwares 3.15 and earlier.
Caveats: Support for the internal SATA controller is currently missing,
as is support for framebuffer resolutions other than 720x480. These
deficiencies will be remedied soon.
Special thanks to Peter Grehan for providing the hardware that made this
port possible, and thanks to Geoff Levand of Sony Computer Entertainment
for advice on the LV1 hypervisor.
|
|
|
|
|
| |
MFC after: 1 week
X-MFC with: r216995
|
|
|
|
|
|
| |
that need to be committed (or undone).
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
| |
itself.
This ensures that certain traps caused by builtins are executed.
|
|
|
|
| |
MFC after: 3 months
|
|
|
|
|
|
| |
want to avoid using any "advanced" CPU features:
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
|
|
|
|
|
|
|
|
| |
quite right and hasn't been used in ages and is likely broken. QEMU
with GUMSTIX is a more promising road to FreeBSD/arm in emulation
anyway.
Reviewed by: cognet@
|
|
|
|
| |
forgot to cleanup in the last commit.
|
|
|
|
| |
be used for amd64, not just for i386.
|
|
|
|
|
|
|
| |
under sys/boot/{i386,pc98}, since these are already added via
sys/boot/{i386,pc98}/Makefile.inc.
Submitted by: arundel
|
|
|
|
|
|
|
|
| |
length to ofw_real_map in case of a null string.
This makes ofwdump(8) work correctly when trying to print all properties
with ofwdump -p.
Approved by: nwhitehorn (mentor)
|
|
|
|
|
|
| |
tree.
Submitted by: arundel
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
vn_start_write() with a non-NULL vp. That way it will
find the correct mount point mp and use that mp for the
subsequent vn_finished_write() call. Also, it should fail
without crashing if the mount point is being forced dismounted
because vn_start_write() will set the mp NULL via VOP_GETWRITEMOUNT().
Reviewed by: kib
MFC after: 12 days
|
|
|
|
|
|
|
|
|
| |
of vfs_getvfs() so that the mount point is busied for the
VFS_FHTOVP() call. This is analagous to r185432 for the
regular NFS server.
Reviewed by: kib
MFC after: 12 days
|
|
|
|
| |
not 'clearerrorlog'.
|
|
|
|
|
|
|
|
| |
counterpart also takes, i.e. "fdx" for "full-duplex", "flow" for
"flowcontrol", "hdx" for "half-duplex" as well as "loop" and "loopback"
for "hw-loopback".
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
Although not directly related the FreeBSD Foundation funded "Five New TCP
Congestion Control Algorithms for FreeBSD" project, the understanding and
inspiration required to write this documentation was significantly bolstered
by the Foundation's support.
Reviewed by: pjd
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the dependency of which was preloaded, but failed to initialize. Previously,
kernel dereferenced NULL pointer returned by modlist_lookup2(); now, when this
happens, we unload the dependent module. Since the depended_files list is
sorted in dependency order, this properly propagates, unloading modules that
depend on failed ones.
From the user point of view, this prevents the kernel from panicing when
trying to boot kernel compiled without KDTRACE_HOOKS with dtraceall_load="YES"
in /boot/loader.conf.
Reviewed by: kib
|
|
|
|
| |
relationship edge to the committer graph to show this.
|
| |
|
|
|
|
|
| |
Approved by: Warner Losh <imp@FreeBSD.org>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
section and recording the date these commit bits were returned. Also, sort
the remaining entries, and add a node for mheinen, who is already referenced
within the mentor relationships.
Other doc committers are encouraged to add themselves, and any mentor/mentee
relationships. The current rendered output is available at
http://people.freebsd.org/~gavin/comm-doc.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
3DNow, MMX and floating point instructions in rtld-elf.
Otherwise, _rtld_bind() (and whatever it calls) could possibly clobber
function arguments that are passed in SSE/3DNow/MMX/FP registers,
usually floating point values. This can happen, for example, when clang
generates SSE code for memset() or memcpy() calls.
One symptom of this is sshd dying early on amd64 with "PRNG not seeded",
which is ultimately caused by libcrypto.so.6 calling RAND_add() with a
double parameter. That parameter is passed via %xmm0, which gets wiped
out by an SSE memset() in _rtld_bind().
Reviewed by: kib, kan
|
|
|
|
| |
ELF has been the default format for almost 12 years now.
|
|
|
|
|
|
|
| |
bug instead of blindly applying it to all controllers.
Pointed out by: marius
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The macros here for generating coprocessor 0 accessors are named like:
MIPS_RDRW32_COP0
That macro would produce mips_rd_<register>() and mips_wr_<register>()
inlines to access the specified register by name from C. The problem is that
the R and the W were swapped in the macros originally; it was meant to be named
RDWR because it generated mips_rd_* and mips_wr_* functions, but was instead
spelled RDRW, which nobody should be expected to get right by anything other
than copy and paste.
It's too many consonants in a row to keep straight anyway, so just prefer e.g.:
MIPS_RW32_COP0
While here, add a missing #undef.
|
|
|
|
| |
Discussed with: imp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bus_dma(9)'s capability which honors boundary restrictions of DMA
tag for dynamic buffers. However it seems this does not work well
and it triggered watchodg timeouts on controller that has the
hardware bug. It's not clear whether there is still another
hardware bug not mentioned in errata. This should be revisited
since this change shall make use of bounce buffers which in turn
reduces performance a lot on systems that have more than 4GB
memory.
Reported by: Michael L. Squires (mikes <> siralan dot org)
Tested by: Michael L. Squires (mikes <> siralan dot org)
MFC after: 3 days
|