sekiya
b3023f06a5
Rework the boot loader:
...
* remove dead code,
* streamline kernel selection logic,
* various small bugfixes.
2003-11-11 06:47:00 +00:00
sekiya
fdf5374e91
Remove unused variables.
2003-11-11 06:42:15 +00:00
sekiya
f87a5a5324
Add getopt.c
2003-11-11 06:28:15 +00:00
christos
6dc8df292b
KASSERT was not the right thing here. Instead only set the type if f_type
...
has been inititialized. Reported by pooka
2003-11-11 00:44:16 +00:00
jonathan
b86d07f435
Allocate sysctl oid for ipv4 sysctl node "ifq", define symbolic name, and
...
bump IPCTL_MAXID. (Should have been committed with other ifq sysctl changes).
2003-11-10 20:50:29 +00:00
jonathan
88ba77e705
Make per-protocol network input queue stats visible to userland via
...
sysctl. Add a protocol-independent sysctl handler to show the per-protocol
"struct ifq' statistics. Add IP(v4) specific call to the handler.
Other protocols can show their per-protocol input statistics by
allocating a sysclt node and calling sysctl_ifq() with their own struct ifq *.
As posted to tech-kern plus improvements/cleanup suggested by Andrew Brown.
2003-11-10 20:03:29 +00:00
rearnsha
31a79ddeb0
In vm_phsyseg_find, use u_int for start, len and try when doing a
...
binary search. Avoids the need for signed division by 2. Approved
by thorpej.
2003-11-10 16:13:05 +00:00
thorpej
9a0c12a504
Correct the size passed to a malloc() call when performing command
...
passthrough for userland management tools.
2003-11-10 15:35:39 +00:00
drochner
bc80d3e635
Reading the (non-MII) media status if the card is not running yields
...
"0xffff" (eg on i386) or a machine check (on alpha).
So don't read the status if !(UP&RUNNING).
2003-11-10 12:30:27 +00:00
itojun
f5c2aa04b0
splsoftnet() on spd/sad-dump-via-sysctl to ensure no 2 threads to go into
...
the function, or entries being removed during the dump operation.
suenaga@iij
2003-11-10 10:52:13 +00:00
wiz
c2f9db9c64
Update URLs; from Jared Yanovich via jmc@openbsd.
2003-11-10 09:02:08 +00:00
wiz
864bb22441
Update URL; from Jared Yanovich via jmc@openbsd.
2003-11-10 08:58:39 +00:00
wiz
34eb26eec2
Update URL; s/Linix/Linux/. From Jared Yanovich, forwarded by jmc@openbsd.
2003-11-10 08:55:41 +00:00
wiz
ee1b406595
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
fvdl
0a3fa4cdb1
Trim ramdisk and remove some unneeded options.
2003-11-10 00:52:28 +00:00
scw
62816f9d48
Ditch some obsolete toolchain definitions and flags.
2003-11-09 23:30:39 +00:00
manu
7c1e8e9716
There is some padding on the reply packet of vm_make_memory_entry too.
2003-11-09 23:17:15 +00:00
manu
ffe118644c
Added missing padding fields in vm_make_memory_entry request packet.
2003-11-09 23:07:05 +00:00
manu
d7d1474c7a
Typo
2003-11-09 23:05:29 +00:00
uwe
79ddf479da
Add adc, j6x0pwr, j6x0tp.
2003-11-09 22:36:17 +00:00
christos
2cd9243922
- kill bzero/bcopy
...
- defopt stats and settings, removing their definitions from the files
- make code compile by eliminating multicharacter constants!?! and rearranging
variable declarations so they are defined before used!?!
- help gcc with uninitialized variables
2003-11-09 22:11:12 +00:00
uwe
19d60bc09e
Compile identity ntoh*/hton* only for big endian case.
2003-11-09 22:04:00 +00:00
petrov
8ab0c67f4e
Lower PIL_AUD so /dev/audio will not interrupt and interfere with
...
scheduler. Fixes kern/23382.
2003-11-09 21:52:31 +00:00
scw
f64ae6c776
s/NULL/0/
2003-11-09 21:39:48 +00:00
scw
4c4ac42348
More format string fallout.
2003-11-09 21:37:08 +00:00
scw
eb042dabb2
Fix format string lossage.
2003-11-09 21:12:08 +00:00
pk
72c519a615
__cpu_simple_unlock: avoid instruction re-ordering by the compiler.
2003-11-09 21:04:44 +00:00
scw
c55851c88b
Fix format string warnings for platforms where
...
sizeof(db_addr_t) > sizeof(long). e.g. ILP32 on sh5.
2003-11-09 20:52:18 +00:00
martin
146396081b
bzero/bcopy -> memset/memcpy
2003-11-09 16:41:52 +00:00
scw
6bf28caf3e
bzero is no longer used in the kernel.
2003-11-09 16:12:57 +00:00
martin
76bfd5ab17
Nuke bcopy/bzero.
2003-11-09 14:28:56 +00:00
he
b158245614
Fix another instance where `offset' might have been used uninitialized,
...
by adding a non-DEBUG default: and a panic().
2003-11-09 14:26:15 +00:00
scw
cd75387049
Clear r3 to zero after dealing with the pseudo-header.
2003-11-09 12:24:48 +00:00
scw
2f54b52eac
Print a trap/intr frame's SPC value.
2003-11-09 12:22:15 +00:00
scw
89a3825de9
In scif_rxsoft, bail early if the input buffers have not been initialised yet.
...
This can happen if we drop into ddb on the serial console before
scif_attach() has been called.
2003-11-09 12:19:54 +00:00
kochi
ca17019a08
* Preserve original $Revision$
...
* add __KERNEL_RCSID
2003-11-09 11:50:59 +00:00
martin
c9f72038da
bzero is gone from the kernel
2003-11-09 11:25:18 +00:00
martin
ef4ac967a7
Fix a comment (there is no bzero/bcopy any more)
2003-11-09 11:24:38 +00:00
martin
59c6900880
Get rid of bcopy/bzero.
2003-11-09 11:23:54 +00:00
manu
70a91d4b66
Better warnings on not fully implemented mach traps.
2003-11-09 11:10:11 +00:00
scw
a02e49b067
Fix a genuine uninitialised variable.
2003-11-09 11:09:11 +00:00
scw
41d2057ea7
Pick the right value for {,_}MACHINE_ARCH according to endianness.
...
Spotted by mrg@.
2003-11-09 08:27:19 +00:00
yamt
c337d7540c
fix typos in comments.
2003-11-09 07:57:15 +00:00
yamt
29352ed442
- fix an use-after-free bug in /dev/fd/* handling.
...
specifically, don't keep a stale pointer in fd_ofiles.
it isn't needed anymore as fd allocation is now done using bitmaps.
- clean up dupfdopen() a little.
- don't call fd_used() unnecessarily.
2003-11-09 07:55:38 +00:00
yamt
1fc953c5e2
in the non-overwritten case of sys_dup2(),
...
call fd_used() by itsself rather than leaving it to finishdup().
2003-11-09 07:52:26 +00:00
tsutsui
112c91d583
Use #if defined(_KERNEL_OPT) to protect #include "opt_xxx.h"
...
from building LKM etc. Suggested by mrg.
2003-11-09 05:29:59 +00:00
uwe
9df7e01734
Implement trivial WSDISPLAYIO_SVIDEO that flips DON bit in LCDLDR1.
...
This only turns off the display in the LCD controller.
TODO: Need to add a platform specific way to turn the screen on and
off as well (e.g. on Jornada 680 this is bit 0 in hd64461 GPIO port B).
2003-11-09 02:05:42 +00:00
uwe
680e83de11
Get rid of bcopy relics. Minimize diffs against the libc version.
2003-11-09 01:03:56 +00:00
uwe
f28afa6ac5
Nuke bcopy. Move the code to memmove.S (which it is) make memmove the
...
primary entry point and comment out the bcopy entry point.
Kernels before and after the change are identical.
2003-11-08 23:59:12 +00:00
uwe
aa4c79f23b
For the rasops-drawn cursor the fg/bg indices are bit inverted, so
...
provide complimentary colors in the upper 16 entries.
2003-11-08 22:49:28 +00:00