Commit Graph

48453 Commits

Author SHA1 Message Date
thorpej 03746a443a bzero -> memset 2001-07-18 18:21:04 +00:00
kleink 0b2a6b7929 Prevent trad. cpp recursion; from Katsuomi Hamajima in PR kern/13479. 2001-07-18 17:29:53 +00:00
scw eef68ab123 In bus_dmamap_sync4060(), fold the POSTREAD case into the PREREAD case
where it belonged in the first place.
2001-07-18 17:21:49 +00:00
scw 6a9bccd130 Make absolutely sure page tables are not cacheable on 040/060 cpus.
(Not strictly required for the 040, but mandatory for the 060).
Also revamp cache enable/disable functions for the benefit of
bus_dmamem_map().
2001-07-18 17:18:53 +00:00
scw db111a0133 Restore FPU context properly on 68060-specific kernels... 2001-07-18 17:13:15 +00:00
thorpej cb6f78fe5d bcopy -> memcpy 2001-07-18 16:53:52 +00:00
mrg 5beff52e9c port this to sparc64. 2001-07-18 16:53:34 +00:00
thorpej c620771702 bzero -> memset 2001-07-18 16:51:39 +00:00
thorpej 05b5ee3074 bzero -> memset, bcopy -> memcpy 2001-07-18 16:50:27 +00:00
thorpej cbf41a143a bzero -> memset 2001-07-18 16:43:09 +00:00
rjs c1539a6ba2 Add Jazelle mode flag. 2001-07-18 16:31:17 +00:00
thorpej 682dacc0ca bzero -> memset 2001-07-18 16:12:31 +00:00
thorpej de6142b85a Slight tweak to previous; C requires a statement after a label. 2001-07-18 15:24:24 +00:00
itojun 8c9f492242 do not malloc() during interrupt context for IPv6 multicast kludge table.
malloc() during interface initialization.  sync with kame
2001-07-18 13:12:27 +00:00
onoe 2bc04d9140 revert 2 of 3 in previous commit.
empty default is needed to make gcc happy.
2001-07-18 10:39:28 +00:00
itojun fc35f336c7 sync with draft-ietf-ipngwg-p2p-pingpong-00.txt. apply special behavior
only if ip6_dst is "neighbor" within p2p prefix.  sync with kame
2001-07-18 09:24:26 +00:00
thorpej 1071f796f4 bcopy -> memcpy 2001-07-18 06:51:38 +00:00
thorpej f2f13262df bzero -> memset 2001-07-18 06:48:27 +00:00
thorpej 228b23427f bcmp -> memcmp 2001-07-18 06:46:46 +00:00
thorpej cf56c44a86 bzero -> memset 2001-07-18 06:45:33 +00:00
matt b499a7d558 Add -Wno-main since this is a standalone program. 2001-07-18 05:37:55 +00:00
thorpej 33d6023447 Unshare signal actions on exec.
From Matthew Orgass <darkstar@pgh.net>.
2001-07-18 05:34:58 +00:00
thorpej 35c5abaeff Unshare the file descriptor table and `cwdinfo' when we exec.
From Matthew Orgass <darkstar@pgh.net>.
2001-07-18 05:34:37 +00:00
simonb 19014d376c Modernise data and stack size limits. 2001-07-18 04:15:55 +00:00
onoe b7ff292c17 make it compilable:
fw_verbose, fw_dump -> fwdebug (DPRINTFN)
	add sc1394_ifsetiso into ieee1394_softc
2001-07-18 02:59:54 +00:00
onoe 69b6def907 Do not copy first keys into four key entries; the bug was introduced in 1.17 2001-07-18 02:06:44 +00:00
thorpej 17538b3790 Costmetic change. 2001-07-18 01:10:09 +00:00
matt 7fa8aeac6c When we auto size the vnode cache, make sure we do it *before* we
init vfs so it can the size into account when creating its hash lists.
This means that for a 2GB system, it'll have a default of 65536 buckets
instead of 2048 and when you have 200,000+ vnodes that makes a significant
difference.
2001-07-18 00:51:54 +00:00
thorpej 909084d90f Protect userland from the inlines and kernel variable decls. 2001-07-17 20:54:58 +00:00
martin 86774df023 Fix a slight bug introduced with revision 1.9 (IPv6 integration) where
the bit mask of open NCPs got out of sync.
Defer the (potential) closing of LCP after a NCP went down until after
the state machines got updated.

This fixes PR kern/11161.
2001-07-17 19:12:02 +00:00
jdolecek f9f0d49b94 comment police 2001-07-17 18:21:59 +00:00
jdolecek db3510e6f8 fix bogus uio->uio_offset check introduced in rev. 1.5, which effectively
disabled loans for writes (a.k.a "direct write"), oops; use uio->uio_resid
for the check instead

don't bother updating uio->uio_offset in pipe_direct_write(), it's not used
by upper layers anyway
2001-07-17 18:18:52 +00:00
mrg 5a49b0db15 remove empty default: cases. 2001-07-17 13:55:51 +00:00
mrg d23c8fc309 properly use ANSI string concatenation. 2001-07-17 13:55:12 +00:00
mrg ef38b7e874 fix a statementless label that gcc-current picked up. 2001-07-17 13:53:15 +00:00
mrg 6d1680019c use a shift instead of a divide. 2001-07-17 13:52:24 +00:00
tsubai e0cf8bfa8f Eject PCMCIA card on ohare based models only. 2001-07-17 12:33:45 +00:00
jdolecek 588b94c0a2 Expel MSG_COMPAT/COMPAT_OLDSOCK, make the COMPAT_43 wrappers
arrange things as needed.  Unfortunately, the check in sockargs()
have to stay, since 4.3BSD bind(2), connect(2) and sendto(2) were
not versioned at the time :(

This code was tested to pass regression tests.
2001-07-17 11:49:40 +00:00
haya 8a1cc19a9f New Feature: Add isochronous stream input routine. This feature has
been tested on i386.  It does not have any interface for useland to
get isochoronous stream.  The isochoronous acquisition interface
should be determined.
2001-07-17 11:01:03 +00:00
fvdl d68e2c3f12 Redefine evil tXXX register offset defines into the trapframe structure
to use offsetof. These should be completely nuked.

Fixes math_emulate lossage.
2001-07-17 08:13:06 +00:00
jdolecek 37d12500d5 only allocate buffer kva for the end which needs it 2001-07-17 06:05:28 +00:00
enami 5e40498018 Add missing counting up of ``socket buffer is full'' counter when
failed to sbappendaddr().
2001-07-17 02:44:00 +00:00
toshii e267c67b60 "infomation" -> "information" 2001-07-17 01:37:43 +00:00
hpeyerl 949c8eb434 "infomation" -> "information" 2001-07-16 22:01:38 +00:00
thorpej 3e1e8af07b Don't use pmap_changebit() in pmap_protect(), and remove the
pager mapping check from pmap_changebit().
2001-07-16 21:37:21 +00:00
thorpej aff311a28c Remove I-sync stuff from pmap_changebit(). The AARM says that we
only have to sync the I-stream when the mapping is removed or chaged,
and since the I-stream is fetch-only, changing protection bits does
not constitute changing the mapping (the VA->PA translation is still
the same).
2001-07-16 19:48:03 +00:00
eeh 76f0e59e40 Make bcopy a 32-bit friendly. 2001-07-16 18:59:33 +00:00
augustss cc0b3cc208 Add support for Pegasus II adapters (from Linux).
Add a bunch of adapters.
2001-07-16 18:33:13 +00:00
augustss 3daa873a7e Regen. 2001-07-16 18:31:19 +00:00
augustss fc8666f1da Some line permutations. 2001-07-16 18:31:00 +00:00