Commit Graph

107122 Commits

Author SHA1 Message Date
matt
c838a0fb9e In vmcmd_readvn, if the page is mapped executable and PMAP_NEED_PROCWR
is defined, call pmap_procwr to synchronize the icache.  This fixes the
problem of dynamic programs crashing on powerpc systems.
2003-01-12 05:24:17 +00:00
pk
55a3bd0a85 schedcpu() has been fixed; now we can notify another CPU about a pending
reschedule request.
2003-01-12 01:50:51 +00:00
pk
da40c6dd43 schedcpu(): after updating the process CPU tick counters, we no longer need
to run at splstatclock(); continue at splsched().
2003-01-12 01:48:56 +00:00
thorpej
2136f557b3 Add a symbol for libpthread. 2003-01-12 01:30:34 +00:00
pk
c41718e9ec Remove needless indirection from the curproc() macro. 2003-01-12 01:19:00 +00:00
pk
ae33d2b4e5 Use per-CPU virtual addresses for pmap_copy_page() & pmap_zero_page(). 2003-01-12 01:16:06 +00:00
christos
0f9b5cdd18 add some more flags used only in acpi.c 2003-01-12 01:15:50 +00:00
augustss
337a21e08f Get interrupt swizzling right. 2003-01-12 00:52:45 +00:00
matt
12a9bdbb4f Add missing ethernets and phys. Update FireWire to current reality. 2003-01-12 00:50:29 +00:00
pk
dab556c2b1 pmap_deactivate(): arguments for sp_tlb_flush() were reversed. 2003-01-12 00:34:52 +00:00
christos
1748ad5426 fix usage [add -r] 2003-01-11 23:44:47 +00:00
lha
7e3ef8185e s/pfil_get_head/pfil_head_get/
fixes Joel Wilsson's <joelw@unix.se> misc/19796
2003-01-11 22:45:39 +00:00
christos
d9edafd3d3 check for strdup returning null 2003-01-11 22:32:43 +00:00
christos
440c3bcc16 check for malloc returning null 2003-01-11 22:32:25 +00:00
christos
774782c3bc Make everything compile again. All platforms compile on i386 now. 2003-01-11 19:44:04 +00:00
christos
d5c5392912 make compile on !playstation 2003-01-11 19:37:48 +00:00
christos
848b0d8582 use the <sys/bootblock.h> names. 2003-01-11 19:31:52 +00:00
christos
83b0b99b3b use definitions from <sys/bootblock.h>; don't require <machine/disklabel.h>
mac68k machine/disklabel.h contains duplicate definitions that also exist
in <sys/disklabel.h> and <sys/bootblock.h> and should be removed.
2003-01-11 19:28:04 +00:00
christos
d33a7d6abc add apple_bootzeroblock 2003-01-11 19:14:18 +00:00
christos
405768deca remove i386'isms; make link again. 2003-01-11 19:06:54 +00:00
christos
a7ca1a461f protect against multiple inclusion. 2003-01-11 18:54:19 +00:00
mrg
e37ed12dae add an entry about sparc SMP 2003-01-11 17:37:41 +00:00
tsutsui
9a5dedeaea Fix -Wsign-compare and -Wuninitialized warnings. 2003-01-11 16:01:49 +00:00
tsutsui
5db9bf0614 Fix -Wsign-compare warnings. 2003-01-11 16:00:48 +00:00
tron
503456a35a Include "bsd.rpc.mk" before "bsd.prog.mk" to fix the "cleandir" target. 2003-01-11 13:28:43 +00:00
aymeric
04afe0c722 Change the bootstrap procedure to avoid temporarily mapping physical memory.
Now, on the Amiga, we copy a small piece of code to chip memory and enable the
MMU from here.
On the DraCo, we setup %itt0 so that we shadow physical memory without
touching the page tables and very temporarily. The DraCo's memory layout
guarantees that there is no overlap in this case between physical and
virtual addresses.

This fixes a bug where Amiga's with physical memory at 0x200000 wouldn't boot
kernels >2M in size, and possibly other corner cases.

Joint work with Ilpo Ruotsalainen and Ignatios Souvatzis.
2003-01-11 10:47:08 +00:00
dsainty
e648b82855 Changed the interface for passing output data between the bthci driver
and the back end Bluetooth device driver.  The device driver now
allocates a suitable buffer on behalf of the bthci driver, and bthci
fills the buffer before despatch.

