| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
See the comments for addupc_intr() and the NetBSD implementation.
We use dummy versions of fuswintr() and susiwintr(), so addupc_intr()
always pushes the work to trap() (this is inefficient), and trap()
calls the special i386 function addupc() instead of addupc_task().
addupc() is more efficient than addupc_intr(), so some of the lost
efficiency is recovered. However, addupc() may be broken on plain
i386's since it doesn't check for write permission like copyout().
|
| |
|
| |
|
|
|
|
| |
the undocumented previously unLINTed option `APM_SLOWSTART'.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
optimizations we have for 586s also apply to 686s...this will be fine-
tuned in the future as appropriate.
|
|
|
|
|
|
|
| |
feature of the ICU. auto-EOI on the slave is not safe, however, so it
remains an option. Killed religious FASTER_NOP when writing the ICU.
Reviewed by: bde
|
|
|
|
|
| |
needed.
Reviewed by: bde
|
|
|
|
|
|
|
|
|
| |
or deleted.
Motivated by: `int doclusteread = 1;' in ext2_vnops.c redefined
doclusterread if DEBUG is defined, so it could not have worked.
This was fixed by staticizing things before it caused problems.
I didn't find any more cases like this.
|
| |
|
|
|
|
|
|
|
|
|
| |
wasteful, but better than clobbering the variables below the stack.
About 300 bytes of variables were clobbered when I examined double
faults using ddb. Perhaps a page that is known not to be accessed by
the double fault handler could be used. Such pages are not easy to
find, since the double fault handler calls panic() which calls sync()
and possibly dumpsys().
|
| |
|
|
|
|
| |
Added includes to get the prototype for printf() when DEBUG is defined.
|
|
|
|
| |
when DEBUG is an option.
|
|
|
|
|
| |
Moved most of these things inside `#ifdef notyet_block_reallocation_enabled'
where they may never be used again.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
vfs_cache.c: Fix a very rare probelm in the vnode-cache.
Submitted by: Terry Lambert <terry@lambert.org>
|
|
|
|
| |
Fixed pty permissions.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
part of the DMA channel 0 address and wasn't random in the intended
way.
Submitted by: KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
Disable interrupts while reading the clock. This probably isn't
important (allowing interrupts probably increased randomness in
the usual case).
Removed __i386__ ifdef. This file is in an i386 directory and has
other i386 dependencies.
|
|
|
|
| |
supposed to be identical with sio.c for hardware-independent details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unintentionally committed):
- the fifo was completely disabled for low speeds. Apart from being
unnecessarily inefficient, this invalidated com->tx_fifo_size.
- `ftl' became a bogus name.
- the 16650 probe breaks the COM_NOFIFO() case and has other bugs
(disabled, not fixed).
Fixed bogus change of the fifo settings for the non-speed of 0. This
bug made the above fifo bug occur even at non-low speeds.
Fixed the modes of the cua devices. It isn't possible to set the uid
and gid correctly since the kernel can't know who uucp.dialer is.
Register the devswitch at device attach time. SYSINIT() is not
the right way to initialize devswitches (if anything :->).
Eventually, the devswitch should be deregistered at device detach
and/or unload time and reregistered at device attach time ... Then
some com->gone tests could be removed.
Cleaned up some other recent changes.
|
| |
|
| |
|
|
|
|
|
| |
be used instead of the ones for the current frame if a breakpoint had been
set at the entry to a function.
|
|
|
|
|
| |
than separate ip_v and ip_hl members. Should have no effect on current code,
but I'd eventually like to get rid of those obnoxious bitfields completely.
|
|
|
|
|
| |
If users want to use the old-style broadcast addresses, they will have to
currectly configure their systems.
|
|
|
|
|
|
|
|
|
|
|
| |
redistribute a few last routines to beter places and shoot the file
I haven't act actually 'deleted' the file yet togive people time
to
have done a config.. I.e. they are likely to have done one in a week or so
so I'll remove it then..
it's now empty.
makes the question of a USL copyright rather moot.
|
|
|
|
| |
Move functions specific to mem.c to mem.c from conf.c
|
|
|
|
|
|
|
| |
about decoding trap/syscall/interrupt frames and generally works better
than the previous stuff.
Removed some special (incorrect) frobbing of the frame pointer that
was messing some things up with the new traceback code.
|
|
|
|
|
|
|
|
| |
others: start to populate the link-layer branch of the net mib, by
moving ARP to its proper place. (ARP is not a protocol family, it's an
interface layer between a medium-access layer and a protocol family.)
sysctl(8) needs to be taught about the structure of this branch, unless
Poul-Henning implements dynamic MIB exploration soon.
|
|
|
|
| |
experimentally seems to give better results on my machine.
|
| |
|
|
|
|
| |
getting triggered at a bad time.
|
|
|
|
|
| |
and other "lots of CDROM devices" problems. This code should be
put in a single place.
|
|
|
|
| |
the route in ip_output() is a bad idea.
|
| |
|
|
|
|
|
| |
optimization. Gcc only in-lines calls to strlen with optimization
turned on.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
overflows.
It sure would be nice if there was an unmapped page between the PCB and
the stack (and that the size of the stack was configurable!). With the
way things are now, the PCB will get clobbered before the double fault
handler gets control, making somewhat of a mess of things. Despite this,
it is still fairly easy to poke around in the overflowed stack to figure
out the cause.
|
| |
|
|
|
|
| |
was passed in one case.
|