Commit Graph

44044 Commits

Author SHA1 Message Date
drochner 88b626a585 make compile w/o MULTIPROCESSOR 1998-09-29 15:55:47 +00:00
tv b8aba69399 Bracket stray printf()s by #ifdef DEBUG. 1998-09-29 14:15:49 +00:00
christos 8e6800cd97 Missed a few preserve flags. 1998-09-29 11:47:51 +00:00
bouyer ecb13d449a LKM for ext2fs ... better late than never :) 1998-09-29 10:26:58 +00:00
bouyer b10470bc11 #include opt_uvm.h only if _KENREL and !_LKM
Make ext2fs_init() call ufs_init(). it was doing the init by itself,
testing for extern done != 0. This bug was hidden by the fact that
ext2fs_init() is called before ffs_init().
1998-09-29 10:24:57 +00:00
mrg 35d49164e0 use daemon(). remove spurious \n from rarperr() call 1998-09-29 09:21:35 +00:00
thorpej 55df520938 Can't use -traditional; __RENAME() breaks due to a limitation in the
"traditional" C preprocessor.
1998-09-29 08:28:20 +00:00
thorpej 5a5380b92b This program is icky, and will die soon. So, don't put a whole lot of
effort into it, but make it build again by casting the second arg to signal().
1998-09-29 08:27:36 +00:00
thorpej 005af97f9e Use "print-objdir". 1998-09-29 08:16:11 +00:00
lukem b569ddabe9 don't install in /usr/share if NOSHARE is defined 1998-09-29 07:33:20 +00:00
thorpej ac0d359bcb Initialize the CPU ID in the simplelock. 1998-09-29 07:29:53 +00:00
thorpej cf06751120 - Add a CPU identifier to the simplelock if LOCKDEBUG.
- Arrange for <machine/lock.h> to provide LOCKDEBUG functionality if
  LOCKDEBUG && MULTIPROCESSOR.
1998-09-29 07:29:15 +00:00
thorpej 69d81d8df1 Prototype cpu_halt_secondary(). 1998-09-29 07:07:36 +00:00
thorpej 30e4de5632 In cpu_reboot(), halt the secondary CPUs. 1998-09-29 07:07:09 +00:00
thorpej 1b8e855f2a First try at a HALT interprocessor interrupt handler. 1998-09-29 07:06:02 +00:00
thorpej 94b97dce9b CPUF_HATCHED is dead, replaced by cpus_running bitmask. 1998-09-29 07:05:30 +00:00
thorpej 99698d1a1a - Use a bitmask for "running CPUs", rather than a flag in the softc.
- Add a function to halt a secondary CPU.
- Enable interrupts on secondary CPUs once they've hatched.
1998-09-29 07:04:58 +00:00
lukem 9d8ba54bed don't install in /usr/share if NOSHARE is defined 1998-09-29 07:03:37 +00:00
thorpej 469f020ae3 Don't process CLOCK or DEVICE interrupts if we're not the primary CPU. 1998-09-29 07:02:04 +00:00
thorpej 30ec5015b1 In exception_return(), if MULTIPROCESSOR, skip software interrupts, ASTs,
and floating point handling if we're not the primary CPU.
1998-09-29 07:01:16 +00:00
lukem 67fe57924e don't install in /usr/share if NOSHARE is defined 1998-09-29 06:59:53 +00:00
thorpej 392a96cc91 Define the offset of hwrpb->rpb_primary_cpu_id. 1998-09-29 06:22:09 +00:00
christos 4d4de54f5f Make the sparc work again; some work from jason, some from me. 1998-09-29 05:55:48 +00:00
jonathan 7e427d3923 Fix gas.new configuration for mips elf: needs emul support.
arch/mips: Set emul list (EMULATIONS) and default emul (DEFAULT_EMULATION)
    in Makefile.inc. Add mips-elf emul vector to SRCS.
  config.h: add #ifndef/#endif srapper around overridden tokens.
1998-09-29 05:32:23 +00:00
scottr ce9e4beacf Simplify the asm constraints in mrg_aline_super(), in order to
less thoroughly confuse the compiler when used without -O.  Fixes
PR 5496.
1998-09-29 05:24:08 +00:00
thorpej 183f609c83 - Do not set TLCPUMASK on non-I/O nodes. That register exists only on
I/O nodes.  Previous code erroneously set it on CPU nodes only.
- In both the single- and multi-processor case, route all interrupts from
  I/O nodes to the primary CPU, for now.
