Commit Graph

107194 Commits

Author SHA1 Message Date
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 6146c9c6ad Remov BUGS section - the last known one has been fixed. 2003-01-07 20:47:12 +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
jonb 17f2be3d4e describe the CFATTACH decl macro, rather than defining struct cfattach 2003-01-07 17:13:07 +00:00
wiz 078d3d03c9 Remove superfluous word. 2003-01-07 17:12:54 +00:00
jonb 91fbd06a37 What is error.h? Perhaps it should be errno.h?... 2003-01-07 17:11:28 +00:00
pooka 9659091d7a Take descriptions for pcap_file() and pcap_fileno() from libpcap-current
man page. The previous descriptions were horribly wrong.
2003-01-07 16:51:20 +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
taca eb37d628b3 Fix compile error with DEBUGMAIN. 2003-01-07 15:04:54 +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
tron 7c891035f6 Use "%u" instead "%d" in format string for bytes count reported at
termination. This should fix PR bin/19713.
2003-01-07 09:02:21 +00:00
tron 2005231632 Revert last change for now. It causes hangs during system shutdown when
NFS filesystems are mounted.
2003-01-07 08:41:55 +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
christos eca381fce4 mention ACPIVERBOSE 2003-01-06 19:43:58 +00:00
wiz 8047beb408 regen (+ld, mlx). 2003-01-06 19:27:27 +00:00
wiz 1aad114a16 Bump date for -b, -I addition; drop trailing whitespace; separate SEE ALSO
entries with a comma.
2003-01-06 19:26:17 +00:00
wiz 82485d79c7 New sentence, new line. Bump date for BUGS update. 2003-01-06 19:18:29 +00:00
wiz 74994bbeaf Add comments for ld and mlx (hi allen!). 2003-01-06 19:14:51 +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