Pawel Jakub Dawidek
0f2bbe5ba4
- Call root_mount_rel() when provider IS created, not earlier.
...
This should close the race observed by Daniel Eriksson.
- Remove redundant wakeup().
2005-05-25 13:10:04 +00:00
Yoshihiro Takahashi
6ff766dcdf
MFi386: Add ReiserFS
2005-05-25 12:32:06 +00:00
Hartmut Brandt
09907cdf46
No need to specify the include subdirectory. During buildworld the
...
correct files are included from a temp. include directory.
Explained by: ru
2005-05-25 12:04:44 +00:00
Hartmut Brandt
e6ebcf9203
This commit was generated by cvs2svn to compensate for changes in r146611,
...
which included commits to RCS files with non-trunk default branches.
2005-05-25 12:03:26 +00:00
Hartmut Brandt
078b57e43c
Apply vendor patch: include the header files from the canonical place.
...
Explained to me by: ru
2005-05-25 12:03:26 +00:00
Hartmut Brandt
92fd12db24
This commit was generated by cvs2svn to compensate for changes in r146609,
...
which included commits to RCS files with non-trunk default branches.
2005-05-25 12:00:03 +00:00
Hartmut Brandt
9ed6112d51
Apply a vendor patch: silence gcc on arm (alignent when casting pointer).
...
Submitted by: Olivier Houchard <cognet@ci0.org>
2005-05-25 12:00:03 +00:00
Hartmut Brandt
691a610b4d
Document why there is a dependency of certain object files from the
...
Makefile.
Requested by: ru
2005-05-25 08:46:31 +00:00
Ruslan Ermilov
522c85f5ba
Fix order (I introduced some time ago) broken in previous revision.
2005-05-25 07:31:05 +00:00
Marcel Moolenaar
6fbeb2e223
For ISA DMA maps, the chipsets scatter/gather feature is used. As
...
such, the segments pointer in the DMA tag will always be NULL. In
bus_dmamap_load(), temporarily point the segments pointer in the
DMA tag to a local variable so that we don't dereference a NULL
pointer. Reset the segments pointer to NULL after calling the
callback function with it.
PR: alpha/30486
MFC after: 1 week
2005-05-25 07:25:12 +00:00
Olivier Houchard
5b45c9f2a1
MFp4: Setup arm9 to write back by default.
...
Obtained from: NetBSD
2005-05-24 23:57:22 +00:00
Olivier Houchard
ef6f667f2e
Remove kcopy(), we don't use it.
2005-05-24 23:55:09 +00:00
John-Mark Gurney
b633f50dd8
make stat return an zero'd struct, and be a FIFO again... This is only
...
to fix libc_r since it requires stat to close fd's, and so commented in
the code...
PR: threads/75795
Reviewed by: ps
MFC after: 1 week
2005-05-24 23:42:50 +00:00
Christian S.J. Peron
701fabc74b
If sysctlbyname fails for kernel related reasons, tag the errno
...
string to the end of the error message. I think we used errx()
there when we really wanted an err().
MFC after: 1 week
2005-05-24 23:42:09 +00:00
Maxime Henrion
ab19e37ab0
Only build mount_reiserfs(8) on i386, it exists only there for now.
...
Spotted by: ru
2005-05-24 23:06:10 +00:00
Olivier Houchard
ad0557149f
We need to decrease p->p_lock after vm_fault() has been called.
2005-05-24 23:06:02 +00:00
Olivier Houchard
47b3d09bb0
Correctly setup the UND stack in cpu_set_upcall(), and the trapframe in
...
cpu_thread_setup(), as done in cpu_fork().
2005-05-24 23:05:26 +00:00
Olivier Houchard
77f30ffff8
Don't set the default of kern.fallback_elf_brand to FreeBSD for arm, as
...
binutils now do the job for us
2005-05-24 22:21:44 +00:00
Olivier Houchard
15ba408fd7
- Try to avoid calling malloc() in bus_dmamap_create() and bus_dmamem_alloc()
...
for the dmamap by using static dmamaps.
- Don't do anything for BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE in
bus_dmamap_sync(), it's not needed anymore.
2005-05-24 22:10:35 +00:00
Olivier Houchard
f1f49518d4
Write back affected pages in pmap_qremove() as well. This removes the need
...
to change the DACR when switching to a kernel thread, thus making
userland thread => kernel thread => same userland thread switch cheaper by
totally avoiding data cache and TLB invalidation.
2005-05-24 21:47:10 +00:00
Olivier Houchard
04e48248ca
Use a more sane value for HZ.
2005-05-24 21:45:26 +00:00
Olivier Houchard
0f18d3256d
Use asm versions of in_cksum() and friends.
2005-05-24 21:44:34 +00:00
Peter Grehan
530d1c7646
Since the BAT mapping was removed a long time back, it can't
...
be assumed that modules are contiguous in memory (they're not)
so don't blindly __syncicache start/end. In fact, don't bother
syncing the icache for modules since the kernel will do it after
fixing up relocations.
This fixes the trap when loading modules at boot time.
Reported by: orlando at break dot net
2005-05-24 21:43:49 +00:00
Olivier Houchard
fdc05f7913
Asm version of bswap16().
...
Obtained from: NetBSD
2005-05-24 21:43:16 +00:00
Olivier Houchard
fa7e20fdd4
Make sure we clean the RAS start address once we're done.
...
This fixes the random segfaults which occurs at high interrupts rate.
2005-05-24 21:42:31 +00:00
Olivier Houchard
6ffb8d33c7
arm defaults to unsigned char as well.
2005-05-24 21:25:32 +00:00
Olivier Houchard
7b2b007e8c
Use -march=armv5te for Xscale.
2005-05-24 21:24:40 +00:00
Olivier Houchard
0f470b07d2
Don't set the tuner type to TUNER_MT2032 if BKTR_OVERRIDE_TUNER is defined or
...
if hw.bt848.tuner has been set, so that we can force the tuner.
2005-05-24 21:12:49 +00:00
Olivier Houchard
c9d9582d9f
Fix one more misuse of u_long when uint32_t is actually meant.
...
Submitted by: oliver
MFC after: 3 days
2005-05-24 20:42:08 +00:00
Jens Schweikhardt
5d2e2fcd18
Update (reduce) the list of committers with MAINTAINER= lines in Makefiles.
2005-05-24 18:54:07 +00:00
Maxime Henrion
32b37b0ea5
- Move the REISERFS option in the MD NOTES file for i386, it doesn't
...
exist on other architectures yet.
- While I'm here, fix the formatting of the options line. The keyword
"options" should be followed by a space and then a tab, not 2 tabs.
2005-05-24 18:31:34 +00:00
Paul Saab
473dd55f2e
Copyout to userland if kern_sigaction succeeds
2005-05-24 17:52:14 +00:00
Damien Bergamini
0b090f4153
Add new ral(4) and ural(4) drivers.
...
Approved by: silby (mentor)
2005-05-24 16:48:07 +00:00
Hartmut Brandt
527505d8cb
The caller of Var_Value() should not change the variable value. Make
...
this clear by constifying the return value.
Obtained from: DragonFlyBSD
2005-05-24 16:05:51 +00:00
Hartmut Brandt
19446efc06
Get rid of the third argument to Var_Value() the pointer it pointed
...
to has always been set to NULL for some time now.
Obtained from: DragonFlyBSD
2005-05-24 15:58:35 +00:00
Hartmut Brandt
cda79e4935
Make shell.o dependend on the Makefile just in case someone changes
...
the default shell in the Makefile.
2005-05-24 15:48:10 +00:00
Hartmut Brandt
066694bd51
Bump the warning level to 6.
2005-05-24 15:46:50 +00:00
Hartmut Brandt
8ea7e6722b
Fix a 64-bit warning by casting an int64_t to intmax_t and printing it
...
with %jd.
2005-05-24 15:45:11 +00:00
Christian Brueffer
99c2f31565
3Com 3C2000-T reported as working.
...
Submitted by: anonymous
2005-05-24 15:42:42 +00:00
Hartmut Brandt
f3bd158e59
Factor out ProcExec() into its own file and rename it to Proc_Exec() for
...
consistency with the rest of make.
Obtained from: DragonFlyBSD (except for the rename)
2005-05-24 15:41:34 +00:00
R. Imura
bf8ba9ab3a
Fix kiconv on the 64bit plathomes.
...
- Correct idxp pointer to point the properly address of the
each array of the kiconv character conversion tables,
so that character conversion work properly when file
systems are mounted with kiconv options.
- The definition of ICONV_CSMAXDATALEN was also bogus
because it was defined as if all machines were 32bit
computers.
Tested on: amd64
MFC after: 1 month
2005-05-24 15:38:08 +00:00
Hartmut Brandt
5c86e3c106
Factor out all the .SHELL parsing related stuff into its own file and
...
rename the function to be consistent with the naming scheme in the rest
of make. No functional changes.
Obtained from: DragonFlyBSD (idea and most of shell.h)
2005-05-24 15:30:03 +00:00
Hartmut Brandt
da2f954c96
Use the name of the default shell instead of a numeric index to select
...
the default shell.
Idea from: DragonFlyBSD
2005-05-24 13:19:40 +00:00
Hartmut Brandt
51fb4c0273
Another shell attribute 'unsetenv' that will cause to unsetenv("ENV")
...
before executing the shell. Until now this was done when the default
shell was the ksh. This failed if the default shell was sh or csh and
the user switched to ksh.
2005-05-24 13:14:24 +00:00
Jean-Sébastien Pédron
8fe7998342
Connect mount_reiserfs(8) to the build.
...
Approved by: mux (mentor)
2005-05-24 12:37:18 +00:00
Jean-Sébastien Pédron
61a34594b1
Import of mount_reiserfs(8), used to mount a ReiserFS filesystem.
...
Approved by: mux (mentor)
2005-05-24 12:34:45 +00:00
Hiten Pandya
e36734401f
Accomodate for parameter name change, 'cnp' to 'data'.
...
Submitted-by: Andrew R. Reiter <arr@watson.org>
2005-05-24 12:33:29 +00:00
Jean-Sébastien Pédron
398ae5313a
Connect the ReiserFS filesystem to the modules build (i386 only).
...
Approved by: mux (mentor)
2005-05-24 12:30:13 +00:00
Jean-Sébastien Pédron
fc7a25fd30
Connect the ReiserFS filesystem to the build (i386 only).
...
Approved by: mux (mentor)
2005-05-24 12:28:21 +00:00
Jean-Sébastien Pédron
60a698826d
Import of ReiserFS filesystem support (currently limited to read-only on
...
i386). Source code is under the GNU GPL license.
Approved by: mux (mentor)
2005-05-24 12:24:45 +00:00