David Xu
450c38d016
Set kse mailbox pointer to NULL when P_KSES is turned off.
2003-01-04 05:59:25 +00:00
Marcel Moolenaar
dd778c94bf
Make this build and sync-up:
...
o Add COMPAT_FREEBSD4
o Remove NO_GEOM
o Remove commented out options.
2003-01-03 23:10:47 +00:00
Julian Elischer
a98c9b8604
White space fixes
2003-01-03 20:55:52 +00:00
Julian Elischer
03ea472080
Make an explicit flag to indicate that a KSE has a reason to upcall,
...
and use that flag when there is a kse_wakeup() call. It will probably
be used with signal delivery as well eventually.
Submitted by: davidxu@
2003-01-03 20:41:49 +00:00
Julian Elischer
3f5f24287f
Don't need to set retvals to 0 in the non error case. They
...
are set to a good default anyhow.
Submitted by: davidxu@
2003-01-03 19:38:54 +00:00
Alan Cox
5440b5a974
Refine the assertion in vm_object_clear_flag() to allow operation on the
...
kmem_object without Giant. In that case, assert that the kmem_object's
mutex is held.
2003-01-03 19:19:08 +00:00
Poul-Henning Kamp
d6b3a1df18
Revert use of dmmax_mask, I had overlooked a '~'.
...
Spotted by: bde
2003-01-03 19:16:48 +00:00
John Baldwin
bb69b35d8d
Document bit 31 of the cpuid features word as PBE (Pending Break Enable).
2003-01-03 18:54:59 +00:00
Poul-Henning Kamp
42c43e6031
Make struct swblock kernel only, to make vm/swap_pager.h userland includable.
...
Move struct swdevt from sys/conf.h to the more appropriate vm/swap_pager.h.
Adjust #include use in libkvm and pstat(8) to match.
2003-01-03 16:23:12 +00:00
Poul-Henning Kamp
c410df597b
Avoid extern decls in .c files by putting them in the vm/swap_pager.h
...
include file where they belong.
Share the dmmax_mask variable.
2003-01-03 14:30:46 +00:00
Poul-Henning Kamp
3ccbf2d533
Use correct _VM_SWAP_PAGER_H_ to check for multiple inclusion.
2003-01-03 14:22:52 +00:00
Poul-Henning Kamp
69fd75d094
Retire sys/dmap.h by including the two lines of it which matters
...
directly in vm/vm_swap.c.
2003-01-03 09:55:05 +00:00
Alan Cox
a6864937e2
Lock the vm object when performing vm_object_clear_flag().
2003-01-03 09:15:43 +00:00
Poul-Henning Kamp
f05f44f0f2
Remove CCDF_SWAP and CCDF_PARITY, they have never been implemented.
2003-01-03 08:57:40 +00:00
Yoshihiro Takahashi
05f0a5a323
MFMBR: Add ioctls for writing an IPL and a boot menu.
2003-01-03 07:13:36 +00:00
Yoshihiro Takahashi
f61e88f901
Merged from sys/isa/fd.c revision 1.243.
2003-01-03 06:40:54 +00:00
Poul-Henning Kamp
862702306b
Convert calls to BUF_STRATEGY to VOP_STRATEGY calls. This is a no-op since
...
all BUF_STRATEGY did in the first place was call VOP_STRATEGY.
2003-01-03 06:32:15 +00:00
Sam Leffler
51e45326ca
manage kernel threads properly; especially shutting them down on module unload
...
Reviewed by: jhb
2003-01-03 06:23:46 +00:00
Sam Leffler
7d1853ee0e
MFS: crypto timing support; purge usercrypto sysctl (just don't config
...
cryptodev or kldunload cryptodev module); crypto statistcs; remove
unused alloctype field from crypto op to offset addition of the
performance time stamp
Supported by: Vernier Networks
2003-01-03 06:16:59 +00:00
Poul-Henning Kamp
e2a3ea1c45
Remove unused second argument from DEV_STRATEGY().
2003-01-03 05:57:35 +00:00
Alan Cox
49247edca6
Add vm map and vm object locking to vmtotal().
2003-01-03 05:52:02 +00:00
Poul-Henning Kamp
d616ee081f
Remove unused second argument from BIO_STRATEGY()
2003-01-03 05:51:11 +00:00
Bernd Walter
fcab1602ae
Approved by: gallatin (mentor)
...
Sync with i386.
Don't write crashdumps outside partition boundaries.
2003-01-03 00:19:54 +00:00
Andrew Gallatin
1f88bad30a
o Introduce a new external mbuf type, EXT_EXTREF.
...
o Allow callers of m_extadd() to allocate their own reference
m_ext.ref_cnt pointer, rather than having the mbuf system allocate it
with a malloc() in the critical path. This speeds m_extadd() up, and
also simplifies locking (malloc() may need Giant).
A driver or subsystem wishing to take use its own ref counter must
initialize m_ext.ref_cnt to point to its ref counter prior to
calling m_extadd(), and it must use EXT_EXTREF as its external type.
Eg:
m->m_ext.ref_cnt = my_ref_cnt_ptr;
m_extadd(.....,EXT_EXTREF);
Reviewed by: bosko
2003-01-02 21:16:50 +00:00
Poul-Henning Kamp
acb161b16f
Optimize the size of the work-items by letting the mapping function
...
decide the largest size which stays inside the zone and does not
collide with a lock sector.
2003-01-02 19:29:49 +00:00
Jake Burkholder
777cc88b9d
- This damnable chip only has 1 status register for both ports, so the bit
...
positions for the status bits of port a and port b are different. To
avoid needing to know which channel the interrupt handler is working on,
shift the status bits for port a into the port b bit positions, and always
check the port b status bits. This fixes using port b, which I neglected
to test before.
- Remember to update the channel's tty structure from the passed in termios
in the param routine.
- Minor style.
2003-01-02 19:04:35 +00:00
Alan Cox
49bf855d20
Lock the vm object when performing back-to-back vm_object_clear_flag() and
...
vm_object_set_flag().
2003-01-02 18:32:13 +00:00
Poul-Henning Kamp
105df8c3d7
Update si_bsize_phys on open.
...
MFC candidate.
2003-01-02 09:38:22 +00:00
Alan Cox
81e4e48d24
Lock the vm object when performing vm_object_clear_flag().
2003-01-02 09:09:27 +00:00
Warner Losh
3225a9881d
Update to correct NetBSD Id
2003-01-02 04:22:44 +00:00
Matt Jacob
76514802bd
Make compiles (LINT and/or ISP_TARGET_MODE options) happier by making sure
...
printf type format args and actual args match.
Reviewed by: Sam Leffler <sam@errno.com>
2003-01-02 04:21:52 +00:00
Warner Losh
d77b690ff6
Sync to 1.104 of usbdevs
2003-01-02 04:21:38 +00:00
Warner Losh
cb33fc95b9
Add NEODIO TURBOCONNECT (from NetBSD)
2003-01-02 04:21:04 +00:00
Warner Losh
1732632481
MFNetBSD through 1.42 (to be committed in a moment by me).
...
o Whitespace nits
o NEODIO added
2003-01-02 04:15:55 +00:00
David Xu
42f67bd752
Adjust code for Julian's last commit. use td_mailbox to detect if
...
a syscall is from UTS kernel.
2003-01-02 02:48:03 +00:00
Alexander Kabaev
851d388443
Do not print the value of sc pointer before is has been ininialized.
2003-01-02 02:46:13 +00:00
Alexander Kabaev
64fe778489
Create debug sysctl nodes if USB_DEBUG is defined.
...
UBSA_DEBUG is inconsistent with other drivers.
2003-01-02 02:38:57 +00:00
Alfred Perlstein
e15583ce20
Add function linux_msg() for regulating output from the linux emulation
...
code, make the emulator use it.
Rename unsupported_msg() to unimplemented_syscall(). Rename some arguments
for clarity
Fixup grammar.
Requested by: bde
2003-01-02 02:19:10 +00:00
Warner Losh
82e10e2428
It appears that the SANYO SCP-4900 needs similar quirks to the
...
Metricom Ricochet GS modem. Add them here.
# A new umodem appears to be needed to make the sanyo phone work, but that's
# more extensive and will come after coordination.
2003-01-01 20:21:48 +00:00
Warner Losh
4dac02c8db
Sync to usbdevs 1.103
2003-01-01 20:18:58 +00:00
Warner Losh
4cce0eba8d
Add Sanyo SCP-4900 phone. It needs quirks.
2003-01-01 20:18:15 +00:00
Warner Losh
f56d03c008
Now that we've 'branched' 5.0, desupport FreeBSD 3.x in this driver. It
...
appears that NetBSD has already done this in their tree.
2003-01-01 20:15:42 +00:00
Jake Burkholder
75db2b5e27
Add a driver for the Zilog 8530 dual uart found in Ultra 1s and Ultra 2s.
...
With a 1 byte transmit fifo, 3 byte receive fifo, and wierd multiplexed I/O
designed for a Z80 cpu, this chip redefines suckage.
Based on the openbsd and netbsd drivers. Only really works as a console,
modem support is not complete since I can't test it.
2003-01-01 19:49:30 +00:00
Alan Cox
d61e1287a4
Update the assertions in vm_page_insert() and vm_page_lookup() to reflect
...
locking of the kmem_object.
2003-01-01 19:45:36 +00:00
Jens Schweikhardt
9d5abbddbf
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
Warner Losh
eb067f08f0
Happy 2003.
2003-01-01 13:31:12 +00:00
Hidetoshi Shimokawa
d0fd7bc6b5
Experimental support for suspend/resume, not finished yet.
2003-01-01 08:25:32 +00:00
Hidetoshi Shimokawa
6faac3ac96
Reduce debug message.
2003-01-01 08:22:29 +00:00
Hidetoshi Shimokawa
1f2361f8f8
- Retry phy access when the wait-loop count is exhausted.
...
- Free allocated memory when detaching.
- Detect contigmalloc failure.
2003-01-01 04:23:54 +00:00
Warner Losh
62c8b32c71
Use 0600 for permissions for /dev/devctl until it is cloneable.
...
Use UID_ROOT and GID_WHEEL rather than 0.
Prompted by: rwatson
2003-01-01 03:43:58 +00:00