1998-09-29 04:22:36 +00:00
mark ac579dca26 Overhaul for sysinst.
Remove all the gunk that sysinst does not need.
1998-09-29 03:08:47 +00:00
thorpej 2af42e072f Signal changes for Alpha. 1998-09-29 03:01:37 +00:00
jeremy 3712546023 Changed to allow the mouse baud rate to be set at kernel compile time.
Inspired by Mochida Shuji <mocid@yo.rim.or.jp>.
1998-09-29 02:46:36 +00:00
thorpej 623230f641 Need string.h. 1998-09-29 02:19:02 +00:00
thorpej 73aefe65bc If MULTIPROCESSOR, add a spin lock around the kernel printf (in the
appropriate places).  This makes debugging messages work a LOT better
on my multiprocessor Alpha.
1998-09-29 01:49:43 +00:00
erh 3c2e2c8622 This should need opt_execfmt.h. 1998-09-28 23:42:48 +00:00
jonathan e70308f9ea cleanup: Use sigemptyset() if HAVE_SIGEMPTYSET defined,
otherwise zero out entire struct sigaction.
1998-09-28 22:36:09 +00:00
thorpej 4c2e179b93 PROM doens't need to be mapped to start up the secondaries, so remove some
dead code.
1998-09-28 22:21:13 +00:00
thorpej 9bd45385a9 Turn off some debugging printfs, and kludge around a boot block bug until
I can install fixed boot blocks on my MP test systems.
1998-09-28 21:50:32 +00:00
thorpej 705cac105e Invalidate the TB and I-stream upon entry, and fix a typo in the wrkgp call. 1998-09-28 21:48:50 +00:00
jonathan 1d4590b75f sa_mask (sigset_t) is no longer integral, so initialize to zero via
function call. Code is used on OSF/1, too, so no __sigemptyset.
1998-09-28 21:41:23 +00:00
jonathan 0663f303b1 Back out rev 1.6: passing "-nostdlib" to binutils ld results in
binaries that abort immediately on exec().  binutils ld apparently
treats "-nostdlib" as a set of one-char options?)
1998-09-28 21:37:11 +00:00
thorpej 34a8ac8484 Set the primary CPU's PAL revision to the OSF/1 PAL revision after switching
to it, per the Green Book (pointed out by Chris Demetriou).
1998-09-28 21:21:55 +00:00
drochner 864b7d54c6 Use the "atime" instead of "mtime" of the remote root directory as
base for inittodr() - it is closer to the current time.
1998-09-28 21:20:52 +00:00
thorpej 5caecb6ae0 Fix for some EGCS warnings. 1998-09-28 21:18:55 +00:00
jonathan 054397a8ac reach-over config headers for binutils as on mips. 1998-09-28 21:11:21 +00:00
matt bf8783afa4 Fix the receive length so it includes the extra bytes in the fddi_header. 1998-09-28 20:37:12 +00:00
tv 9c3d862cfb Fix -nostdlib handling: don't make that option drop the "-e __start" from
the ld command line.
1998-09-28 19:25:28 +00:00
thorpej adb7eb514d sigaction() that calls the compat syscall (jonathan forgot to commit this). 1998-09-28 19:01:28 +00:00
matt 43b462df88 Insert the FDDI control bytes in pdq_ifstart before we load the dmamap
and dmasync the data.  Fix pdq_os_receive_pdu to use PDQ_OS_HDR_OFFSET
instead of PDQ_RX_FC_OFFSET.
1998-09-28 18:01:43 +00:00
rvb 976280c933 I want to distinguish from DEBUG printouts and CODA_VERBOSE printouts.
The latter are normal informational messages that are sometimes
interesting to view.
1998-09-28 17:55:21 +00:00
kleink cc46a13dac Move 1003.1c-1995 declarations inside the appropriate name space protection
wrapper, and make sure we won't use these decl's as such with C++ linkage(!).
Also, make _XOPEN_SOURCE protection of popen()/pclose() decl's a bit more
restrictive.
1998-09-28 17:47:58 +00:00
rvb 42fb3deffa Perry asked for a line about Coda 1998-09-28 17:14:31 +00:00
matt a1528c368d Fix transmit handling (this also should speed up transmits
slightly).
1998-09-28 17:13:54 +00:00