Commit Graph

67768 Commits

Author SHA1 Message Date
mycroft
6431c35748 This driver was broken by bouyer on 2003/01/20.
I've made it at least config up/down again -- haven't tried actually passing
traffic.
2003-10-30 07:47:57 +00:00
provos
4b425670af use a two-level bitmap as suggested by mogul and banga for fdalloc;
approved thorpej@
2003-10-30 07:27:02 +00:00
mycroft
654720aaa9 Set MAXPHYS to 0xe000.
XXX This really is the wrong way to do this.
2003-10-30 06:22:53 +00:00
mycroft
c948a7f77b Allow a port to override MAXPHYS. 2003-10-30 06:13:19 +00:00
mycroft
1687658251 Add COMPAT_16. 2003-10-30 05:31:17 +00:00
mycroft
1a2ab14519 In the 68010 code, we were reading sched_whichqs wrong... 2003-10-30 05:12:28 +00:00
thorpej
67f69c1c63 Make callout_setfunc() a CPP macro. Suggested by enami. 2003-10-30 04:32:56 +00:00
briggs
3c59c821ae Make sure we can transmit larger packets correctly.
Don't initialize extra fields of the ifp.
Use strcpy() instead of bcopy() for copying the device name.
Handle if_timer a bit better.
2003-10-30 04:11:36 +00:00
simonb
b6abb6ab1d Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +00:00
simonb
a2facef339 Remove some assigned-to but otherwise unused variables. 2003-10-30 01:43:08 +00:00
christos
2c8096f763 set the onstack flag if requested. 2003-10-30 00:26:54 +00:00
simonb
0c6a00f6c6 KNF. 2003-10-30 00:01:47 +00:00
simonb
31d051445b Make this 64-bit paddr_t friendly. 2003-10-29 23:52:22 +00:00
christos
dc307db22e add compat_16_machdep.c 2003-10-29 23:41:49 +00:00
simonb
0bf7a721e9 Add some more MTI CPU ids. 2003-10-29 23:41:10 +00:00
christos
61e4914300 first pass siginfo for mips 2003-10-29 23:40:42 +00:00
christos
8ca558e8ed first pass siginfo glue for mips 2003-10-29 23:39:45 +00:00
simonb
a5ace5a563 Add some more MIPS vendor IDs. 2003-10-29 23:39:16 +00:00
mycroft
ab8cc2146b Don't try to build random.S on 68010. 2003-10-29 23:32:15 +00:00
mycroft
363f05d417 Refresh from libc to get 68010 version. 2003-10-29 23:19:11 +00:00
bouyer
f974ecc32b Remove check for the error register value at probe time. There have been report
on -current-users of some drives not returning the proper value here.
This shouldn't affect the probe time for the common cases.
2003-10-29 22:09:41 +00:00
bouyer
14cd9d8cff freese->freeze, as pointed out by Frederick Bruck. 2003-10-29 22:05:15 +00:00
mycroft
b94b22f9f5 ; -> \n\t in a few more places. Fixes problems with HPPA, where ; is the
comment separator in the assembler.
2003-10-29 21:56:02 +00:00
dyoung
3ed4d1ac9f Add ieee80211_find_rxnode and its helper ieee80211_needs_rxnode.
802.11 drivers will use ieee80211_find_rxnode to match each received
packet with the ieee80211_node belonging to the sender. The driver
will use the ieee80211_node to track the sender's RSSI and other
statistics for, e.g., rate adaptation.

ieee80211_find_rxnode "fakes-up" missing ieee80211_nodes in IBSS
mode and in ad-hoc demo mode when it is appropriate. See the comments
in the source.

Also add ieee80211_find_txnode, which looks up the ieee80211_node
belonging to a MAC destination. ieee80211_find_txnode will also
fake-up missing nodes in IBSS/ad-hoc demo mode.

In ieee80211_encap, use ieee80211_find_txnode.  This fixes the bug
in ad hoc packet-transmission reported by Greg Troxel, Urban Boquist,
and Kurt Schreiner.
2003-10-29 21:50:57 +00:00
bouyer
ef9a315b24 - test if we have some work to do before tsleep() in the kernel thread,
in case the previous loop scheduled some more work to do (e.g. reset)
- use queue_freese to block the queue when a reset is pending too
- Avoid using WDCF_TH_RUN in some place that can be called from callout.
  If the kernel thread is tsleep()ing somewhere, we may come here with
  WDCF_TH_RUN set while being in the callout context. Fix a panic() in
  tsleep() reported by Chuck Silvers.
