Commit Graph

119462 Commits

Author SHA1 Message Date
enami
935b3c7ad5 Make this file compile again when TCP_OUTPUT_COUNTERS defined. 2003-10-24 03:12:53 +00:00
kleink
712c8de209 * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
  platforms where `long double' == `double'; move others into
  machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
2003-10-24 00:58:01 +00:00
yamt
3f32c6ab70 don't use NULL as vaddr_t. 2003-10-24 00:53:43 +00:00
mycroft
a480189bf8 Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere. In lieu of
it, add a class/subclass check to drivers that do not (appear) to have a unique
ID for the IDE controller.  This includes aceride, cypide and optiide.
2003-10-24 00:24:15 +00:00
lukem
8be7e53735 Add MDSET_NOSTRIP and MDSET_NOSYMBOLS; global versions of the "per ${FILE}"
equivalents that currently exist.
2003-10-24 00:11:24 +00:00
mycroft
ef51dc08fc NULL -> 0 2003-10-23 23:52:16 +00:00
kleink
56062be225 Make ieee_ext match reality, and add a note about its ABI-specific
tail padding.
2003-10-23 23:28:29 +00:00
kleink
422697679e * Move the definitions for types other than single-precision and double-
precision back to machine-dependent headers.  C99 has no strict
  requirement which, if any, extended-precision type `long double' must
  match, and even between 80-bit formats there are differences in
  implementation (m68k vs. x86).
* On arm, consider __VFP_FP__.
2003-10-23 23:26:06 +00:00
mycroft
56e88d0d24 NULL -> 0 2003-10-23 23:25:39 +00:00
kleink
7caede41fb Oops, s/DECIMAL_DIGIT/DECIMAL_DIG/. 2003-10-23 23:16:50 +00:00
hubertf
49756bfb27 Document which error vflush may return. Saves some code-reading... 2003-10-23 22:30:47 +00:00
cube
926567478a Allow using '+=number' (resp. -=number) to produce the same effect as
several '++' (resp. '--'). Suggested by David Brownlee in tech-kern.
2003-10-23 22:17:58 +00:00
he
f9e944d1a0 While the intention of picking up the target's include files was fine,
those files are not available in certain phases in the build process,
notably the "obj" phase, so unconditionally decend into siginfo during
that pass.  This should make read-only source trees build again when
cross-compiling for a target supporting siginfo on a host not supporting
siginfo.
2003-10-23 21:59:35 +00:00
mycroft
5a8b331f54 Remove all the code to maintain ia_inpcbs. This information was only used to
close sockets on address changes, which was deemed to be a bad idea and was
summarily removed, so there is no point in wasting effort on maintaining it
any more.
2003-10-23 20:55:08 +00:00
scw
2ffebceb85 Duh, fix the align-to-32-bits code. 2003-10-23 20:46:40 +00:00
fvdl
d85a7f8656 Need the NOCRC bit, or my 5704B5 will start acting up. 2003-10-23 20:36:36 +00:00
he
db957f1a5a Correct a few more instances where NULL was used in an integral context. 2003-10-23 20:25:40 +00:00
jmc
0c336c7f37 Move include for reentrant.h inside CONFIG_H test so this works correctly
with tools/compat. Fixes PR#21344
2003-10-23 20:06:16 +00:00
he
441d9ba0ce bus_addr_t on MIPS is integral, so use 0 instead of NULL. 2003-10-23 19:55:14 +00:00
bouyer
e0f02bb281 If we found a compat channel disabled, unmap the registers. There may be
an ISA IDE adapter at the same address.
2003-10-23 19:29:35 +00:00
cl
89ca05e5e9 Fix NULL change lossage. 2003-10-23 18:56:49 +00:00
fvdl
b9d0173421 Call check_mcontext to validate a register set passed in by ptrace. 2003-10-23 17:45:14 +00:00
fvdl
4df6c69646 * match more cards (from FreeBSD)
* don't set the NOCRC bit in the mode control register, it can cause
  problems on some chips (from the broadcom errata via FreeBSD)
* implement a fallback quirktable that is searched only using the
  major asic revision, so that the driver has a shot at supporting
  newer versions properly without modification
* rename asicrev -> chipid, like the FreeBSD driver
2003-10-23 17:41:59 +00:00
kent
5286b24afb Change the short names of nForce:
nForce-MCP -> nForce
 nForce-MCP-T -> nForce2
 nForce-MCP-T -> nForce3

Use snprintf() and strlcpy() instead of sprintf() and strcpy().
2003-10-23 17:14:54 +00:00
kent
3afd3b3671 - remove unused code
- print diagnostic messages if the primary codec does not get ready in
auich_reset_codec().
2003-10-23 17:05:26 +00:00
thorpej
e8a98ee63e Oops, FAST_MBSEARCH counters were swapped; fix it. Pointed out by yamt@. 2003-10-23 17:02:23 +00:00
kleink
e015c8ea64 Account separately for the explicit integer bit in extended-precision
format, due to its role in denormal representation; inspired by communication
with Charles Hannum.
2003-10-23 16:57:20 +00:00
he
31cd1c23b7 More fallout from the NULL change:
If we HAVE_STRING_H, include it to bring strchr() prototype in scope.
2003-10-23 16:12:45 +00:00
fvdl
142de57c80 Regen. 2003-10-23 16:02:09 +00:00
jmc
89996408fa Fixes from PR#23210 to eliminate use of asprintf which makes cross building
on non-NetBSD hosts work again
2003-10-23 15:58:29 +00:00
fvdl
ef2ab367bd Add a few more broadcom 57xx ids. From FreeBSD. 2003-10-23 15:54:13 +00:00
kleink
c51a4365e2 While I'm here, retire the FPE code's own copy of ieee.h. 2003-10-23 15:07:30 +00:00
he
91d100ed41 The paddr_t type is integral, so no longer compatible with NULL,
so use 0 instead.
2003-10-23 15:06:26 +00:00
kleink
d216ee1de2 Make struct ieee_ext actually match the layout of m68k extended-precision. 2003-10-23 15:04:00 +00:00
scw
1fdc9cd5a1 Add a defflag for __BUS_SPACE_HAS_STREAM_METHODS, and add the
appropriate glue in bus.h, contingent on the option being defined.

This allows stream methods to be available on a port-by-port basis.
2003-10-23 15:03:24 +00:00
mycroft
0965dd2ada Recognize ESS1879. 2003-10-23 14:28:55 +00:00
fvdl
b4c1912d80 * match the nForce3 controller
* search the whole current PCI bus for the VIA bridge, can't rely on
  it to be function 0 of the same device
2003-10-23 14:27:09 +00:00
kleink
8a1a0686ad No need for multiple-inclusion protection in these. 2003-10-23 13:02:52 +00:00
ragge
c4690aa593 Set snd queue size to max(WM_IFQUEUELEN, IFQ_MAXLEN), instead of hard to
WM_IFQUEUELEN.
2003-10-23 12:53:02 +00:00
scw
9552c65898 - Make the compile-time selection of ixdp425 vs. zao425 actually work.
- Flesh out cpu_reboot() to jump to Redboot via cpu_reset().
   (See XXX comment in code regarding a problem with this).
2003-10-23 10:50:01 +00:00
ragge
7058b828e4 Fix NULL change lossage. 2003-10-23 10:05:53 +00:00
seb
e8b3aed4d7 Update version reported by gcc -dumpversion: it is now `3.3.2-nb1'
not `3.3.1' as before and neither `3.3.2'.

