Commit Graph

150165 Commits

Author SHA1 Message Date
christos 56ec46b4b3 complete CFDRIVER initializer. 2006-08-28 01:46:10 +00:00
christos e07b7e508b build complete initializations. 2006-08-28 01:45:41 +00:00
christos 4e4ed26fac add missing initializer 2006-08-28 00:38:47 +00:00
christos e28a71d80a add missing initializers 2006-08-28 00:35:22 +00:00
christos 428665231e correct bogus loop test; used to be always true. 2006-08-28 00:28:51 +00:00
christos 6ab0a579ce Add missing initializer. 2006-08-28 00:22:15 +00:00
christos 67e07ec558 Add missing initializers 2006-08-28 00:20:47 +00:00
christos 87fd29be14 static goes first. 2006-08-28 00:18:30 +00:00
christos 9953ed71c7 Add missing initializer 2006-08-28 00:16:54 +00:00
christos f7db588ec4 add missing initializer. 2006-08-28 00:14:50 +00:00
christos 39f8ec7651 add missing initializers. 2006-08-28 00:13:44 +00:00
christos d3b80ef998 remove impossible conditional 2006-08-28 00:10:20 +00:00
christos 6d637b500d add missing initializer 2006-08-28 00:09:28 +00:00
christos 6e913df162 remove unreachable code. 2006-08-28 00:08:38 +00:00
christos a19f83e53b add missing initializer. 2006-08-28 00:07:35 +00:00
christos 63f68a892b remove unreachable code. 2006-08-28 00:06:14 +00:00
christos 78cdbd8e9c add missing initializer. 2006-08-28 00:04:21 +00:00
christos 7546f55be3 add missing initializer 2006-08-28 00:01:36 +00:00
christos 2735c71895 static comes first. 2006-08-28 00:00:23 +00:00
christos a98a1f3b7b Add missing initializers. 2006-08-27 23:59:40 +00:00
christos 8f1ca4d223 gc unused member. 2006-08-27 23:55:16 +00:00
christos ff62f5c658 add missing initializers. 2006-08-27 23:54:50 +00:00
christos d137310d6b add missing initializer 2006-08-27 23:53:10 +00:00
christos ca960afcce Oops, this is not ready yet. 2006-08-27 23:51:31 +00:00
christos 72c8baf57c Add missing initializer 2006-08-27 23:50:53 +00:00
christos 2be4cd5c08 Add initializer for MOWNER 2006-08-27 23:50:00 +00:00
christos bf0c1c557b Fix initializers 2006-08-27 23:49:33 +00:00
christos cdda2124d1 Fix incomplete declaration. 2006-08-27 23:33:35 +00:00
christos 4a778ebf9a - static needs to be first
- complete the cdevsw
2006-08-27 23:31:15 +00:00
christos c689e59cb9 restructure ifdefs 2006-08-27 23:27:44 +00:00
christos 1624b1a623 typo 2006-08-27 23:23:48 +00:00
christos d22d88fc75 ifdef out unreachable code. 2006-08-27 23:23:02 +00:00
christos d8b4d47380 define D_OTHER as 0. 2006-08-27 23:21:58 +00:00
christos 35f0d726a8 complete initialization 2006-08-27 23:21:35 +00:00
christos 925d11f2f5 complete declarations 2006-08-27 23:19:03 +00:00
christos ec7d898cf1 Complete the declaration. 2006-08-27 23:13:47 +00:00
christos f2ef4c473c Fix incomplete initialization. 2006-08-27 22:36:10 +00:00
christos 7e11d29fc2 Delete unsigned comparison with < 0 2006-08-27 22:33:49 +00:00
bjh21 b42a1dca38 Revert revision 1.4: it seems to have caused serious problems on sgimips,
so I should probably leave it until I get my Indy going.
2006-08-27 22:32:54 +00:00
christos 2c9106f6fe Define RB_AUGMENT to some expression, so that we don't end up with empty ifs. 2006-08-27 22:32:38 +00:00
christos 0616c072ff complete initialization. 2006-08-27 22:31:55 +00:00
christos 02410ae7a1 complete initialization in macro 2006-08-27 22:20:42 +00:00
martin 2675789424 Add a caveats section describing potential problems with autoconfigured
swap partitons.
2006-08-27 22:00:33 +00:00
matt 41f51182cf Add -msym32 to CFLAGS when MACHINE_ARCH is mips64e[bl].
Since kernels are always run out of KSEG0 (0xffffffff.8xxxxxxx), we can
take advantage of that if we load a 32 bit address (0x8xxxxxxx) that it
will be sign-extended to 64 bits (0xffffffff.8xxxxxxx).

So instead of 6 instructions (2 lui, 2 daddiu, dsll32, daddu) to load an
address, the normal number of 2 instructions (lui, daddiu) will be used.

Thus telling gcc/gas that symbols will always be 32 bits significantly
shrinks (by 10%) and speeds up a MIPS64 kernel.
2006-08-27 21:44:15 +00:00
christos 4de29ae80e Include <sys/device.h> needed by iopio.h 2006-08-27 21:41:18 +00:00
christos d5ca3efd41 undo previous. Andy says the struct is used in pkgsrc. 2006-08-27 21:39:39 +00:00
martin 0a4f0b6f07 As discussed on tech-userlevel: enhance the -A/-U commands to take a -t
auto flag, which queries all local harddisks for swap partitions/
wedges and adds/removes them as swap device, a -f option to use the
first found swap device as dump device, and a -o option to only
auto-configure the dump device, but leave swap alone.

Add a -n option to make swapctl only say what it would do, but not
change any system state.
2006-08-27 21:07:39 +00:00
christos 1b3d66a467 Sprinkle _KERNEL. 2006-08-27 20:32:44 +00:00
christos 5699156510 pick up ioctls from other devices too. 2006-08-27 20:31:26 +00:00
christos 9db6f7d836 #ifdef out unused ioctl (and wrong) 2006-08-27 20:26:34 +00:00