Poul-Henning Kamp
332a2bf07b
Remove the #define for bioqdisksort(), it's no longer needed.
2003-04-01 18:55:46 +00:00
Poul-Henning Kamp
812de2ed5c
I think the divorce successed, so stop #including <geom/geom_disk.h>
2003-04-01 18:55:04 +00:00
John Baldwin
3165d2ea56
Complete removal of 320.rdist by removing its entry from periodic.conf and
...
removing the related 220.backup-distfile script and associatd periodic.conf
entry.
Discussed with: obrien
2003-04-01 17:45:27 +00:00
Andrew Gallatin
9ef024f7b7
Add a crutch so that direct-mapped DMA works on alpha. This is a step
...
toward preventing this driver from crashing an alpha at boot.
Tested by: Oliver Lehmann <lehmann@ans-netz.de>
2003-04-01 16:31:12 +00:00
Yaroslav Tykhiy
252bcf459d
Give clearer diagnostics on some cases of invalid
...
combinations of mdconfig(8) command-line arguments.
Make mdconfig(8) accept "-a -f file -o options"
equally with "-a -f file" (assuming "-t vnode".)
2003-04-01 15:23:55 +00:00
Poul-Henning Kamp
891619a66d
Use bioq_flush() to drain a bio queue with a specific error code.
...
Retain the mistake of not updating the devstat API for now.
Spell bioq_disksort() consistently with the remaining bioq_*().
#include <geom/geom_disk.h> where this is more appropriate.
2003-04-01 15:06:26 +00:00
Yaroslav Tykhiy
29f3f095a6
Don't die of SIGSEGV on a missing fstype field
...
in a saved disklabel file.
MFC after: 1 week
2003-04-01 14:44:53 +00:00
Poul-Henning Kamp
51a5b7f1ba
Don't include <sys/disk.h>.
2003-04-01 13:33:28 +00:00
Poul-Henning Kamp
7c79beb3ce
Start to split the GEOM/diskdriver specific bits into geom/geom_disk.h
2003-04-01 13:19:14 +00:00
Ruslan Ermilov
6c4e523908
libtelnet depends on OpenSSL.
...
PR: 50507
2003-04-01 12:50:40 +00:00
Poul-Henning Kamp
af6ca7f4a9
Introduce bioq_flush() function.
2003-04-01 12:49:40 +00:00
Ruslan Ermilov
4d63e8de71
Mark bits that do not require an object directory as such.
2003-04-01 12:37:54 +00:00
Poul-Henning Kamp
a4d7a3c069
Include <sys/conf.h> rather than trusting <sys/disk.h> to do so.
2003-04-01 12:35:17 +00:00
Poul-Henning Kamp
95082542bb
Add #include <sys/conf.h> so we don't rely on <sys/disk.h> doing it.
2003-04-01 12:34:47 +00:00
Ruslan Ermilov
cdcdfd877b
Parallelize (on the top-level SUBDIR list) the "all" stage of
...
buildworld. This gives 5-11% percent gain in real buildworld
times on various UP and SMP systems here. I used 4 * hw.ncpu
as an argument to "make -j" in my tests.
2003-04-01 11:39:04 +00:00
Ruslan Ermilov
b9040d98f9
Pass NO_WARNS to the build-tool stage too; -Wsystem-headers
...
isn't known to the 4.x system compiler.
2003-04-01 11:29:29 +00:00
Ruslan Ermilov
887c67148e
This can't obviously be cleaner than system headers.
2003-04-01 11:11:38 +00:00
Jeff Roberson
120d1b9e32
- smb_td_intr takes a thread as an argument not a proc.
2003-04-01 09:24:12 +00:00
Jeff Roberson
6f39c1a1fe
- smb_proc_intr is now spelled smb_td_intr.
...
Noticed by: phk
Pointy hat to: jeffr
2003-04-01 09:23:24 +00:00
Jeff Roberson
c9dfa2e08b
- p will be unused in cursig() if INVARIANTS is not defined. Access it
...
through td->td_proc to avoid the unused variable.
Spotted by: Maxim Konovalov <maxim@macomnet.ru>
2003-04-01 09:07:36 +00:00
Poul-Henning Kamp
09bf42f50f
Don't include <sys/buf.h> needlessly.
2003-04-01 09:02:58 +00:00
Poul-Henning Kamp
6f46bf604d
Fix KASSERT syntax error.
2003-04-01 08:57:28 +00:00
Matthew N. Dodd
09139a4537
Implement support for RFC 3514 (The Security Flag in the IPv4 Header).
...
(See: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt)
This fulfills the host requirements for userland support by
way of the setsockopt() IP_EVIL_INTENT message.
There are three sysctl tunables provided to govern system behavior.
net.inet.ip.rfc3514:
Enables support for rfc3514. As this is an
Informational RFC and support is not yet widespread
this option is disabled by default.
net.inet.ip.hear_no_evil
If set the host will discard all received evil packets.
net.inet.ip.speak_no_evil
If set the host will discard all transmitted evil packets.
The IP statistics counter 'ips_evil' (available via 'netstat') provides
information on the number of 'evil' packets recieved.
For reference, the '-E' option to 'ping' has been provided to demonstrate
and test the implementation.
2003-04-01 08:21:44 +00:00
Poul-Henning Kamp
c8d01707ba
Fix KASSERT syntax errors.
...
Please compile LINT before commiting.
2003-04-01 08:10:21 +00:00
Poul-Henning Kamp
4a1e273c48
Remove the old config interface, the new OAM is sufficiently functional
...
now.
2003-04-01 07:33:56 +00:00
Poul-Henning Kamp
dfb99a70d8
Remove the old config interface now that the new OAM is functional.
2003-04-01 07:33:17 +00:00
Jeff Roberson
7a57e9abdd
- Adjust the makefiles so we have a per architecture makefile.
2003-04-01 07:07:38 +00:00
Jake Burkholder
73adf5691f
- Add a flags field to struct pcb. Use this to keep track of wether or
...
not the pcb has floating point registers saved in it.
- Implement get_mcontext and set_mcontext.
2003-04-01 04:58:50 +00:00
Jeff Roberson
42d3ad7144
- Spell SIGSETOR correctly.
2003-04-01 04:49:12 +00:00
Jake Burkholder
404221fe55
- Don't allow tf_wstate to be set in set_regs.
...
- Clear FPRS_FEF in set_fpregs so the new registers will be reloaded.
2003-04-01 04:29:03 +00:00
Jake Burkholder
8fe20fdafa
Implement cpu_set_upcall.
2003-04-01 04:19:29 +00:00
Jake Burkholder
f217a77ce4
- Rename pcb_fpstate to pcb_ufp (user floating point), and change it to
...
a simple array of 64 ints.
- Use a critical section when saving floating point state in cpu_fork
instead of sched_lock.
2003-04-01 04:02:45 +00:00
Jeff Roberson
70d5093a8b
- Commit the forgotten libthr/sys bits.
2003-04-01 03:51:08 +00:00
Jeff Roberson
bb535300dd
- Add libthr but don't hook it up to the regular build yet. This is an
...
adaptation of libc_r for the thr system call interface. This is beta
quality code.
2003-04-01 03:46:29 +00:00
Jake Burkholder
e50173aeaa
Rename pcb_fp to pcb_sp, so as to not be confused with floating point
...
state.
2003-04-01 03:05:46 +00:00
Tim J. Robbins
a968deece9
Specify the M_WAITOK flag explicitly in the MALLOC call to silence a
...
runtime warning ("Bad malloc flags: 0").
2003-04-01 02:47:09 +00:00
Tim J. Robbins
788fc48e32
Give the M_WAITOK flag explicitly to the MALLOC call to silence a runtime
...
warning ("Bad malloc flags: 0").
2003-04-01 02:42:02 +00:00
Jake Burkholder
a31794d553
Implement casuptr.
2003-04-01 02:37:04 +00:00
Jeff Roberson
4518589564
- Regen.
2003-04-01 02:34:21 +00:00
Jeff Roberson
8446303e01
- thr_exit() should no longer be called with Giant held.
2003-04-01 02:32:53 +00:00
Jeff Roberson
f27bf63b8a
- Mark the various thr syscalls as MP safe. Previously there was a bug if
...
this was not done since thr_exit() unwinds giant.
2003-04-01 02:32:07 +00:00
Jeff Roberson
2c10d16a4b
- Borrow the KSE single threading code for exec and exit. We use the check
...
if (p->p_numthreads > 1) and not a flag because action is only necessary
if there are other threads. The rest of the system has no need to
identify thr threaded processes.
- In kern_thread.c use thr_exit1() instead of thread_exit() if P_THREADED
is not set.
2003-04-01 01:26:20 +00:00
Jeff Roberson
8af830c374
- Regen for umtx.
2003-04-01 01:22:18 +00:00
Jeff Roberson
a0704f9de9
- Add thr and umtx system calls.
2003-04-01 01:15:56 +00:00
Jeff Roberson
404c3ad471
- Add the kern_umtx.c file to the build.
2003-04-01 01:13:29 +00:00
Jeff Roberson
6eeb9653aa
- Include umtx.h in files generated by makesyscalls.sh
...
- Add system calls for umtx.
2003-04-01 01:12:24 +00:00
Jeff Roberson
7f49f8e05b
- Add an entry and a head for the queue of threads blocked on a umtx.
...
- Add a prototype for thr_exit1().
2003-04-01 01:11:22 +00:00
Jeff Roberson
69404b5090
- Add an api for doing smp safe locks in userland.
...
- umtx_lock() is defined as an inline in umtx.h. It tries to do an
uncontested acquire of a lock which falls back to the _umtx_lock()
system-call if that fails.
- umtx_unlock() is also an inline which falls back to _umtx_unlock() if the
uncontested unlock fails.
- Locks are keyed off of the thr_id_t of the currently running thread which
is currently just the pointer to the 'struct thread' in kernel.
- _umtx_lock() uses the proc pointer to synchronize access to blocked thread
queues which are stored in the first blocked thread.
2003-04-01 01:10:42 +00:00
Jeff Roberson
90e38817b7
- We now have to include umtx.h and ucontext.h in the system call related
...
headers.
2003-04-01 00:35:12 +00:00
Jeff Roberson
d4a63cb9c8
- Regen for thr related system calls.
2003-04-01 00:34:29 +00:00