Marcel Moolenaar
76563bea53
Include the common <dev/ic/ns16550.h> instead of the private
...
<dev/uart_dev_ns8250.h>. The latter can be removed now.
2004-11-20 23:22:04 +00:00
Marcel Moolenaar
4f5d62fbc6
o Remove the com_thr, com_rhr, com_isr and com_lctl defines. They are
...
not used and aliases for other defines.
o Add REG_DATA as an alias for com_data. Likewise for other register
defines.
o Add LCR_SBREAK and make CFCR_SBREAK an alias for it. Likewise for
the other LCR register bits that are known with the CFCR prefix.
o Add MCR_IE and make MCR_IENABLE an alias for it.
o Add LSR_TEMT and make LSR_TSRE an alias for it.
o Add LSR_THRE and make LSR_TXRDY as alias for it.
o Add FCR_ENABLE and make FIFO_ENABLE as alias for it. Likewise for
the other FCR register bits that are known with the FIFO prefix.
o Add EFR_CTS and make EFR_AUTOCTS an alias for it.
o Add EFR_RTS and make EFR_AUTORTS an alias for it.
This is a first step in cleaning up the definitions in this file.
2004-11-20 23:19:42 +00:00
Marcel Moolenaar
165af6d313
o Remove opt_ddb.h from SRCS.
...
o Add opt_gdb.h and opt_kdb.h to SRCS.
2004-11-20 23:04:32 +00:00
David Schultz
6db36923ad
Remove local definitions of RANGEOF() and use __rangeof() instead.
...
Also remove a few bogus casts.
2004-11-20 23:00:59 +00:00
Olivier Houchard
7b90b2998e
Remove useless code.
2004-11-20 16:52:30 +00:00
Olivier Houchard
3488a2f7d9
Implement enough to be able to enter and leave DDB.
2004-11-20 16:52:10 +00:00
Olivier Houchard
579d53f4cf
Get the kernel stack right now that the u-area is gone.
2004-11-20 16:51:32 +00:00
Xin LI
e6f9d4b6de
Forced commit to clarify that the last commit has enforced a
...
more strict check against PPP packets, but does not involve
a DoS vulnerability.
The ``DoS Vulnerability'' in last commit message (rev. 1.5) is
actually a false positive, because pppd(8) will fork for every
connection and thus the issue closed in rev. 1.5 will not block
subsequent connections, nor affect connections of other users.
Pointed out by: josef
2004-11-20 15:49:29 +00:00
Max Khon
9595dba40d
Use M_ZERO to not panic in mtx_init when INVARIANTS enabled.
...
Submitted by: simokawa
MFC after: 1 week
2004-11-20 13:10:04 +00:00
Marcel Moolenaar
268597acfe
Sort MFILES.
2004-11-20 06:09:11 +00:00
Christian Brueffer
13690f3b2f
The ixgb(4) driver actually first appeared in 5.3 (was merged to RELENG_4
...
after 4.10).
MFC after: 3 days
2004-11-20 03:10:35 +00:00
Christian Brueffer
dcc28a83c3
Autogenerate device listings for hptmv(4)
2004-11-20 02:46:02 +00:00
Christian Brueffer
2fbc89951e
Add hptmv(4)
2004-11-20 02:44:47 +00:00
Christian Brueffer
13584ccbaf
Small correction in the HISTORY section:
...
The hptmv driver appeared in 5.3, not 5.4.
MFC after: 3 days
2004-11-20 02:43:10 +00:00
David Schultz
d567bd70be
Remove the declaration of uarea_pages.
...
Reviewed by: arch@
2004-11-20 02:33:05 +00:00
David Schultz
920cb0c946
Remove the p_uarea and p_upages_obj fields from struct proc.
...
Prototype new routines to allocate, copy, and free pstats.
Reviewed by: arch@
2004-11-20 02:32:50 +00:00
David Schultz
626ff2081f
Remove the uarea column from the DDB 'ps' display, and from grog's gdb
...
scripts.
Reviewed by: arch@
2004-11-20 02:32:42 +00:00
David Schultz
b99d6e6f6f
Update the comment about what NO_SWAPPING does.
...
Reviewed by: arch@
2004-11-20 02:32:15 +00:00
David Schultz
0ef5c36ff1
Maintain the broken state of backwards compatibilty for a.out (and
...
PECOFF!) core dumps. None of the old versions of gdb I tried were
able to read a.out core dumps before or after this change.
Reviewed by: arch@
2004-11-20 02:32:04 +00:00
David Schultz
75b5bcbad6
We don't do U area swapping anymore, so update some comments. Also,
...
prototype the new routine that creates a mock U area for a.out core
dumps.
Reviewed by: arch@
2004-11-20 02:31:46 +00:00
David Schultz
d305a6da98
Remove UAREA_PAGES and USPACE definitions. The definitions of
...
USPACE_SVC_STACK_TOP, USPACE_SVC_STACK_BOTTOM, USPACE_UNDEF_STACK_TOP,
and USPACE_UNDEF_STACK_BOTTOM look wrong to me, so I'm leaving them
alone.
Reviewed by: arch@
2004-11-20 02:31:37 +00:00
David Schultz
837f4b104e
Remove some references to U area here while trying not to break
...
anything. Someone with ARM hardware could do a lot more to untangle
this code.
Reviewed by: arch@
2004-11-20 02:31:23 +00:00
David Schultz
6484fde022
Remove references to U area and garbage collect includes.
...
Reviewed by: arch@
2004-11-20 02:30:59 +00:00
David Schultz
6661339b82
gcore(1) apparently still cares about a.out core dumps, so it still
...
needs to know that a 1-page U area is part of the dump format.
Reviewed by: arch@
2004-11-20 02:30:02 +00:00
David Schultz
ab44ebf537
Remove UAREA_PAGES.
...
Reviewed by: arch@
2004-11-20 02:29:50 +00:00
David Schultz
449835405d
U areas are going away, so don't allocate them. It's worrisome that
...
mp_machdep.c was using UAREA_PAGES to allocate something that isn't a
U area, and that there seems to be an implicit assumption that the PCB
is just past the end of the kernel stack.
Reviewed by: arch@
2004-11-20 02:29:36 +00:00
David Schultz
11111b709f
U areas are going away, so don't allocate one for process 0.
...
Reviewed by: arch@
2004-11-20 02:29:25 +00:00
David Schultz
9799b417d5
Disable U area swapping and remove the routines that create, destroy,
...
copy, and swap U areas.
Reviewed by: arch@
2004-11-20 02:29:00 +00:00
David Schultz
8b059651ba
Malloc p_stats instead of putting it in the U area. We should consider
...
simply embedding it in struct proc.
Reviewed by: arch@
2004-11-20 02:28:48 +00:00
David Schultz
7a62aa8a18
In preparation to remove U areas, don't refer to p_uarea in libkvm.
...
Reviewed by: arch@
2004-11-20 02:28:26 +00:00
David Schultz
ff3fd2e764
user.h is included only to get pcb.h, so use the latter directly instead.
2004-11-20 02:28:14 +00:00
Joseph Koshy
0252ce1723
Bring signal(9) in sync with -current.
...
Reviewed by: ru (mdoc changes)
2004-11-20 02:11:42 +00:00
Olivier Houchard
a8a2a16a08
Increase cnt.v_syscall and cnt.v_trap when needed.
2004-11-20 00:55:57 +00:00
Ruslan Ermilov
0fba60818b
Do not emit a spurious warning when "directory" argument
...
to "rmdir -p" is absolute, with one or more leading slash.
2004-11-20 00:41:08 +00:00
Ruslan Ermilov
d4af5f3250
Fixed "rmdir -p" that got broken by rev. 1.15.
...
(This also fixes "rmdir -v /nonexistent".)
2004-11-20 00:12:08 +00:00
Gleb Smirnoff
654ec77877
Remove unused macro.
...
Approved by: julian (mentor)
2004-11-19 22:35:53 +00:00
Bjoern A. Zeeb
5336906fe3
Document NO_NIS variable.
...
Submitted by: Pawel Worach <pawel dot worach at telia dot com>
Approved by: rwatson (mentor)
MFC after: 1 week
2004-11-19 22:23:57 +00:00
Gleb Smirnoff
92947dc698
Cancel pending timeout before scheduling a new one. This fixes
...
item leak, I've introduced with previous change.
Approved by: julian (mentor)
2004-11-19 20:23:46 +00:00
Maksim Yevmenkin
bb50f99e30
Correct typo. Return ENXIO instead of EIO.
2004-11-19 18:54:54 +00:00
David E. O'Brien
6bdbe99c0d
Man page for the HighPoint RocketRAID 182x driver.
...
Forgotten by: scottl
2004-11-19 18:24:51 +00:00
Scott Long
5932596e0d
Revert part of rev 1.57. The tag boundary is honored by splitting the
...
segment, not by bouncing.
2004-11-19 17:56:22 +00:00
Scott Long
e835255791
Revert part of rev 1.56. Tag boundaries are handled by splitting segments,
...
not through bouncing.
2004-11-19 17:51:29 +00:00
David E. O'Brien
21fc3b7b6a
Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
2004-11-19 17:31:31 +00:00
David E. O'Brien
671e1584d6
Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
2004-11-19 17:12:56 +00:00
Christian S.J. Peron
d8654c644a
Use statfs instead of getmntinfo(). This will make the procfs checks
...
play nicer in prisons. It also simplifies things.
Reviewed by: rwatson
Bumped into by: Jilles Tjoelker
2004-11-19 16:11:54 +00:00
Simon L. B. Nielsen
cd77596356
- Fix typo in portaudit reference.
...
- Bump document date for last commit.
Pointed out by: ceri, ru
Pointy hat to: simon
2004-11-19 11:44:26 +00:00
David E. O'Brien
8e6acec2ef
Install the header for libmagic.
...
PR: 73647
Submitted by: Uranus <uranus@it.muds.net>
2004-11-19 04:04:14 +00:00
David E. O'Brien
37c510c7c0
Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
...
PR: 73879
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-19 03:56:47 +00:00
David E. O'Brien
ddede49cfd
Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].
...
PR: 73878
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-19 03:53:36 +00:00
David E. O'Brien
36d4953214
Make logic more readable.
2004-11-19 03:52:41 +00:00