dillon
3e06b51f19
Tab-out the backslashes in icu_vector.s to make it more readable and to
...
match it up with apic_vector.s.
2002-03-27 05:43:11 +00:00
dillon
dc5aafeb94
Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt
...
disablement assumptions in kern_fork.c by adding another API call,
cpu_critical_fork_exit(). Cleanup the td_savecrit field by moving it
from MI to MD. Temporarily move cpu_critical*() from <arch>/include/cpufunc.h
to <arch>/<arch>/critical.c (stage-2 will clean this up).
Implement interrupt deferral for i386 that allows interrupts to remain
enabled inside critical sections. This also fixes an IPI interlock bug,
and requires uses of icu_lock to be enclosed in a true interrupt disablement.
This is the stage-1 commit. Stage-2 will occur after stage-1 has stabilized,
and will move cpu_critical*() into its own header file(s) + other things.
This commit may break non-i386 architectures in trivial ways. This should
be temporary.
Reviewed by: core
Approved by: core
2002-03-27 05:39:23 +00:00
bde
cd522c5374
"Fixed" -Wshadow warnings by changing the name of some function parameters
...
from `index' to `indx'. The correct fix would be to not support or use
index().
2002-03-27 04:04:17 +00:00
bde
d936820ebc
Fixed -Wshadow warnings by renaming ttysleep()'s `timeout' parameter to
...
`timo'. This also makes the parameter name in the prototype the same as
in the function.
2002-03-27 03:52:04 +00:00
marcel
4543f25906
o Revert previous commit in asm.h. There's no need to undefine
...
__FBSDID first, because it should not be defined at all,
o Remove inclusion of cdefs.h in locore.s.
Pointed out by: peter
2002-03-27 02:20:09 +00:00
phk
aeded84143
Eliminate some thread pointers which do not make sense anymore.
...
Split private parts of geom.h into geom_int.h. The latter should
never be included in class implemtations.
2002-03-26 22:07:38 +00:00
phk
1af8cfb2f2
Cave in to tradition and rename "methods" to "classes".
2002-03-26 21:40:06 +00:00
dfr
3bf8ca0614
Initialise the AS4100 console at the same time as most of the other
...
platform types instead of deferring it until the mcpcia devices are
probed. This allows the use of e.g. kgdb before the busses are probed.
2002-03-26 19:46:40 +00:00
phk
5785423ddf
Uncomment GEOM in LINT
2002-03-26 19:39:32 +00:00
alc
0afabfc8b7
Remove an unnecessary and inconsistently used variable from exec_new_vmspace().
2002-03-26 19:20:04 +00:00
phk
3d1eaf5230
Push BIO_FORMAT into a local hack inside the floppy drivers where
...
it belongs.
2002-03-26 19:16:37 +00:00
arr
da9c75ac68
- Fixup a few style nits:
...
- return error -> return (error);
- move a declaration to the top of the function.
- become bug for bug compatible with if (error) lines.
Submitted by: bde
2002-03-26 18:07:10 +00:00
jhb
6d47f88e6c
Use suser() instead of checking cr_uid against 0 directly.
2002-03-26 18:01:38 +00:00
mux
177e1edc7c
Commit the good prototype for nmount(2).
...
Reviewed by: phk
2002-03-26 16:32:46 +00:00
mux
124c6d3a26
As discussed in -arch, add the new nmount(2) system call and the
...
new vfs_getopt()/vfs_copyopt() API. This is intended to be used
later, when there will be filesystems implementing the VFS_NMOUNT
operation. The mount(2) system call will disappear when all
filesystems will be converted to the new API. Documentation will
be committed in a while.
Reviewed by: phk
2002-03-26 15:33:44 +00:00
hm
25f947ea14
Add support for Q.931 subaddresses.
...
Submitted by: Steven Looman <fsteevie@wish.net>
2002-03-26 15:13:54 +00:00
ru
b9068a7915
We don't need ip_ipsec_pxy.c in userland.
2002-03-26 13:42:09 +00:00
bde
8362010d33
Removed some namespace pollution (unnecessary nested includes).
2002-03-26 12:40:48 +00:00
sos
cf912d2e7a
Misc little cleanups.
2002-03-26 09:31:22 +00:00
phk
dc0ef86560
Forgot one more instance of my old email address.
2002-03-26 08:29:40 +00:00
alc
b72a6f7081
Remove an unused prototype.
2002-03-26 05:30:59 +00:00
obrien
de491c5117
Get the guarding right. The IA-64 has a different organization for this
...
than our other platforms.
2002-03-26 02:59:00 +00:00
bde
4941686e50
Added used include of <sys/sx.h>. Don't depend on namespace pollution in
...
<sys/file.h>.
2002-03-26 01:09:51 +00:00
bde
05400f476f
Added used include of <sys/sx.h>. Don't depend on namespace pollution in
...
<sys/file.h> or <sys/socketvar.h>.
2002-03-25 21:52:04 +00:00
obrien
1e153b6d04
Commit work-around for panics when mounting FS's that are auto-loaded as
...
modules (ie. procfs.ko).
When the kernel loads dynamic filesystem module, it looks for any of the
VOP operations specified by the new filesystem that have not been registered
already by the currently known filesystems. If any of such operations exist,
vfs_add_vnops function calls vfs_opv_recalc function, which rebuilds vop_t
vectors for each filesystem and sets all global pointers like ufs_vnops_p,
devfs_specop_p, etc to the new values and then frees the old pointers. This
behavior is bad because there might be already active vnodes whose v_op fields
will be left pointing to the random garbage, leading to inevitable crash soon.
Submitted by: Alexander Kabaev <ak03@gte.com>
2002-03-25 21:30:50 +00:00
nsouch
ecc9a88e1e
Fix bktr and pcf compilation with LINT
2002-03-25 21:22:35 +00:00
obrien
6815d64f4f
Only use POSIX Awk features.
2002-03-25 20:32:24 +00:00
arr
db4f882c76
- Recommit the securelevel_gt() calls removed by commits rev. 1.84 of
...
kern_linker.c and rev. 1.237 of vfs_syscalls.c since these are not the
source of the recent panics occuring around kldloading file system
support modules.
Requested by: rwatson
2002-03-25 18:26:34 +00:00
phk
811d04c86c
Modernize my email address.
2002-03-25 13:52:45 +00:00
nyan
5beeede622
Merged from sys/dev/sio/sio.c revisions 1.366 and 1.369.
2002-03-25 13:41:06 +00:00
nyan
6ca94509e4
Merged from sys/dev/syscons/syscons.c revision 1.379.
2002-03-25 13:34:37 +00:00
nyan
a0a7036a32
MFi386: revision 1.396
2002-03-25 13:03:14 +00:00
nyan
1a251b4481
Fix style.
2002-03-25 12:44:03 +00:00
ume
31c9c349f8
Corrected arguments to key_allocsa called from
...
{esp6, ah6}_ctlinput. Previous ones were uninitialized
auto variables, which were completely bogus.
Obtained from: KAME
MFC after: 1 week
2002-03-25 10:46:24 +00:00
ume
37ae60983d
3rd arg to bcmp() was wrong. From: David Wang <dsw@juniper.net>
...
Obtained from: KAME
MFC after: 1 week
2002-03-25 10:12:51 +00:00
mike
582c3c2fe1
Include <machine/limits.h> for definition of ULONG_MAX. Remove a
...
duplicate include.
2002-03-25 09:23:41 +00:00
mike
63d711b4d6
Include <machine/limits.h> for definition of ULONG_MAX.
2002-03-25 09:21:45 +00:00
obrien
d2961e7056
Fix kernel build.
2002-03-25 08:02:54 +00:00
tmm
bd8de5c3a5
Add kern/syscalls.c, which is needed for some KTR traces in trap.c.
2002-03-25 05:01:05 +00:00
tmm
583691785f
Add missing includes for the KTRACE case.
2002-03-25 04:54:19 +00:00
tmm
b562cca381
Add missing declarations.
2002-03-25 04:53:18 +00:00
tmm
2cd706e7dc
Make this compile (submitted by jake), add a missing include.
2002-03-25 04:38:48 +00:00
tmm
ed02ae39ee
Remove second copy of iommu_decode_fault() which I accidentially added.
...
Pointy hat to: tmm
2002-03-25 04:34:52 +00:00
obrien
3465b70296
Remove a FMT that was buried in here.
...
I have no idea why the original committer even used it (in its KERNFORMAT
spelling) as there is no a.out version.
2002-03-25 03:27:09 +00:00
brooks
f9ddb022b3
Remote newly unused variable to unbreak LINT.
...
Pointy hat to: amorita
2002-03-25 02:55:34 +00:00
obrien
97d5f630ad
Remove the setting of 'FMT'. We now do ELF by default, so only bother
...
to increase the lenght of the command line if needed. The setting of FMT
also gets in the cross bootstrapping way for new platforms.
2002-03-24 17:45:46 +00:00
obrien
5db6e5fbad
MFP4. This slipped into a IFC(MFC) by PHK, but it could still be useful
...
To commit it for real.
2002-03-24 17:42:06 +00:00
wilko
1a41ff2f8b
plip has produced an error during attach on Alpha as long as I care
...
to remember. Nobody in the right sense of their mind would run IP on
the parallel port on Alpha so comment this one out.
2002-03-24 14:35:20 +00:00
phk
7f990ca62c
Make the BSD method width/endian agnostic and support alpha
...
architecture labels as well.
Sponsored by: DARPA, NAI Labs.
2002-03-24 14:27:31 +00:00
sos
87ccc1e6f1
Add AMD 768 support.
2002-03-24 12:44:23 +00:00