Commit Graph

147017 Commits

Author SHA1 Message Date
tsutsui
d90fe882d9 Specify CPUFLAGS for Rm523x:
> makeoptions	CPUFLAGS="-mips2 -Wa,-mips2 -Wa,-mtune=rm5230"

before:
5693.654u 1059.921s 1:52:29.76 100.0%   0+0k 310+8815io 2493pf+0w

after:
5680.013u 983.282s 1:51:00.49 100.0%    0+0k 311+9015io 2494pf+0w
2006-05-14 14:27:14 +00:00
he
34b3f04168 Move declaration up ahead of active code in the function, so that
this can be built again with gcc 2.95.3, as used by vax.
2006-05-14 14:00:17 +00:00
he
355013fbd7 Don't use MALLOC_DECLARE() unless _KERNEL is defined.
Fixes build problem of usr.bin/fstat/ for vax.
2006-05-14 12:25:11 +00:00
martin
01903cbdf3 Fix typo in comment. From Mátyás János in PR kern/33477. 2006-05-14 10:25:16 +00:00
yamt
de6ea5711e - rename uvm_tree_sanity to uvm_map_check and add some
(non tree related) checks.
- remove treesanity_label.  instead, just panic if any corruption is detected.
2006-05-14 08:22:50 +00:00
yamt
37f3579cf8 - uvm_mapent_trymerge: don't forget to update hints.
- clear_hints: new function.
- uvm_map_replace: use clear_hints.  no functional change.
- add some assertions.
2006-05-14 08:21:36 +00:00
yamt
be55e1f38a update first_free correctly. 2006-05-14 08:20:35 +00:00
christos
bd02d883c4 Add a virtual destructor to avoid "future ABI issues". I love c++. 2006-05-14 06:38:04 +00:00
tsutsui
3eb8ea4219 Pull slightly optimized BUS_DMASYNC_PREREAD op from other mips3 ports. 2006-05-14 05:53:42 +00:00
christos
c0fdc5190f XXX: GCC uninitialized 2006-05-14 05:42:43 +00:00
christos
103d2f520c XXX: GCC uninitialized. 2006-05-14 05:30:31 +00:00
christos
fc33769a12 gcc 4 does not like LHS casts. 2006-05-14 05:28:45 +00:00
christos
12b7ab5f0b Correct a bogus expression gcc4 found. 2006-05-14 05:27:59 +00:00
christos
99b7478875 Initialize an uninitialized variable gcc 4 found 2006-05-14 05:26:59 +00:00
dyoung
7153b68a4a Make rtwvar.h, rtw.c agree whether rtw_host_rfio and rtw_debug are
static or extern.  Problem noted by Tom Spindler.
2006-05-14 04:08:09 +00:00
christos
ca0ec852e6 XXX: GCC uninitialized 2006-05-14 03:40:02 +00:00
christos
ef47ce8264 add virtual destructors so that g++ shuts up. 2006-05-14 03:21:52 +00:00
christos
939d9a18de Don't use iostream just for the usage message. Use stdio instead. 2006-05-14 03:21:23 +00:00
christos
47169552b3 XXX: GCC uninitialized 2006-05-14 03:15:50 +00:00
christos
77d2f1cd19 XXX: GCC uninitialized 2006-05-14 03:05:47 +00:00
dogcow
12d973491c gcc4: 'Data' may be used uninitialized in this function 2006-05-14 03:02:14 +00:00
christos
a58e08b7cf XXX: GCC uninitialized. 2006-05-14 03:00:45 +00:00
christos
abcf3383b8 Gcc 4 needs to have the enum declaration in scope to determine the enum size. 2006-05-14 02:56:27 +00:00
christos
7a029a3c6a XXX: GCC uninitialized variables 2006-05-14 02:51:03 +00:00
christos
d04095abaa Comment out packed attributes that gcc 4 does not like. 2006-05-14 02:45:45 +00:00
christos
d46617757a XXX: GCC uninitialized variable 2006-05-14 02:40:03 +00:00
christos
be1c3e616c XXX: GCC uninitialized. 2006-05-14 02:37:46 +00:00
christos
8f60e3b3e5 Comment out attribute packed. Gcc4 warns us that the field is too narrow
for packing. Produces the same size struct on i386 (28 bytes)
2006-05-14 02:34:41 +00:00
fredb
f88f7e1e1b Per consensus on tech-install, take "bootN.fs" and "boot-comN.fs" to three
floppies.  (The build is broken again without this.)  "boot-big1.fs", from
the same ramdisk as "bootN.fs", still just fits in 2880KB by virtue of the
fact that the 9KB of padding is only added once per floppy image.
2006-05-14 02:21:59 +00:00
christos
b943fcf792 XXX: GCC uninitialized variables 2006-05-14 02:17:32 +00:00
christos
06f18c1c0d XXX: GCC uninitialized variable. 2006-05-14 02:15:31 +00:00
christos
07252f1516 Casts to appease gcc. 2006-05-14 02:14:33 +00:00
christos
653a86901d XXX: GCC uninitialized 2006-05-14 02:10:41 +00:00
christos
e75e0ea2a7 another XXX: GCC uninitialized variable. 2006-05-14 01:31:14 +00:00
christos
9da0166ffa Another uninitialized variables XXX: GCC 2006-05-14 01:30:00 +00:00
christos
ebebb0245d Another uninitialized var XXX: GCC 2006-05-14 01:26:34 +00:00
christos
af2ae0aa2f Initialize rdataset. 2006-05-14 01:18:41 +00:00
christos
62faec262e Don't free random memory; thanks gcc-4. 2006-05-14 01:09:03 +00:00
christos
a7679aa75e Fix two uninitialized variables with XXX: GCC. 2006-05-14 01:05:42 +00:00
christos
ec71107003 Use __UNCONST() when casting away const. 2006-05-14 00:13:31 +00:00
christos
386c6259af Coverity CID 3497: Don't try to set the day/month if we did not get them
from the clock.
2006-05-13 23:55:23 +00:00
christos
e9c9374d31 Fix uninitialized variable. 2006-05-13 23:49:02 +00:00
christos
19a2d0dbea Coverity CID 3197: Don't leak fp. 2006-05-13 22:50:24 +00:00
christos
a108a3f479 Coverity CID 3382: Fix memory leak. 2006-05-13 22:45:11 +00:00
christos
4b679b2a7f Coverity CID 3383: Fix memory leak. 2006-05-13 22:43:02 +00:00
christos
87e155c5c7 rename alloc() to emalloc(). 2006-05-13 22:34:50 +00:00
christos
dad51bf4f0 Coverity CID 3508: Fix file leak. 2006-05-13 22:29:53 +00:00
christos
2576ae5fca Coverity CID 3269: Fix memory leak. 2006-05-13 22:28:04 +00:00
christos
b7c6768d3d Coverity CID 3206: Add assertion for NULL deref. 2006-05-13 22:05:04 +00:00
christos
c5d3cabfdd Coverity CID 3365: Fix inverted logic! 2006-05-13 21:58:51 +00:00