Commit Graph

61119 Commits

Author SHA1 Message Date
bouyer
4ceef3ad68 For short (< ETHER_MIN_LEN) packets, supply a zero'd buffer for the extra
bytes to make sure the chip won't send random data.
2003-01-13 17:00:18 +00:00
pk
df4b5f766b Remove UNLOCK_XPMSG() before cpu_halt(); it's not compatible with LOCKDEBUG
and it wan't chique in any case.
2003-01-13 16:59:17 +00:00
mrg
8d9571d120 remove cpu_hatched, cpu_hatch_sc and cpu_hatchstack. the first can use
the cpi->flags, the second is unused and the third is also cpi-idle_u.
2003-01-13 15:50:50 +00:00
pk
5642428f4e Use print_nolog() from xcall(), to avoid confounding things even further
by re-entering the scheduling code to wakeup syslog waiters.
2003-01-13 15:01:16 +00:00
mrg
090790c7a7 pull across the quirk table from the wss@pnpbios driver and use it identically.
now wss@acpi works on my dell inspiron 3500.
2003-01-13 13:01:15 +00:00
jmcneill
d81b190541 Why do I always think 'evaluate' and type 'evalulate'? 2003-01-13 06:26:10 +00:00
toshii
389a24609c Use the correct byte positions to read data returned by DVD_LU_SEND_RPC_STATE. 2003-01-13 03:32:56 +00:00
pk
4641d55697 Halt any other CPUs in cpu_reboot(). 2003-01-13 01:35:45 +00:00
fvdl
4726f033ed Use 'int' in the SCI interrupt message, not 'irq'. The number in question
is a global ACPI interrupt number.
2003-01-13 01:24:11 +00:00
fvdl
991c0f3475 Install interrupt handlers properly when in apic mode. 2003-01-13 01:20:58 +00:00
fvdl
86ae625e2c Declare nioapics as well. 2003-01-13 01:19:34 +00:00
augustss
735022ab70 Fix bus_space_mmap() bug. 2003-01-13 00:21:53 +00:00
augustss
e1dd8d6b94 The bus_space_mmap() returns a physaddr, not a page, on the PPC.
(This is broken in some (all?) of the PPC ports, it seems.)
2003-01-12 23:46:11 +00:00
fvdl
a4880cb372 Export the ioapic softc linked list, for the benefit of the mpbios code. 2003-01-12 23:20:17 +00:00
fvdl
d43937377e Handle all-apics entries for ioapic interrupts. 2003-01-12 23:19:44 +00:00
uwe
333e0ca8a9 Quick patch to allow the (only) screen to be configured with
wsconscfg(8) when it's not being used as the console.
2003-01-12 21:37:59 +00:00
christos
8453828bf1 PR/19607: Bernd Ernesti: libsa does not have access to arpa/tftp.h. Put a
copy of it in our tftp.h
2003-01-12 18:59:15 +00:00
pk
2684c88122 fpulock: encapsulate required IPL raise in the FPU LOCK/UNLOCK macros. 2003-01-12 16:29:00 +00:00
tsutsui
6d0bdd7f1b Don't use non-ASCII chars in comments. 2003-01-12 13:38:27 +00:00
tsutsui
76ce5f5560 Add entries for vt220l8x16 and vt220iso8x16. 2003-01-12 13:12:42 +00:00
tsutsui
e16295484c Add another 8x16 pixel VT220 font with ISO8859-1 charactors.
Generated from sys/arch/atari/dev/font_8x16.c rev 1.2.
2003-01-12 13:11:28 +00:00
tsutsui
28f92b4adc Add 8x16 pixel VT220L font generated from /usr/share/wscons/fonts/vt220l.816,
which is derived from pcvt.
2003-01-12 13:08:47 +00:00
yamt
03e1a46833 - zerofill struct lfs when allocating it.
- use M_ZERO instead of memset after malloc.
2003-01-12 13:04:52 +00:00
jdolecek
6c334c1ee1 fix mistake in the attachment, which caused the device interrupt handler
to not be properly setup
fix provided in PR kern/13621 by ITOH Hideki
2003-01-12 12:53:36 +00:00
jdolecek
384748874a Ethernet multicast entries are malloc'd M_IFMADDR, and thus should
be freed as M_IFMADDR too.
Fix supplied in PR kern/19037 by Sean Boudreau
2003-01-12 12:26:23 +00:00
jdolecek
98cb17d023 add support for SNDCTL_DSP_SETDUPLEX ioctl to ossaudio emulation code
code provided by Andreas Wrede in PR kern/19793
2003-01-12 08:20:05 +00:00
uwe
24780840a1 Account softintr_common as uvmexp.softs, not uvmexp.intrs. 2003-01-12 06:11:01 +00:00
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
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
d33a7d6abc add apple_bootzeroblock 2003-01-11 19:14:18 +00:00
christos
a7ca1a461f protect against multiple inclusion. 2003-01-11 18:54:19 +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
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
rafal
30d29f647c Simplify CRIME rev. calculation (we don't appear to need the low nibble). 2003-01-10 20:39:22 +00:00
mrg
e756303d08 expand db_proc_cmd() a little more. 2003-01-10 19:25:12 +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