pk
b4a1c0f6a0
Reset ddb_cpuinfo when leaving DDB.
2003-01-13 19:44:53 +00:00
pk
167ce8e6d3
Fix stack tracing once again.
...
Also check for trap frame boundaries when fetching the return address.
2003-01-13 19:44:06 +00:00
tron
ced7282b45
Regen from "usbdevs".
2003-01-13 17:26:33 +00:00
tron
341e2f7441
Add Epson Perfection 1260 scanner.
2003-01-13 17:25:20 +00:00
bouyer
15c016cd08
When padding frames smaller than ethernet minimum size, make sure we supply
...
a buffer long enouth, with the padding bytes initialised.
Also pad to ETHER_MIN_LEN - ETHER_CRC_LEN, not ETHER_MIN_LEN (padded frames
were 4 bytes too long).
2003-01-13 17:13:10 +00:00
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
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
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
rafal
5c114e8d30
Get rid of some extraneous declarations/comments.
2003-01-10 03:48:40 +00:00
rafal
0cc0813590
Add the MIPS3_CONFIG_SE (name taken from Rm52xx manual) bit, which is the
...
external cache enable bit -- this allows software to enable or disable the
(external) L2 cache on the R5k and Rm527x and the (external) L3 cache on
the Rm7k. If the (external) cache is disabled, treat it as if there were
no cache for the purposes of the cache setup code.
Also, update sgimips code to use the new name.
2003-01-10 03:22:48 +00:00
mjl
f8a4b3b1a8
Make this work on big endian platforms (mostly from OpenBSD):
...
Uploaded scripts work better if they are little endian, as the
card's engine expects, so convert to le first.
Also clean up attach routine a bit (use pa_id and PCI_REVISION
instead of fetching it ourselves).
This makes the driver work on my macppc G4, it can decode and
display video and tuner input. Sound does not seem to work, but
this may be my wonky formac bktr-for-macintosh card.
2003-01-10 01:38:52 +00:00
mjl
d5afd1c04f
Add major for bktr.
2003-01-10 01:32:55 +00:00
gehenna
aab035b2c2
Add quirk for NeoDio ND3050.
2003-01-10 00:52:13 +00:00
gehenna
cea6e962cb
Regen.
2003-01-10 00:50:55 +00:00
gehenna
c77255a12b
Add NeoDio A 6-in-1 Flash Device Controller with USB Interface.
2003-01-10 00:50:00 +00:00
fvdl
3cef21b0f5
Pass acpi_softc down to mpacpi functions.
2003-01-10 00:45:52 +00:00
fvdl
14cc29cd5d
Don't make assumptions about PCI bus numbers, carefully find all of
...
them before setting up the interrupt routing tables. This still
assumes that all bus numbers have been configured before this
is called.
2003-01-10 00:44:23 +00:00
thorpej
b346ea724a
Merge sparc and sparc64 <machine/signal.h>.
2003-01-09 23:25:24 +00:00
thorpej
a5fa1cfd6a
Use PRIx64 to get the correct format for 64-bit hex numbers. Don't
...
need \n at the end of a panic().
2003-01-09 19:16:30 +00:00
lonewolf
b223c57195
Don't scale file block numbers. Fixes mmap() and UBCified read() problems.
...
Reviewed by Ignatios.
2003-01-09 18:34:41 +00:00
mrg
70628f1993
clean up db_proc_cmd() output slightly.
2003-01-09 18:00:51 +00:00
pk
18c8de0d93
It's now required to turn off traps in the srmmu cache flush ops in
...
non-MULTIPROCESSOR kernels too.
2003-01-09 12:29:52 +00:00
pk
d15d3cbfc0
Add two disks capable of doing synchronous transfer mode, but don't
...
report SCSI2: "MICROP 1924" and "FUJITSU M2266"
2003-01-09 12:25:00 +00:00
jdolecek
98449270da
need to select proper IST for interrupt - IST_NONE is almost certainly not
...
right
this makes fdc@acpi and com@acpi actually work on my machine; lpt@acpi
change untested, but should be same as fdc and com
2003-01-09 12:23:28 +00:00
jdolecek
dca94cc235
_FDE is optional, so don't print warning messages about it failing
...
unless ACPI_FDC_DEBUG
array returned from _FDE contains UINT32 values, not UINT8; also change
the magic number '14' to '5 * sizeof(UINT32)' for clarity
remove XXX for the tape presence comment; it's Just Okay to not use the info
fdc_acpi_getknownfds(): if fdc_acpi_nvtotype() returns NULL, don't
attempt to attach the drive at all
XXX not tested
2003-01-09 12:18:38 +00:00
jdolecek
b47e7ca732
use AcpiUtGetTypeName() to print object type name in acpi_print()
2003-01-09 10:35:29 +00:00
pk
cbc8b8122d
Check for existing soft interrupts too before trying to install a fast
...
interrupt handler.
2003-01-09 10:27:24 +00:00
dyoung
d2e09bb4b6
Oops. This turns off debugging again.
2003-01-09 08:52:19 +00:00
dyoung
c4780f2706
wi_start: write an mbuf chain to the driver using wi_mwrite_bap,
...
which is safer than the loop there used to be here.
wi_mwrite_bap: if wi_write_bap fails, don't keep on going: this
way you avoid writing garbage to the radio. First time you see
an odd-length mbuf, copy the remainder of the chain to sc_txbuf
and from there to the MAC. This way, you do not read an mbuf past
the end of its data (occasionally you will cross a page doing
that!) and you avoid expensive, excess seeks in the radio's own
buffer chain.
wi_rx_intr: clamp the frame length told to us by the driver to the
most bytes we can fit in our mbuf cluster.
I am still getting e-mails from my testers telling me how much
better this makes things.
2003-01-09 08:49:39 +00:00
mrg
ec9ebd1af6
- s/xpmsg11/xpmsg15/
...
- clean up
- no need to reset the msg.tag
2003-01-09 05:55:30 +00:00
mrg
7386726570
remove a line accidentally commited in previous.
2003-01-09 05:27:09 +00:00
mrg
9b0c7030f5
call splclock() around the FPU_LOCK().
...
XXX: pk suggests we can make the this a sleeping lock.
2003-01-09 04:58:58 +00:00
jmcneill
41e9687a33
A few fallbacks:
...
1. If _FDE fails, fall-back to the old-style of drive probing.
2. If _FDI fails on a drive, assume a 1.44MB 3.5" floppy drive.
2003-01-09 01:25:13 +00:00
jmcneill
de1dbc74c4
Enumerate floppy disk drives via ACPI (mmm, faster booting). Known to work
...
with one floppy drive; not quite sure if the logic handling _FDI is right.
2003-01-09 00:22:39 +00:00
jmcneill
5df8dc3180
Support for 'plug and play' of floppy drives, to be used soon by the
...
ACPI fdc attachment. Reviewed by fvdl.
2003-01-08 23:51:11 +00:00
soren
4a7a63dba9
URL for devids.txt moved.
2003-01-08 23:50:23 +00:00
aymeric
b2618dcbd8
initialize the dv_unit field of our fake device structure to 0, as done on x68k.
...
This fixes the problem where no grf* console would be found on startup because
they wouldn't match with any parent.
While here, memset() that structure to zero so that we either pass or crash
right away if the MI code changes again. From Leo Weppelman, as done on atari.
2003-01-08 23:41:03 +00:00
pk
f234ea91a2
Remove write_user_windows() from a number of `4m' functions, since we don't
...
switch contexts with traps enabled anymore.
2003-01-08 18:46:28 +00:00
pk
f63279a9b6
Add CPUINFO_WANT_RESCHED and CPUINFO_WANT_AST
2003-01-08 17:49:39 +00:00
oki
1b09272dff
Use text size in COFF header instead of size of section header
...
marked as COFF_STYP_TEXT.
2003-01-08 17:43:51 +00:00
pk
87e0907cbb
Avoid external declaration for the dummy `ross_pend' variable.
2003-01-08 17:22:09 +00:00
pk
127392a5b7
Prepare for per-CPU reschedule and AST requests.
2003-01-08 17:19:53 +00:00
yamt
5f254d46cc
backout wrong assertions that i added.
2003-01-08 17:16:52 +00:00
yamt
99d625b53c
for lfs_remove/lfs_rmdir, keep removed vnodes marked VDIROP.
...
(backout parts of rev.1.40)
otherwise, directory structures can be corrupted because checkpoints can
occur via eg. lfs_vflush before parent directory is written.
2003-01-08 17:14:58 +00:00
fvdl
9f4eb04ccb
Print some OEM version info for the R/XSDT. Can be used to help identify
...
buggy ACPI implementations.
2003-01-08 16:52:49 +00:00
pk
d3db019efd
Make pv_uncache() and pv_cacheflush() static functions.
...
Split pv_cacheflush() in sun4/sun4c and sun4m/sun4d versions.
2003-01-08 16:16:46 +00:00
reinoud
4a291c5614
Fixup serious loading problems (together with the former commit of start.S)
...
major code cleanup esp. types used. Also cleanup up a major BUG that for
some odd reason worked :-/ makes me puzzled. It signifies that there might
be copies around in physical space of the DRAM ??? and thus its function
was motherboard dependent? It must have been old cruft from before the
cleanup of the relocation engine.
2003-01-08 16:10:53 +00:00
yamt
69f1c0cb29
in set_dirop/endop, use normal vref/vrele instead of lfs versions
...
so that we don't miss lfs_inactivate.
2003-01-08 15:43:29 +00:00
yamt
ee36fccabb
add assertions.
2003-01-08 15:40:54 +00:00
yamt
49d2b56b43
use lfs_unmark_vnode instead of duplicated code fragments.
2003-01-08 15:40:04 +00:00
reinoud
34ce26d1fc
From the comment :
...
/*
* The size of the code/data to be moved is not `end - rmbase' but
* `__bss_start__ - rmbase' for the module is loaded into RISC OS
* based on the filesize where as NetBSD doesn't have to include all
* the bss space into the file itself. In some odd cases the
* relocatable module area can be smaller than the module + bss and
* thus bomb out.
*/
2003-01-08 15:29:09 +00:00
tron
5543f31d4d
Fix indendation problem in entry for "pckbc* at acpi?".
2003-01-08 13:41:17 +00:00
fvdl
864739bdee
DUMMY_NOPS is gone, replace it with an inverted, less confusing option:
...
PIC_DELAY. To be used on very old machines.
2003-01-08 13:20:26 +00:00
fvdl
524c804fc9
Define ACPI_MADT_DEBUG externally.
2003-01-08 12:33:03 +00:00
oki
31789669fa
Use uprintf for debug print.
2003-01-08 12:29:44 +00:00
msaitoh
f0f871744a
remove cinit()
...
This functions is completely null, not called from anywhere and
defined since rev. 1.1 (July 1993).
2003-01-08 12:00:25 +00:00
itojun
177ed24b8b
allocate route_in6 in struct secashead, to avoid mistakenly overrun
...
the end of secashead. Fixes PR18751.
2003-01-08 05:46:49 +00:00
pk
f4018cde22
Initialise the secondary CPUs' `spc_runtime'.
2003-01-08 01:20:56 +00:00
simonb
61593bd957
Fix a tyop and some grammar.
2003-01-08 00:41:41 +00:00
simonb
775343ebae
Fix a tyop.
2003-01-08 00:39:44 +00:00
thorpej
21c24b2090
Use the MI setrunqueue()/remrunqueue().
2003-01-08 00:00:03 +00:00
fvdl
422f1b7f01
Deal correctly with an MADT that is not found, or was already found
...
in acpi_madt_{un}map.
2003-01-07 23:05:08 +00:00
fvdl
c873a9a9a1
Remove leftover debug "mp_verbose = 1" assignment.
2003-01-07 21:11:10 +00:00
martin
9da7636a93
Add SUN4U magic to make nell work without things like WI_AT_BIGENDIAN_HACK.
...
XXX - need to move this (as well as the equivalent sparc stuff added
recently) outa here into sbus_machdep or something. We should not need
to know details of the actual bus_space implementation here.
2003-01-07 20:39:19 +00:00
fvdl
013008be77
Wrap mpbios_scanned in the right ifdef.
2003-01-07 20:13:29 +00:00
martin
2e5336f7a8
Fix broken error handling in case M_PREPEND fails.
...
Noticed by Matthias Scheeler.
2003-01-07 20:02:10 +00:00
fvdl
06b5330bc7
Add MPACPI option (commented out). Add MPBIOS option by default, it is
...
needed now to do MP BIOS MP configuration.
2003-01-07 18:55:36 +00:00
fvdl
a23660903d
Add code to configure cpus, ioapics and interrupt wiring using ACPI.
...
Shuffle some code around so that this an exist as a method next
to mpbios, both creating the same data structures. If both are
defined, try ACPI first.
2003-01-07 18:54:08 +00:00
fvdl
d2dfe3f39a
Define acpi_md_callback. It retrieves interrupt routing info if the MP
...
BIOS wasn't already used for that (currently won't happen; ACPI gets
to try first if configured).
2003-01-07 18:52:43 +00:00
fvdl
501607aeed
Disable ExtINT by default when using I/O APICs.
2003-01-07 18:51:15 +00:00
fvdl
f33d911ff7
Don't use any cpu_info structures until at least one CPU was attached.
2003-01-07 18:50:13 +00:00
fvdl
c2ff6d5b83
Add various external declarations to accomodate ACPI MP probing as an
...
alternate method to MPBIOS probing. Move some stuff common to the two
methods into mpconfig.h
2003-01-07 18:48:44 +00:00
fvdl
9352d5f785
* Add aux argument to functions called from apic_madt_walk
...
* Improve acpi interrupt fixup a bit
* Source is an array, don't compare it to NULL, instead
look for an empty string to denote a link-device-less
entry.
* For root PCI busses, try to use the _BBN method to get
numbering right.
* Add acpi_md_callback() function for MD handling after the init,
but before * at acpi probing.
2003-01-07 18:46:48 +00:00
fvdl
8db111aeb4
Fix error in ODIOCGDINFO handling caused by previous change to it.
2003-01-07 18:35:04 +00:00
rafal
f5d0c24512
Fix tyop
2003-01-07 16:37:31 +00:00
mrg
88f08d9ac1
- add a new message tag for level15 software NMI, and switch ddb to use this
...
rather than the level13 software intr xpmsg area. now DDB IPI's don't lock
the xpmsg_lock and we avoid recursion and more.
- don't actually use cpuinfo.msg.lock yet, xpmsg_lock suffices.
- reread the pending register on mbus hypersparc cpus to avoid bugs in the
h/w that cause IPI's to be missed.
2003-01-07 16:20:13 +00:00
pk
02d686d112
Simplify ddb register storage setup: remove MULTIPROCESSOR special cases
...
and keep the ddb register copies on the current stack always.
2003-01-07 16:03:03 +00:00
pk
469014c2cd
* Maintain a pointer to the cpu_info structure of the CPU being examined.
...
* Force cpu_Debugger() to have a stack frame, so tracing can at least
start off matching arguments and function calls correctly.
2003-01-07 15:15:06 +00:00
pk
004dd5ecba
#include <sys/kernel.h> for `cold'.
2003-01-07 13:12:59 +00:00
grant
3258109e78
regen
2003-01-07 12:20:10 +00:00
grant
0a49647d6b
add Cambridge Silicon Radio and their Bluetooth USB Adapter.
2003-01-07 12:19:16 +00:00
pk
63b5299d1e
Let all CPUs play..
2003-01-07 12:09:00 +00:00
pk
e1dfbff267
xcall: use splclock() to prevent interrupts that want the kernel lock.
2003-01-07 10:57:18 +00:00
mrg
141297688f
revert (most of) previous
2003-01-07 10:31:56 +00:00
itohy
87d5eedbbb
Delete reference to astpending, which doesn't exist any longer.
2003-01-07 09:57:01 +00:00
mrg
c0338e49bf
don't do the xcall() dance on sun4d for the cache flushing, but do make
...
sure we're only doing one flush at a time...
2003-01-07 05:57:37 +00:00
jmcneill
4d08051d29
*soren* remember <SPACE><TAB> in config files :-)
...
Space-Tab-ify ACPI examples.
2003-01-07 03:19:38 +00:00
aymeric
295b9d4d25
fake up a dv_cfdriver entry before calling config_search().
...
config_search() does not do the lookup for us anymore.
2003-01-07 00:13:19 +00:00
reinoud
cb83efc9b8
Fix miscelanious small errors that arose from having non Mb aligned memory
...
for the videoscreen.
2003-01-06 22:46:36 +00:00
matt
5d09a84558
Add multiple inclusion protection.
2003-01-06 21:02:18 +00:00
wiz
1035faff1d
writable, not writeable.
2003-01-06 20:30:28 +00:00
pk
0a66c7efe5
Protect FPU context switching with its own lock.
2003-01-06 18:32:31 +00:00
reinoud
7cffe83841
Small fixes that showed up during boot-testing of a Pace DSL4000 running
...
the RISC OS-STB 4.0.0 version of RISC OS.
2003-01-06 18:22:00 +00:00
lukem
4bb41ae2f2
Rework how KERNOBJDIR functions; now it's always determined with
...
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.
The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.
This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.
Per lengthy discussion with Andrew Brown.
2003-01-06 17:40:18 +00:00
reinoud
3630c2d8c4
Remove loadfile_machdep.h from being installed
2003-01-06 17:00:12 +00:00
christos
e3d4676095
fix typo, from David Laight.
2003-01-06 15:20:24 +00:00
mrg
675149a358
- md_fpumid = -1 => md_fpu = NULL, in some #ifdef FPU_DEBUG code
...
- only call KERNEL_PROC_UNLOCK() if we called KERNEL_PROC_LOCK() originally.
2003-01-06 14:16:10 +00:00
christos
b377fbeacd
oops, forgot to rename two struct refs.
2003-01-06 14:09:42 +00:00
wiz
c053751628
compatibility, not compatiblity.
2003-01-06 13:26:24 +00:00
wiz
a2278794f4
descriptor, not decriptor.
2003-01-06 13:19:51 +00:00
wiz
4824190751
transmission, not transmition.
2003-01-06 13:17:01 +00:00
wiz
c6f1277bfa
synchronous, not syncronous.
2003-01-06 13:10:25 +00:00
wiz
7e681f7063
interrupt with two rs.
2003-01-06 13:04:54 +00:00
pk
67998a8646
Move schedintr() to clock.c and initialise schedhz in initclocks(), so
...
these are available to all timer implementations.
2003-01-06 12:50:43 +00:00
wiz
45ad5c9584
successful with only one l.
2003-01-06 12:46:05 +00:00
wiz
5e442fbbdd
specified, not specifed.
2003-01-06 12:38:47 +00:00
wiz
5a91827c81
through, not throught.
2003-01-06 12:29:48 +00:00
wiz
6621e1674f
Typo and grammar fixes in comments and a printf string.
2003-01-06 12:27:42 +00:00
wiz
6d8cbf7e43
descriptor with a c.
2003-01-06 12:14:26 +00:00
pk
9a9c991837
Fix SP tlb_flush_{ctx,all} macros.
2003-01-06 12:10:46 +00:00
wiz
9a3f5034cf
No more opms on i386.
2003-01-06 11:31:39 +00:00
jdolecek
b2b3b18bd8
change the 'GPE Block%d defined as GPE%d to GPE%d' message to
...
ACPI_DEBUG_PRINT(), rather than ACPI_REPORT_INFO(); it's not very useful
normally
2003-01-06 09:33:06 +00:00
jdolecek
855a497919
only print the dot-per-method thing if debugging ACPI_LV_LOAD, too
...
ACPI_LV_LOAD was chosen quite arbitrarily; perhaps the dot printing
should be removed altogether
2003-01-06 09:30:31 +00:00
rafal
b892fa21e2
There's no cache_r5k.h yet, so don't try to include it.
2003-01-06 06:25:32 +00:00
rafal
0098f248ba
PCI fixup code for the O2. Tested with a range of 32 and 64-bit network
...
cards, but not much else. Seems to work fairly well, though.
2003-01-06 06:21:11 +00:00
rafal
c21021e6fb
Improve the interrupt code somewhat by having callers of xxx_intr_establish
...
pass in an interrupt handle (which is currently to the CRIME interrupt the
device is attached to) so the interrupt handlers know which device was the
one looking for attention.
While here, fix up PCI interrupt routing for both the on-board devices and
the PCI slots -- even though there is only one PCI slot in the chasis, the
hardware can accomodate up to three and provides an interrupt mapping for
all the PCI interrupt pins for both the internal SCSI & PCI slot and the
two "extra" slots.
2003-01-06 06:19:40 +00:00
rafal
b0e9963d23
Don't shift the pending interrupt bitmask passed to crime_intr() so it can
...
associate pending interrupts with the proper sources. Add some comments to
the vestigal ip32_intr_establish() on what it really *should* do.
2003-01-06 05:59:34 +00:00
rafal
1e74cf4267
Postpone DDB/KGDB init until we know the machine type, so the debugger can
...
be attached to the right place, twiddle the right watchdog registers, etc.
2003-01-06 05:56:00 +00:00
christos
e1c163ef05
avoid name collision [class_stats]
2003-01-06 03:44:23 +00:00
reinoud
340ca7145e
We have version 3.02 now : just a small fix for bootkernel name guessing.
2003-01-06 02:54:03 +00:00
sommerfeld
df5660c9f3
Fix build glitch.
2003-01-05 23:23:43 +00:00
sommerfeld
7b74535513
When moving the cursor down, only scroll up if cursor is exactly at
...
bottom of scroll region; don't scroll if below scroll region.
Should fix kern/11827
2003-01-05 23:20:00 +00:00
sommerfeld
52b083a154
Add symbolic names for MSR's used by SYSENTER/EXIT.
...
(I was experimenting a while back, might as well commit this one file..)
2003-01-05 22:47:13 +00:00
christos
125b1a5718
Regen, err. Gen.
2003-01-05 22:34:35 +00:00
christos
11bbaf4453
Infrastucture for ACPIVERBOSE
2003-01-05 22:33:53 +00:00
christos
c601b2355e
add ACPIVERBOSE; while I am there, fix the eval_string function so it does
...
not leak.
2003-01-05 22:33:21 +00:00
christos
a731ae7dc4
add ACPIVERBOSE [commented out]
2003-01-05 22:31:13 +00:00
jmcneill
65c6c82f48
Document all known ACPI devices and options (disabled by default).
2003-01-05 21:44:32 +00:00
pk
9df7616ed3
Combine the various sun4m/sun4d TLB flush routines into a hand-coded
...
assembler version.
2003-01-05 19:38:42 +00:00
pk
c0142e4ded
Print the cpu number in many pmapdebug-controlled debug traces.
2003-01-05 19:31:12 +00:00
pk
113229a2cb
trap(T_FPE): reset the `p_md.md_fpu' when preempting the FPU.
2003-01-05 19:26:17 +00:00
briggs
6e51b83bf3
Add mlx. Pointed out by Daniel Eggert in PR 18487.
2003-01-05 19:21:44 +00:00
jdolecek
fd682b678b
it's sufficient to install notify handler once
...
fix a typo in error printf in acpitz_get_integer()
#if 0 the warning when there is no _TZP
2003-01-05 12:16:22 +00:00
scw
584c708e83
When detaching a ulpt device, call vdevgone() for the corresponding
...
NOPRIME minor device too.
2003-01-05 10:19:42 +00:00
takemura
cfbbdd3ae0
Fixed threshold value for Vrc4173 PIU.
2003-01-05 08:41:54 +00:00
jmc
216f0f8cde
Add some missing splx()'s noted by Krister Walfridsson
2003-01-05 08:11:33 +00:00
jmc
da000bb65b
Remove arbitrary bufcnt limit in at_output.
2003-01-05 08:03:45 +00:00
jmcneill
3e467b8109
Print something a bit more informative when displaying 'not configured'
...
messages for objects without a valid HID.
2003-01-05 06:19:05 +00:00
dsainty
97f7cada0b
Make the ubt driver functional. This is an experimental, incomplete, but
...
actually functional driver. It provides a local HCI interface to the
HCI-over-USB interface on standards-compliant Bluetooth USB devices.
Currently this device can be attached to the bthci driver for direct user-land
access to the device.
2003-01-05 05:20:20 +00:00
dsainty
466f76bf7b
Make the bthci driver functional. This is an experimental, incomplete, but
...
actually functional driver. It provides user access through a character
device to a Bluetooth HCI capable driver.
The device interface is the same (open/read/write) as the RAW HCI socket
(socket/recv/send) interface provided by the Linux and FreeBSD netgraph
Bluetooth stacks. This allows a (very small) number of diagnostic programs to
be trivially ported and actually work.
2003-01-05 05:12:38 +00:00
dsainty
6957647e8b
Move #define UBT_DEBUG from ubt.c to usb_port.h
2003-01-05 03:48:18 +00:00
fvdl
eff9b6d311
Add some code to deal with the MADT.
2003-01-05 01:03:44 +00:00
thorpej
1106d42424
On the IBM 4xx, don't enter DDB on user mode traps. Fixes
...
port-powerpc/19662.
Some minor cleanup while here.
2003-01-04 23:46:11 +00:00
wiz
617b132aac
Spell output with two ts.
2003-01-04 23:43:02 +00:00
tsutsui
0d588a6b61
Add options MIIVERBOSE.
2003-01-04 21:09:31 +00:00
pk
3e2e9af6c9
Grab the kernel lock on interrupts at level IPL_CLOCK and lower.
2003-01-04 19:25:36 +00:00
pk
5e73320f0f
Re-arrange the fields in struct cpu_info such that the most heavily used ones
...
are together, to reduce cache stomping.
2003-01-04 18:54:45 +00:00
thorpej
4f162f46b9
Make this compile without DDB.
2003-01-04 18:14:48 +00:00
thorpej
296dfde575
Remove KERNFS silliness.
2003-01-04 18:14:22 +00:00
thorpej
c72ac1fcf2
Don't fail the kernel build if dbsym fails.
2003-01-04 18:13:51 +00:00
tsutsui
c1acc622c0
Check chip type first in mbe_g2_detect() to reduce unexpected device access
...
in mbe_g2_match() when the device does not exist.
2003-01-04 18:10:18 +00:00
thorpej
62a4b10f83
Make this compile without DDB.
2003-01-04 18:04:43 +00:00
mrg
a8699889af
use "booted_device" when calling setroot(), so that raidframe autoconfigured
...
root works... now with a "/boot" partition holding /ofwboot & /netbsd i can
have a raidframe root without hard coding root at in my kernel.
2003-01-04 17:00:27 +00:00
martin
d30bd703a5
Cast off_t expression to long long to match format even on 64 bit
...
plattforms.
Shouldn't we introduce a PRIoff_t macro to create such format strings?
2003-01-04 15:42:35 +00:00
manu
f656d621e7
Here we enter the land of IOKit where the shadows lie.
...
There are two new mach traps:
mach_vm_make_memory_entry, mach_host_get_io_master. Now we need to find
the documentation to understand what they are supposed to do.
2003-01-04 15:15:01 +00:00
manu
4b219b054a
I don't know where I saw this 8 bit shift for the inherit argument of
...
vm_inherit, but it's not usefull (it's even harmful), so remove it.
WindowServer still crashes but later.
2003-01-04 13:17:07 +00:00
pk
f6fc3bd5fc
new cpu_switch: SMP: even if we pick up the same process after idling, we
...
must reset its context as the process might have run on another cpu in
between and had its context changed, e.g. by exec(2).
2003-01-04 11:09:18 +00:00
jmcneill
1e3dfcd74c
Initial support for ACPI Thermal Zones. For now, we only export the zone
...
temperature to sysmon; in the near future we should be associating devices
in this thermal zone with this device so we can do active or passive
cooling on a zone-by-zone basis.
2003-01-04 05:36:03 +00:00
jmcneill
4d5c7fa4ba
Attempt to attach drivers to devices without a valid HID so long as they're
...
not of type ACPI_TYPE_DEVICE.
2003-01-04 05:32:15 +00:00
lha
615a1ff234
From freebsd if_vr.c:1.43,1.56 and if_vrreg.h:1.11,1.14
...
- Windows put the chip in suspended mode, make sure we unsuspend
it. 1.43, by Takefumi SAYO <stake@po.shiojiri.ne.jp>
- Detect the revision of the Rhine chip we're using, and force reset
when the chip supports it. 1.65, by silby@freebsd.org
2003-01-03 19:01:09 +00:00
mrg
277fb5e18a
remove a now bogus comment from xcall()
2003-01-03 16:27:23 +00:00
mrg
68da24bd3d
- remove some dead debug code
...
- don't cross call the smp_tlb_flush*() routines on SUN4D, just ensure
that there is only one concurrent flush happening.
2003-01-03 16:24:50 +00:00
mrg
fb1500c7e1
remove dead extern fpproc/foundfpu declarations.
2003-01-03 16:21:05 +00:00
mrg
5b23b7800a
FPU save is handled in xcall() now.
2003-01-03 16:20:21 +00:00
pk
444faacaac
xcall(): consult the `cpuset' argument for posting the cross calls.
2003-01-03 15:49:11 +00:00
pk
0a78c9e13a
Define a few XCALL? shorthand macros to avoid clutter.
2003-01-03 15:44:55 +00:00
lukem
a250e57c96
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
...
"${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
pk
ff451161e2
Finish FPU context switching on SMP systems.
2003-01-03 15:12:02 +00:00
manu
7f468ee029
Bug fixes for the fake pid hack.
...
WindowServer is now able to talk with mach_init to exchange bootstrap
information.
2003-01-03 14:47:27 +00:00
christos
b5e0c9eb5b
add LK_CANRECURSE in the locking of /dev/<pid>/fd/<n> and remove the curproc
...
kludge. Thanks to fvdl.
2003-01-03 13:54:22 +00:00
manu
80d406d8fe
FIxed the way rights are recycled: the refcount makes only sense for
...
send, send once, and dead names, not for port sets and receive rights.
This make vi and telnet able to work again.
Also removed the all process right list and its lock, which got useless. The
all process lock is replaced by a per process lock, located in struct
mach_emuldata.
Also one bug fix: we did not correctly called Mach hooks for struct emuldata
initialization and release for Darwin processes.
2003-01-03 13:40:04 +00:00
martin
6833c24639
Separate the sbus bus_space_tag_t used for access to nell hardware from
...
the self constructed little endian pcmcia bus_space_tag_t used for the
client drivers.
2003-01-03 13:28:54 +00:00
martin
87a073002c
Make the *_stream_* methods always use the *_real accessors.
...
Define __BUS_SPACE_HAS_STREAM_METHODS.
2003-01-03 13:23:39 +00:00
christos
f8517f9ae2
add procfs_fd.c
2003-01-03 13:22:23 +00:00
christos
dbe6c38bc2
Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things:
...
- Is it ok to convert DTYPE_PIPE to VFIFO and DTYPE_SOCKET to VSOCK?
- XXX: Avoid locking issue in ls -Rl /proc by avoiding curproc
- Does I/O to pipes work?
- XXX: Are there security implications?
2003-01-03 13:21:17 +00:00
mrg
7bd617d237
part one of bus_space(9) fixes to enable bus spaces to override the
...
bus_space_{read,write}_[1248]() functions, which will allow 16-bit
PCMCIA support to work without additional hacks in MI drivers.
this option is not enabled yet.
2003-01-03 11:57:45 +00:00
rafal
3021da226f
Cosmetic fix -- move __HAVE_MIPS_MACHDEP_CACHE_CONFIG to "MIPS specific
...
options" section.
2003-01-03 10:30:00 +00:00
dsainty
8644ee7fa0
Remove protoype for irframe_frame_available(), it's never implemented
2003-01-03 09:46:41 +00:00
pk
947028ed94
reverse mailbox physical address check: now warn if it's not I/O space.
2003-01-03 09:22:11 +00:00
pk
3f5be1863e
srmmu cache flush: use to the CPU context parameter; this is now required.
2003-01-03 09:19:03 +00:00
rafal
0cff9e28dc
Checkpoint of O2 work by Chris Sekiya and myself. This is the sgimips bit;
...
still needs some arch/mips support code before it will fully work.
2003-01-03 09:09:21 +00:00
rafal
b983746705
Also remove `options MIPS3_5200' since nothing uses it ATM.
2003-01-03 08:18:20 +00:00
rafal
2d6f1ac150
The Tigon driver is known to have issues on BE systems, so remove it (I got
...
the card probed & attached, but had to hack the driver source to even get
it that far and it had issues after that which made me punt on it).
2003-01-03 08:14:44 +00:00
junyoung
49f022f378
Fix typo. PR#19619.
2003-01-03 08:05:22 +00:00
rafal
f2c485b280
Move console setup after we've determined machine type so the console init
...
code can guess where to find a console depending on machine type.
2003-01-03 06:26:06 +00:00
rafal
fe84d50d7e
Mark the CRIME/MACE register twiddling done after autoconfig with an XXX so
...
it gets cleaned out when the interrupt registration code is capable of doing
the interrupt mask setup itself.
2003-01-03 06:24:18 +00:00
takemura
285679b875
Added new ioctl command, WSMOUSEIO_GETID to tell touch panel identifier
...
for tpctl(8).
2003-01-03 04:36:26 +00:00
thorpej
42b7b023b2
Bump rev to 1.6L ... new autoconfiguration message printing routines.
2003-01-03 02:47:30 +00:00
thorpej
81c6d35e2b
Remove obsolete MACHINE_ARCH -> arm32
2003-01-03 02:40:57 +00:00
thorpej
c2e9de7319
Don't define -D${MACHINE} in Makefile.arm. Instead, let platforms
...
that care define it themselves. Note that evbarm NO LONGER defines
-D${MACHINE}.
2003-01-03 02:34:48 +00:00
thorpej
bc45f5ceeb
Split board-specific Makefile fragments into their own files.
2003-01-03 02:16:26 +00:00
thorpej
e5afd96a97
Use the common linker script for all evbarm platforms.
2003-01-03 02:02:11 +00:00
thorpej
b179f9cf73
Use the generic irq_dispatch.S
2003-01-03 00:55:59 +00:00
thorpej
6620220d46
Use the generic irq_dispatch.S
2003-01-03 00:41:19 +00:00
thorpej
074858daeb
Fiddle with current_intr_depth in assembly code again. Because we
...
have just pushed a frame, we can make some assumptions that the
compiler cannot as easily make, and can thus do it slightly more
efficiently.
2003-01-03 00:38:16 +00:00