This saves an ugly temporary allocation (in bthci) and memory copy (in
the USB driver) per write, and also works better with the
sockets-based interface I'm experimenting with.
2003-01-11 06:12:09 +00:00
dsainty
48dd536ca4 Add bthci_util.c 2003-01-11 05:46:11 +00:00
dsainty
23127acc05 Bluetooth HCI protocol constants 2003-01-11 05:44:08 +00:00
dsainty
ba8e090575 Utilities for use with Bluetooth drivers 2003-01-11 05:41:57 +00:00
mrg
90d9434890 keep track of which cpu's have run a pmap and only broadcast tlb flushes to
cpu's who have done so.  implement pmap_deactivate() for MULTIPROCESSOR and
call it from cpu_switch() when we are about to switch proces and when we
enter idle().

with this change, i see significantly reduced tlb IPI traffic and fork/exec
bound processes -- such as "configure" -- run significantly faster, upto
15%.  i also obvserved a small (0-2%) benefit to CPU bound tasks as well.
2003-01-11 03:40:31 +00:00
matt
0655a07988 Fix bug where only 2/3 of the PLT was being synched with the icache.
PLT entries are 12 bytes.  Add a #define for that and replace the
explicit values with the PLT_ENTRY_SIZE.  This bug can cause random
SIGILL signals to happen.
2003-01-11 01:33:56 +00:00
jmmv
dd4a382f46 Print missing newline in two bootselector-related messages. Approved by wiz. 2003-01-10 23:37:34 +00:00
rafal
30d29f647c Simplify CRIME rev. calculation (we don't appear to need the low nibble). 2003-01-10 20:39:22 +00:00
christos
c3e2d898b4 produce lint free code. 2003-01-10 20:00:50 +00:00
christos
2d7e213ded pass lint[pass1] 2003-01-10 20:00:27 +00:00
mrg
e756303d08 expand db_proc_cmd() a little more. 2003-01-10 19:25:12 +00:00
jschauma
3fd604cd1b Remove documentation of obsolete variables EXTRACT_BEFORE_ARGS and
EXTRACT_AFTER_ARGS.
2003-01-10 17:25:38 +00:00
augustss
fef43d3aa9 Regen. 2003-01-10 16:42:04 +00:00
augustss
205035d2fa Add two Intel PCI-PCI bridges. 2003-01-10 16:41:39 +00:00
pk
30cc38bdb5 Replace want_resched' and want_ast' globals by per-CPU variables. 2003-01-10 16:34:14 +00:00
augustss
fc3c2cbc33 Make SYMTAB_SPACE actually work. 2003-01-10 16:18:45 +00:00
fvdl
9cf4ee5aef Move the check if ioapics were found outside of ifdef MPBIOS. Set the
polarity for the default ISA entries to 'default'.
2003-01-10 15:01:09 +00:00
fvdl
599d302034 If the polarity wasn't set in the mp config entry associated with the
ioapic pin, assume defaults (active low for level triggered, high
for edge triggered).
2003-01-10 14:58:46 +00:00
agc
17a35e2e99 Introduce the notion of "preserving" an installed package.
A preserved package may not be deleted by pkg_delete(1) (unless the -f
option is given), and the preserved capability will be carried into
any binary package. pkg_add(1) will also keep the preserved capability
if it was present in the binary package.

The "preserve" capability can be given to a package by using the
PKG_PRESERVE definition in a package Makefile in pkgsrc.

Ride on the recently-bumped lib/version.h for new functionality.
2003-01-10 11:55:44 +00:00
augustss
a9dbc85017 Try to get full device descriptor a few times. This makes some slow
devices work.  From FreeBSD.
2003-01-10 11:19:13 +00:00
augustss
89b8fd8b00 Regen. 2003-01-10 11:13:51 +00:00
augustss
7d481b8bc1 Add Epson 1660. From kerm/19767, Neil Short. 2003-01-10 11:06:58 +00:00
augustss
cd3665ed2a Add Epson 1660. From kern/19767. 2003-01-10 11:06:13 +00:00
agc
51ace543e3 Order the getopt(3) options alphabetically. 2003-01-10 10:55:25 +00:00