Approved by mrg@.
2003-10-23 09:59:25 +00:00
scw
41e7743573 Map the expansion bus registers. 2003-10-23 09:32:17 +00:00
scw
0df102009a Add a few more register definitions. 2003-10-23 09:29:36 +00:00
scw
3a414f559e Use pmap_enter() instead of pmap_kenter_pa() as the former automatically
ensures the mapping is cache-inhibited, so we don't have to frob the PTE
directly.
2003-10-23 09:25:44 +00:00
scw
0fd0c83111 A few minor tweaks to the onfault handlers.
Save some instructions in the non-fault return path.
2003-10-23 09:11:35 +00:00
jdolecek
484efd5a29 g/c PARTITIONSHIFT (not used anywhere) and set MAXPARTITIONS directly to 8 2003-10-23 09:02:26 +00:00
jdolecek
d4312c20e8 g/c PARTITIONMASK, it's not used anywhere anymore 2003-10-23 09:01:44 +00:00
scw
52c15bbd20 Don't drop to spl0 in cpu_switch/cpu_switchto. Do it in the idle loop
instead.

With this change, we no longer need to save the current interrupt level
in the switchframe. This is no great loss since both cpu_switch and
cpu_switchto are always called at splsched, so the process' spl is
effectively saved somewhere in the callstack.

This fixes an evbarm problem reported by Allen Briggs:

        lwp gets into sa_switch -> mi_switch with newl != NULL
            when it's the last element on the runqueue, so it
            hits the second bit of:
                if (newl == NULL) {
                        retval = cpu_switch(l, NULL);
                } else {
                        remrunqueue(newl);
                        cpu_switchto(l, newl);
                        retval = 0;
                }

        mi_switch calls remrunqueue() and cpu_switchto()

        cpu_switchto unlocks the sched lock
        cpu_switchto drops CPU priority
        softclock is received
        schedcpu is called from softclock
        schedcpu hits the first if () {} block here:
                if (l->l_priority >= PUSER) {
                        if (l->l_stat == LSRUN &&
                            (l->l_flag & L_INMEM) &&
                            (l->l_priority / PPQ) != (l->l_usrpri / PPQ)) {
                                remrunqueue(l);
                                l->l_priority = l->l_usrpri;
                                setrunqueue(l);
                        } else
                                l->l_priority = l->l_usrpri;
                }

        Since mi_switch has already run remrunqueue, the LWP has been
            removed, but it's not been put back on any queue, so the
            remrunqueue panics.
2003-10-23 08:59:10 +00:00
chs
65d5587ddd rename pv_next to pv_node. use SPLAY_RIGHT() instead of expanding it inline. 2003-10-23 08:30:21 +00:00