- Use AT_WAIT instead of WDCF_TH_RUN wdcwait(), as we may not be in the
  channel's thread context but still be able to tsleep(). Fix queue_freese
  panics for WDC_CAPABILITY_NOIRQ controllers (port-mac68k/23208 by
  Frederick Bruck).
2003-10-29 21:44:41 +00:00
mycroft
7198dd0a88 Back out -Wno-uninitialized for m68k -- the compiler bug is fixed. 2003-10-29 21:29:27 +00:00
mycroft
3fbc866a6e Back out the bogus initializer -- the compiler bug is fixed. 2003-10-29 21:26:43 +00:00
tsutsui
18b32ac5ba Switch arc to use MI mc146818 tod driver. 2003-10-29 18:17:49 +00:00
tsutsui
21ebbd9f3e Add a bogus initializer to appease gcc's uninitialized warning.
XXX osiop_checkintr() should be rewritten.
2003-10-29 18:03:22 +00:00
tsutsui
cb187dc1a7 Fix bogus GCC uninitialized variable warning. 2003-10-29 18:01:20 +00:00
tsutsui
a17f7ef138 Eliminate an uninitialized variable warning. 2003-10-29 17:45:55 +00:00
tsutsui
159c103f63 Fix think-o about century handling in settime function. 2003-10-29 17:41:36 +00:00
tsutsui
2ba8cd8f89 Add MI driver for mc146818 based time-of-day clock with todr(9) support. 2003-10-29 17:00:40 +00:00
mycroft
2dde0746b6 Do a jump optimization that eliminates some uninitialized variable warnings. 2003-10-29 10:12:43 +00:00
mycroft
1588a62950 Whitespace. 2003-10-29 05:48:19 +00:00
mycroft
2f3400cec7 The previous patch was wrong -- mcr does not output anything. Instead give a
junk input (it's not used when the last argument is 0).
2003-10-29 05:47:04 +00:00
mycroft
ebc4881c70 Simplify a little. 2003-10-29 05:32:18 +00:00
mycroft
c99cc1e89a If we get an unknown fault code, either panic (if DIAGNOSTIC), or fault it with
a 0 access_type (if not).  Remove bogus initializer.
2003-10-29 05:16:26 +00:00
mycroft
7a85552554 If something goes wrong, we want to return ENOMEM, not 0! 2003-10-29 05:03:41 +00:00
mycroft
01ffeba8a0 Make sure "args" is pointing somewhere sane before calling trace_exit(). 2003-10-29 04:58:26 +00:00
mycroft
bb5625edb8 Remove bogus initializers. 2003-10-29 04:48:40 +00:00
mycroft
6e4d40343c Don't bother with one of the loops if the data to move is too narrow. 2003-10-29 04:43:18 +00:00
mycroft
75061b28a8 Calculate lastx and lastleft outside the loops... 2003-10-29 04:40:17 +00:00
mycroft
a1178ff097 The uninitialized variable in this case was a bug, which could probably be
used to crash the system.
2003-10-29 04:38:50 +00:00
mycroft
8ece2f61c0 Oops, fix a commito. 2003-10-29 03:54:17 +00:00
mycroft
cb4f7a1d86 Bogus initializers suck. 2003-10-29 03:46:10 +00:00
mycroft
e24c0c7dfc Move a panic() to a different location, and eliminate a bogus initializer. 2003-10-29 03:40:56 +00:00
mycroft
5ef2e1b264 Fix the real cause of the uninitialized warning -- we were looking for the VLAN
tag in the wrong place!
2003-10-29 03:31:22 +00:00
mycroft
035a25dd52 Simplify a little. 2003-10-29 02:33:51 +00:00
mycroft
3b7d66667e Return EINVAL rather than stepping off a null pointer. 2003-10-29 02:31:55 +00:00
mycroft
1f63a53cea Rework to remove bogus initializers. Also fixes a potential problem with
amr_teardown() unmapping too much.
2003-10-29 02:27:32 +00:00
mycroft
e0e9384a8e Reorder, eliminating a bogus initializer. 2003-10-29 02:13:09 +00:00
mycroft
a246f3b7a5 Reorder slightly to eliminate bogus initializers. 2003-10-29 02:02:05 +00:00
mycroft
e4bad7fff5 Rework slightly to remove bogus initializer. 2003-10-29 01:54:24 +00:00
mycroft
be505a4f82 Adjust to remove bogus initializer. 2003-10-29 01:25:04 +00:00
mycroft
46ef74d63c Recode to remove bogus initializer. 2003-10-29 01:21:38 +00:00
mycroft
0b179751bd XXX: gcc 2003-10-29 01:12:23 +00:00
grant
c00167fe91 trim leading whitespace from an #error, shuts up warning from
makedepend.
2003-10-29 01:11:16 +00:00
mycroft
9e80bdd1f0 Recode the probe slightly to remove a bogus initializer.
Also, don't do the rest of the probe work if the product ID mismatches, since
we'll return 0 anyway.
2003-10-29 01:10:12 +00:00
mycroft
9d009e4f2a Remove bogus initializer, and fix a typo in a loop variable instead. 2003-10-29 00:48:15 +00:00
mycroft
dc3fafca35 Remove bogus initializer, and instead fix an =/== typo. 2003-10-29 00:34:58 +00:00
mycroft
39c696c2e6 Remove unnecessary code. 2003-10-28 23:56:00 +00:00
mycroft
909205520a KNF. 2003-10-28 23:40:27 +00:00
mycroft
16413c6f77 The "bad status" case is impossible -- the switch value is constrained to 2
bits -- so just add the default case to the one that returns
STATUS_WIRE_FAILED.
2003-10-28 23:37:59 +00:00
mycroft
898602e6b1 Or the config_deactivate() return values. 2003-10-28 23:33:46 +00:00
mycroft
9013c2cac4 Eliminate bogus initializer.
We shouldn't be adding the time stamp to the entropy pool if the interrupt
wasn't for us.
2003-10-28 23:26:28 +00:00
mycroft
af9bc6becf Eliminate bogus initializer. 2003-10-28 23:16:50 +00:00
mycroft
659649b149 The previous change was wrong. The variables were legitimately uninitialized.
This code was broken on 2002/10/22 by christos.
2003-10-28 23:10:02 +00:00
mycroft
6ad04f2a27 XXX: gcc 2003-10-28 23:04:26 +00:00
mycroft
c976b0b592 Eliminate bogus initializer (the code was technically wrong). 2003-10-28 22:56:19 +00:00
mycroft
3aae7144ea Eliminate bogus initializer. 2003-10-28 22:52:53 +00:00
mycroft
f6f24ead9c In _bus_dma_uiomove():
* Don't punt after the first iov in the UIO_SYSSPACE case.  Not that this ever
  happens in practice right now.
* If we get through the loop, error==0 by definition, so just return 0.
* Eliminate bogus initializer.
2003-10-28 22:49:51 +00:00
mycroft
8785679414 Mark this initializer in the canonical way so it can be found later. 2003-10-28 22:31:12 +00:00
mycroft
3741fa9860 Kill another bogus initializer. 2003-10-28 22:22:28 +00:00
kleink
7b674621bf Retire FPA support from this file at last; suggested by Richard Earnshaw
and not objected to by port-arm.
2003-10-28 21:27:08 +00:00
kleink
dbecd8cc2e Similar to sparc, make available the extended-precision definitions for
_KERNEL; the FPE package will require it once it's used on sun2.
2003-10-28 21:23:47 +00:00
mycroft
dd65577904 Remove bogus initializer. 2003-10-28 20:39:54 +00:00
mycroft
d7f0f6de8f Do the previous differently. 2003-10-28 20:27:22 +00:00
mycroft
a72eae7293 Fix previous differently. 2003-10-28 20:21:44 +00:00
mycroft
8655a8eb83 Also, if we're going to bail, we should free the memory we just allocated... 2003-10-28 20:16:28 +00:00
mycroft
52beeea9f1 Previous patch created a dead break. 2003-10-28 20:15:19 +00:00
mycroft
a071a627d4 Return a sensible error code in the previous. 2003-10-28 20:13:23 +00:00
skrll
c5a4c60e2e Compile sys/kern/uipc_socket.c -fno-strict-aliasing for now. PR 23044. 2003-10-28 20:12:00 +00:00
matt
ebe74b9e7f fix bogus GCC uninitialized variable warning. Use TAILQ_FOREACH. 2003-10-28 18:35:06 +00:00
matt
e633976ebd Elminate GCC uninitialized variable warning. 2003-10-28 18:21:49 +00:00
skrll
a366cd57d6 Add COPTS.<fn>, CPUFLAGS.<fn>, CPPFLAGS.<fn> to CFLAGS to mirror the
file specific flags support of bsd.{lib,prog}.mk.

From Christos.
2003-10-28 17:58:57 +00:00
tsutsui
2f551b5f25 NULL -> '\0' 2003-10-28 17:54:35 +00:00
hannken
f3ce5e583f Get rid of uninitialized variable. 2003-10-28 17:37:25 +00:00
pooka
aa476f1628 Avoid splx() with uninitialized priority level by duplicating some code
to get rid of gotos.

While doing that, add more verbosity on what failed if attach is not succesful.
2003-10-28 17:35:30 +00:00
provos
57755c156a use a hash table to bind to local ports; suggested by markus friedl
approved: fvdl@
2003-10-28 17:18:37 +00:00
pooka
aaff23d58d Calculate controller number based on the controller number stored in
the soft context instead of hardcoding it to "1".  Now we have a better
chance of working with multiple controllers.
2003-10-28 17:02:54 +00:00
pooka
f18fbee457 fix uninitialized uses caught by gcc 2003-10-28 17:01:19 +00:00
chs
395b58b692 keep the caller's defaults instead of supplying our own. 2003-10-28 16:25:29 +00:00
kleink
bff4c04c64 Make the extended-precision definitions available for _KERNEL (i.e. the
FPU support package), too; reported by Chuck Silvers.
2003-10-28 15:55:09 +00:00
chs
b42acb8d26 uninitialized variable. 2003-10-28 15:31:33 +00:00
chs
6ef2bc9b82 make this compile again. 2003-10-28 15:28:24 +00:00
chs
cd23cf5c7c uninitialized variables. 2003-10-28 15:25:27 +00:00
yamt
a059d6caf4 appease gcc "uninitialized" warning. 2003-10-28 14:49:53 +00:00
ad
f67ac65f3d Uninitialized variable. 2003-10-28 14:18:39 +00:00
he
4bd87960fa sys/dev/ata/wd.c causes spurious warning about blkno not
being initialized before used.  This appears to be a bug
specific to (at least) the m68k target, and will be reported
to the GCC maintainers.
2003-10-28 12:11:31 +00:00
he
b563d90538 Include <stdlib.h> to pick up exit() prototype. 2003-10-28 11:46:39 +00:00
he
d820cc0029 Add -ffreestanding to CFLAGS, so that libsa prototypes do not conflict
with otherwise built-in functions and prototypes in the new gcc.
2003-10-28 11:41:46 +00:00
he
219781d5ed Add include of <string.h> to pick up strlen() prototype. 2003-10-28 11:38:04 +00:00
he
81c0d141d8 Rename those assembly files which should be passed through the C
preprocessor from .s to .S to pick up CPPFLAGS.
2003-10-28 11:34:59 +00:00
drochner
46e330c669 quell a gcc3 "uninitialized" warning by putting some more dead code
inside "#ifdef PNPBIOSEVENTS"
2003-10-28 11:17:14 +00:00
augustss
6f77e29fd2 Appease new awk by changing \$ to $. 2003-10-28 10:35:12 +00:00
augustss
5a1764fb26 Regen. 2003-10-28 10:33:18 +00:00
augustss
fe59444985 Add Treo 600. From kern/23290. 2003-10-28 10:32:54 +00:00
simonb
393d075aa5 Fix bogus uninitialised warning. 2003-10-28 09:52:32 +00:00
scw
39fe0cf03e Delete the symbolsize variable. It's not useful here.
Reported by Shoichi Miyake in port-arm/23293.
2003-10-28 08:26:33 +00:00
scw
fe5371e8a9 Fix an uninitialised variable warning, reported by Shoichi Miyake
in port-arm/23293.
2003-10-28 08:22:55 +00:00
mrg
f06db78213 NULL -> 0 bogon. 2003-10-28 08:00:36 +00:00
mrg
93b8296886 m68k_make_fpu_idle_frame() is not needed/wanted if defined(M68010) 2003-10-28 06:55:45 +00:00
briggs
5a770ba2d8 Toggle the default value of ip6_v6only. Also provide a sample sysctl to
retain the existing behavior.
2003-10-28 06:31:28 +00:00
junyoung
68a06a8528 Fix indent level. 2003-10-28 04:59:18 +00:00
fredb
137eabcb90 Fix that last warning in a prettier (and less befuddling) way, as
suggested by Dave Huang.
2003-10-28 04:56:23 +00:00
cl
b8d68ee313 note 'm68k {u,}int64_t used uninitialized' bug.
add reference to gcc bug report.
mark all (known) occurrences.
2003-10-28 02:01:46 +00:00
christos
239484d9e9 eliminate oldsp variable, and don't save the original sp with STACK_OFFSET. 2003-10-28 01:10:50 +00:00
kleink
91af1eaa96 #define __HAVE_LONG_DOUBLE on platforms which implement a distinct
`long double' type.
2003-10-28 00:55:28 +00:00
fvdl
44954feab8 Add a driver for the Intel IGPE1000 PHY as found on 82541 and 82547 chips.
Not yet enabled anywhere.
2003-10-28 00:15:40 +00:00
simonb
f85a32fc57 Set the CPU frequency parameters from YAMON if available, and fall back
to the timer/RTC based calibration loops otherwise.
2003-10-27 23:47:00 +00:00
simonb
eb24c3d567 Add a function to query YAMON for the CPU frequency, and set up the
parameters for delay() from this.
2003-10-27 23:41:42 +00:00
kleink
39dd1b6e20 pmap_print_mmuregs(): move initialization of addr before its first use;
reported by David Young.
2003-10-27 23:35:41 +00:00
fredb
3fef8c6042 Fix a befuddling error from gcc. 2003-10-27 23:11:23 +00:00
dyoung
9dbaa63583 Stop false uninitialized variable warning. 2003-10-27 23:08:12 +00:00
fredb
fc4e07a00b Appease gcc3 "-Wno-uninitialized". 2003-10-27 23:06:15 +00:00
fredb
fa27252b6c Appease gcc3 -Wno-uninitialized (even though blkno is clearly assigned in
each branch of a conditional).
2003-10-27 23:03:05 +00:00
dyoung
9a73ec4e1e Stop false uninitialized variable warning. 2003-10-27 22:48:20 +00:00
fredb
2ba4302402 Initialize some "might (not) be used uninitialized" variables. 2003-10-27 22:16:04 +00:00
kleink
8b8e22cb01 Enter vaxfp.h, the VAX pendant of <machine/ieee.h>. 2003-10-27 21:52:03 +00:00
simonb
cbe1f08c71 Remove useless call to consinit(). 2003-10-27 18:36:26 +00:00
mycroft
e07e6dfcac Add a default: to a case statement. 2003-10-27 17:17:42 +00:00
mycroft
c41a3efdb2 Eliminate bogus initializer. 2003-10-27 17:11:19 +00:00
thorpej
db71356cd1 - Change callout_setfunc() to require that the callout handle is already
initialized.  Update the txp(4) to compensate.
- Statically initialize the TCP timer callout handles in the tcpcb
  template.  We still use callout_setfunc(), but that call is now much
  less expensive.  Add a comment that the compiler is likely to unroll
  the loop (so don't sweat that it's there).
2003-10-27 16:52:01 +00:00
cl
fcc21e91ba move structs nextstep_disklabel/cpu_partition and appendant #defines
to sys/sys/bootblock.h
- rename to next68k_disklabel and next68k_partition
- use {u,}int{8,16,32}_t instead of char/short/int (suggested by D. Laight)
2003-10-27 16:48:08 +00:00
mycroft
8df46a3c92 In j720ssp_kthread(), move the tsleep() to the end of the loop. 2003-10-27 16:18:18 +00:00
junyoung
2c4f6d0128 Nuke __P(). 2003-10-27 14:11:46 +00:00
junyoung
8f1ba94956 Nuke __P(). 2003-10-27 13:43:48 +00:00
yamt
2022580e89 uvm_loanzero:
- after sleeping for memory, re-check if we have a page.
- put the allocated page to pageq to appease UVM_PAGE_TRKOWN.
- dequeue the page when doing ->K loan.
2003-10-27 12:47:33 +00:00
kleink
060a72601c For convenient use in libc, add unions of the C floating types and their
corresponding structure definitions.
2003-10-27 10:13:48 +00:00
simonb
f3f5fb123b Fix bogus uninitialised warnings. 2003-10-27 09:58:42 +00:00
mhitch
c2a45d015c Fix uninitialized variable. 2003-10-27 09:56:56 +00:00
simonb
690122fc6a Do previous differently - check which ld we're using and set the right
link flags.

Suggested by Simon Gerraty.
2003-10-27 09:27:25 +00:00
itojun
3fef2ba893 make it compilable with TCP_DEBUG defined 2003-10-27 07:43:01 +00:00
simonb
35d9e54664 If the make variable "USE_BINUTILS" is yet, use correct options to link
a kernel with recent(ish) binutils ld.
2003-10-27 07:39:10 +00:00
junyoung
592280de7a index() shouldn't be used in the kernel. Use strchr() instead. 2003-10-27 07:28:15 +00:00
simonb
075b65698a Use -Wno-error to compile a file with Duff's device and document this as
a hack.
2003-10-27 07:26:17 +00:00
chs
b3a3d69b22 uninitialized variables. 2003-10-27 07:14:25 +00:00
chs
3b6d3c710c uninitialized variables 2003-10-27 07:07:34 +00:00
christos
50459b4529 Fix uninitialized variable warnings. 2003-10-27 06:15:52 +00:00
christos
577a829bf1 fix make -jn by adding explicit dependency of in_cksum.o to assym.h 2003-10-27 05:49:15 +00:00
christos
63b3407c02 add posix semaphores 2003-10-27 05:34:48 +00:00
simonb
499ef1c1bb Remove (the now non-compiling) support for 128bit FP emulation, which
isn't needed for PowerPC anyway.
2003-10-27 04:32:02 +00:00
simonb
354075932d Fix a bogus uninitialised warning. 2003-10-27 04:30:32 +00:00
christos
7f7c7b7d99 Back out the libretto related hacks I accidentally committed. They are
in CVS in case one wants them :-)
2003-10-27 04:10:43 +00:00
simonb
1baeb1502a Keep bogus gcc -Wuninitialised warnings happy. 2003-10-27 03:58:17 +00:00
lukem
b81744894f appease gcc's uninitialised variable detection 2003-10-27 03:51:35 +00:00
simonb
6836656005 Remove assigned-to but otherwise unused variables. 2003-10-27 02:58:31 +00:00
simonb
ecb9893b78 Use "#if" to compare two tokens, not "#ifdef". 2003-10-27 02:30:26 +00:00
simonb
8338dcf797 More bogus uninitialised warnings. 2003-10-27 02:16:15 +00:00
cl
7585316531 initialize uninitialized 2003-10-27 02:03:10 +00:00
simonb
eeb03b3e1b "Fix" bogus gcc3 uninitialised warning. 2003-10-27 01:17:59 +00:00
kleink
964d6747b5 Err, rename some members added in previous to make them reflect their
semantics better.
2003-10-27 01:11:46 +00:00
cl
16d49327a2 appease lint's ``warning: nonportable bit-field type'' in MD header 2003-10-27 01:05:08 +00:00
christos
1293ac6b7f remove buildcontext 2003-10-27 00:16:42 +00:00
christos
382a193ff0 eliminate buildcontext, and fix siginfo delivery. 2003-10-27 00:16:24 +00:00
christos
2c67a735b8 Provide the correct trap address to userland. 2003-10-27 00:15:24 +00:00
lukem
171d653219 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
chs
44d9d27c84 don't print an uninitialized variable. 2003-10-26 23:42:57 +00:00
chris
25c741b8a6 Fix up some unitialised variables. 2003-10-26 23:11:15 +00:00
fvdl
4784db999a Regen after clarifying IGPE1000 name. 2003-10-26 22:25:53 +00:00
fvdl
4589fc061f Make the name of the IGPE1000 a bit clearer. 2003-10-26 22:24:58 +00:00
kleink
b37192f049 For convenient use in libc, add unions of the C floating types and their
corresponding structure definitions.
2003-10-26 21:46:46 +00:00
fvdl
7ec692e7d5 Regen after adding IGP01E1000. 2003-10-26 21:35:13 +00:00
fvdl
065b2aa956 Add Intel IGP01E1000 phy. 2003-10-26 21:34:44 +00:00
fvdl
5602142448 Fix unitialized var warning, add a comment to indicate that it's use
is suspect.
2003-10-26 21:03:34 +00:00
kleink
95971b8759 Correct the position of the QUIETNAN bit. 2003-10-26 20:59:51 +00:00
mhitch
4d65fcd111 Fix errors in processing the ELF sections. Gcc3 generated a .comment section
which was erroneously being added to the boot image size and loaded into the
boot image.
2003-10-26 20:57:37 +00:00
fvdl
404fa205d1 Fix (bogus) unitialized variable warning. 2003-10-26 20:55:57 +00:00
kleink
a3fabb9e7f Use <sys/ieee754.h> where applicable. 2003-10-26 20:55:30 +00:00
fvdl
f64435e552 Fix unitialized variable use. 2003-10-26 20:53:09 +00:00
kleink
a671ba71b3 Have a common place for definitions related to IEEE 754 single-precision
and double-precision formats.
2003-10-26 20:48:17 +00:00
christos
97ded127c6 Delete -Wno-uninitialized. Tested on sparc64 and i386. Rationale:
Gcc-3.3 produces valid warnings in most cases and uncovers bugs. In the
cases where a variable is known to be initialized, we initialize it and
add: /* XXX: gcc */. If a $MACHINE_ARCH's compiler is busted, it can add
-Wno-uninitialized in the MD Makefile.
2003-10-26 19:24:06 +00:00
christos
105af83a85 Fix uninitialized variable warning. 2003-10-26 19:18:16 +00:00
christos
2b104ea9cd use curproc, instead of homebrew test. 2003-10-26 19:17:41 +00:00
christos
8b88d0c462 Oops, the code that initialized pagesize was not actually used in the place
it was...
2003-10-26 19:17:10 +00:00
christos
594cf09925 Fix an uinitialized variable warning 2003-10-26 19:15:59 +00:00
christos
44cf8a09e9 Fix uninitialized variable warning. 2003-10-26 19:15:00 +00:00
christos
3684598911 Actually initialize the size that is printed in case of an error, so garbage
does not get printed.
2003-10-26 19:14:22 +00:00
christos
2e92e66166 don't use extra variables where there is no need to. 2003-10-26 19:13:18 +00:00
christos
4ca54df1ef Don't do the tsleep dance if timo is 0; simplify the code. 2003-10-26 19:12:50 +00:00
christos
05f07448b6 Another possibly uninitialized lasttx 2003-10-26 19:11:33 +00:00
christos
5220c0436c Fix unitialized variable warnings. 2003-10-26 19:10:42 +00:00
christos
82653d230d Fix uninitialized variable warnings.` 2003-10-26 19:09:44 +00:00
christos
93af726cde Don't return random garbage in the default case; return the smallest ring
descriptor instead.
2003-10-26 18:20:43 +00:00
kleink
2683ad1336 Add a note how this file is to be used. 2003-10-26 16:44:20 +00:00
mycroft
1d19abe12e Remove optimization hack. 2003-10-26 16:34:07 +00:00
tsutsui
93e8757186 Replace (a bunch of) NULL with '\0'. (we should define NUL?) 2003-10-26 16:15:55 +00:00
yamt
bfda434436 whitespace. 2003-10-26 16:04:00 +00:00
kleink
d54b367f5d Remove the FPA extended-precision format entirely; according to Richard
Earnshaw it was never supported by the toolchain.
2003-10-26 15:57:54 +00:00
tsutsui
bf9fad7ca4 Cast through (void *) to appease gcc3. (now it's also warned on mipseb) 2003-10-26 14:52:52 +00:00
junyoung
21110867b5 Goodbye to bcmp.S, bcopy.S, and bzero.S. They are defined as macros in
sys/systm.h.
2003-10-26 14:39:35 +00:00
junyoung
6fe2633df0 Remove bcmp.S and bzero.S from list. They were doing nothing but wasting
kernel bits for a long time (2 years?).
2003-10-26 14:37:52 +00:00
jdolecek
f592a1fb33 update for SA_SIGINFO trapsignal changes 2003-10-26 13:19:30 +00:00
jdolecek
a95f0f5f7d fix NULL vs. 0 usage 2003-10-26 13:17:50 +00:00
jdolecek
85204ef973 fix NULL vs. 0 usage 2003-10-26 11:45:46 +00:00
scw
4d7283b3ec Assume that if curpcb is NULL, we're already running with alignment
faults enabled.
2003-10-26 11:34:29 +00:00
yamt
bc075cd173 use ffs() rather than handcrafted one for ipi bit search. 2003-10-26 11:30:42 +00:00
yamt
9be92e2eef issue PAUSE in the debug version of __cpu_simple_lock as well. 2003-10-26 11:28:21 +00:00
tsutsui
2685dee90d Remove -mcpu=r4000 from CFLAGS. It's no longer available on gcc3. 2003-10-26 11:27:54 +00:00
yamt
ab51be8e72 define SPINLOCK_SPIN_HOOK to let LK_SPIN lockmgr locks call x86_pause. 2003-10-26 11:15:16 +00:00
yamt
8122bbfb62 issue PAUSE during ipi rendezvous even with DIAGNOSTIC. 2003-10-26 11:09:13 +00:00
yamt
f16e031e00 don't grab kernel lock for SYCALL_MPSAFE syscalls. 2003-10-26 10:48:08 +00:00
jdolecek
ad67de5ad8 move ALLOCSYS() macro from <sys/systm.h> to kern_alloc.c - it's the
only place which uses it
2003-10-26 10:45:03 +00:00
jdolecek
2e59e9ae06 allocate virtual memory for SYSV shm, msg and semaphore structures
separately from the bufpages, so that it would be possible to eventually
make their limits changeable in runtime

make static all local variables which do not need to be exported to other
kernel parts
2003-10-26 10:32:24 +00:00
kleink
7bc235809e Hide the extended-precision definitions from __mc68010__. 2003-10-26 10:08:02 +00:00
mycroft
c8a5d1fa1c Fix a compiler warning. 2003-10-26 09:23:06 +00:00
christos
de6033f456 Add __HAVE_SIGINFO 2003-10-26 08:11:53 +00:00
christos
94c11938c1 Regen 2003-10-26 08:11:17 +00:00
christos
099d2ea44d Add __HAVE_SIGINFO 2003-10-26 08:11:01 +00:00
christos
2454871f57 Sparc64 builds with __HAVE_SIGINFO 2003-10-26 08:08:07 +00:00
christos
7553e57186 Add compat_16_machdep.c 2003-10-26 08:07:27 +00:00
christos
a5d24112bb more siginfo glue 2003-10-26 08:06:56 +00:00
christos
3d54c93f8e Initial siginfo support for sparc64 (untested). COMPAT_16 sigcontext signal
delivery tested.
2003-10-26 08:05:26 +00:00
jdolecek
4e7d0870dc update comment - kmem_map is created in kmeminit(), not uvm_km_init() 2003-10-26 08:05:00 +00:00
dyoung
9c65c69cd6 Support data-rate adaptation loosely based on the paper "Link
Adaptation Strategy for IEEE 802.11 WLAN via Received Signal Strength
Measurement" by Javier del Prado Pavon and Sunghyun Choi. This
module should provide faster adaptation and higher throughput than
Lucent's rate-adaptation scheme.

Individual drivers need to be modified to use this module. Patches
for wi(4) are forthcoming.
2003-10-26 07:56:41 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem
1d866c2496 use ${PRINTOBJDIR} 2003-10-26 03:49:11 +00:00
sekiya
6daa011b5a NULL -> 0 2003-10-26 03:30:26 +00:00
simonb
4204a95d43 Fix NULL/0 fallout. 2003-10-26 01:07:25 +00:00
kleink
d7efc4af9e Rip out E80 format definitions which are neither "notyet", nor going to
happen.
2003-10-26 00:36:43 +00:00
dyoung
4b8cd4a6ea Make the tags: target create tags for the ath(4) HAL. 2003-10-26 00:17:46 +00:00
kleink
793c50136c C99 7.12#4: provide INFINITY, which defaults to HUGE_VALF.
If infinities are not available, the machine-dependent header must define
__INFINITY as a positive constant of type float that overflows.
2003-10-26 00:02:02 +00:00
fvdl
e645b8b032 Add definitions for 8139C+ and 8169 chips. Not used yet. From FreeBSD. 2003-10-25 23:48:45 +00:00
junyoung
b28a286e6a KNF. 2003-10-25 23:05:45 +00:00
simonb
1bf9ca14ec Oops, need "dev/ata/files.ata" too now for umass.
Add "dev/wsfont/files.wsfont" while we're here.
2003-10-25 22:34:57 +00:00
mycroft
b1915c81d6 Oops, in the fpe_trap case, actually leave it storing $a2 in the $a3 stack
slot.  This is a hack.
2003-10-25 22:10:34 +00:00
mycroft
cde8e7d93d Store $a1 (and $a2 in another case) in the correct stack slot. 2003-10-25 22:06:59 +00:00
scw
43be86e59c Skip the alignment fault enabling code if we came from SVC mode. It's
already enabled in this case.
2003-10-25 21:51:31 +00:00
christos
b92846c162 Fix uninitialized variable warnings. 2003-10-25 21:34:07 +00:00
christos
fb6335f225 Don't return random errors. 2003-10-25 21:33:36 +00:00
christos
9269644881 Fix uninitialized variable warning. 2003-10-25 21:33:04 +00:00
christos
d2705ee1d2 make this compile again. I should really rename the FreeBSD KASSERT to
KASSERT2 or something.
2003-10-25 21:32:44 +00:00
christos
b132a6334c Fix uninitialized variable warnings. 2003-10-25 21:31:43 +00:00
kleink
a1fdc1db7a Reflect the explicit integer bit here as well. 2003-10-25 21:31:25 +00:00
christos
9350ac9046 return not break. 2003-10-25 21:31:20 +00:00
christos
5945f04b69 Fix completely bogus printf that used uninitialized variables. 2003-10-25 21:30:47 +00:00
christos
e71ca6c8f4 Initialize variables sooner, and remove variable that was only used
uninitialized in a debugging printf.
2003-10-25 21:30:03 +00:00
scw
569efbf106 Oops, forgot to commit this along with the others...
Enable alignment faults on arm32 for both kernel and userland.

If COMPAT_15 and EXEC_AOUT are defined, support per-process
alignment checking where AFLTs are always enabled when running
kernel code and userland ELF binaries, and dynamically disabled/
enabled when switching to/from a.out binaries. This is necessary
in order to execute older a.out binaries, where gcc made
deliberate use of misaligned loads under certain circumstances.
2003-10-25 20:42:49 +00:00
fvdl
0e7c77bbd4 Add ahd, bce, ataraid 2003-10-25 20:41:36 +00:00