Commit Graph

23375 Commits

Author SHA1 Message Date
pk 8aa79b5600 Declare `uk' device. 1996-11-11 23:58:48 +00:00
pk 8896ec778e Declare `cgtwo' and `rd' character devices. 1996-11-11 23:57:12 +00:00
pk 615fe88f6f Add missing entries: cgtwo, uk, ss 1996-11-11 23:54:56 +00:00
gwr a0b75afc0b * Eliminate all shift/reduce conflicts in the grammar. This
requires that some ordering requirements are checked by the
  back-end C code instead of the parser (dirspecs, maxpart).

* Be more careful to require newline tokens in the grammer where
  they are expected, and deal with blank lines, etc.  This allows
  elimination of a trailing context on newline in the scanner.

* Let the parser set values for "needs-count" and "needs-flag"
  instead of making those special cases in the scanner.

* Get rid of '= ' preceeding actions (obsolete yacc syntax)

* Make the scanner not insert an extra newline after includes.
  (It was just an accidental side-effect of the ENDFILE stuff.)
1996-11-11 23:54:17 +00:00
pk a65399dce0 Need to include <machine/param.h> 1996-11-11 23:53:45 +00:00
gwr 91118cc6ae Move setupdirs() here -- it is now called from scan.l (include). 1996-11-11 23:41:54 +00:00
gwr 1ed260c698 Move some externs to where they are needed. 1996-11-11 23:40:09 +00:00
gwr 3b2cf54383 Be honest about the fact that this program builds only with flex. 1996-11-11 23:36:40 +00:00
pk 618f2d5911 Eliminate lots of expr(1) calls, as suggested by Charles. 1996-11-11 22:34:51 +00:00
jonathan 0bbccb98a0 Change "___mcount" -> "__mcount" in asm() code in arch/mips/include/profile.h.
Fixes profiling for non-underscore-prepending toolchains
(elf, e.g.,  shared libs), and breaks a.out/ecoff  toolchains.

May  break mips kernel profiling too.  Needs more thought, since the
original intent of __mcount vs ___mcount on mips date back to pre-1.0 days.
1996-11-11 22:13:29 +00:00
cgd bf40f3eaba add DEC_EB164 option, to include nascent eb164 support 1996-11-11 21:15:28 +00:00
cgd d05ae32976 alphabetize and clean up machine-specific files, add eb164's machine file 1996-11-11 21:10:58 +00:00
cgd 8ffccdfae0 preliminary support for the EB164. The EB164 is more or less a 'normal'
21164 + 21172 box, with Yet Another Way of doing interrupts.  The
interrupt mapping and handling code hasn't been written yet, and none
of this code has been tested.  (Checkpoint of work in progress.)
1996-11-11 21:08:10 +00:00
cgd b422a87601 add more system type names, to match new system type numbers. Also, add
appropriate bits of code to support the EB164.
1996-11-11 21:03:09 +00:00
cgd f8ab7cfbcd clean up some spacing in switch statements 1996-11-11 21:02:32 +00:00
cgd 335926a2d0 add system type numbers up to 28, add the EV56 processor type number. 1996-11-11 20:59:02 +00:00
jonathan bbcd2bb1ef Elf32 fixes for mips shared libraries:
* handle interpreters with nonzero virtual address of entry-point:
   subtract p_vaddr from computed entrypoint, as the mips elf exec did.

 * Add #ifdef ELF_INTERP_NON_RELOCATABLE/#endif around the code
   that tries to choose a `good' address at which to load an interpreter,
   if none was set by the emul probe  function.
   (the address chosen could be improved to avoid  fragmenting the
    process virtual address space).

 * define ELF_INTERP_NON_RELOCATABLE in machine/elf_machdep.h for mips CPUs,
   which currently use a GNU-derived ld.so.

ELF_INTERP_NON_RELOCATABLE is not necessary for native NetBSD/alpha ELF
binaries. It may be required for GNU-derived ELF dynamic loaders (Linux/i386?)
1996-11-11 20:33:10 +00:00
jonathan 502d34d915 Eliminate old mips/mips/elf.c ELF exec code.
Don't call into from the a.out exec hook; don't configure it into kernels.
1996-11-11 20:23:39 +00:00
scottr 563b939722 Remove unused MAXFDESCS option. Closes PR 2927, noticed by Erik
Bertelsen <erik@aarhus1.uni-c.dk>.
1996-11-11 18:02:57 +00:00
scottr b0aafba53e Remove TIMEZONE and DST, as they default to 0 anyway 1996-11-11 17:56:11 +00:00
is fc0d547f62 oops; converted twice from hex to decimal earlier 1996-11-11 15:33:57 +00:00
christos 2f197a9f4d Fir PR/2930: declare missing variable. 1996-11-11 15:16:10 +00:00
mycroft 72d4e71f08 Remove remaining vector cruft. 1996-11-11 14:18:49 +00:00
mycroft c9ec05f4b2 Treat reboot() like a normal system call. From PR 2458. 1996-11-11 13:41:08 +00:00
jonathan 22858f6aed Eliminate old mips/mips/elf.c ELF exec code.
Don't call into from the a.out exec hook; don't configure it into kernels.
1996-11-11 07:45:30 +00:00
mikel 032c652e4f Update name of KVM database. 1996-11-11 06:38:00 +00:00
mycroft 5711873831 Build _eh.o. Reported by Simon Gerraty. 1996-11-11 01:06:54 +00:00
lukem 1be2e46708 fix the the typos (and 1 other) 1996-11-11 00:22:47 +00:00
lukem 5d37ffa7eb fix the the typos 1996-11-10 23:58:22 +00:00
leo 27c222f3e8 Add frequency table for Hades. 1996-11-10 21:52:37 +00:00
pk e0648652c2 Sync with eval.c. (What's this file doing here, anyway?). 1996-11-10 21:23:53 +00:00
pk b70febb8c1 Use COMMA in stead of ',' when pushing items back on the stack, for
consistency with the macro parsing routine. Suggested by Brian Grayson.
1996-11-10 21:21:29 +00:00
scottr df8e1c8a09 VT220-related emulation additions:
- Add reset attribute sequences for bold, underline, and reverse
 - Add insert/delete line sequences
 - Recognize but ignore G0/G1 character set sequences

Performance:
 - Speed up clear_line() when clearing the entire line

Also, some stylistic changes for checking/setting scroll region bounds
and in putc_getpars().

These changes make the ITE work properly with the 1.2 termcap file.
1996-11-10 09:35:04 +00:00
thorpej 26a25a87b2 Optimization of soqinsque() and soqremque():
Keep queue of pending sockets in a double linked list.  Previously,
a singly linked list was used, giving O(N) insertion/deletion times,
and was a major time consumer for sockets with large pending queues.
The double linked list give O(C) insertion/deletion times with only
a small cost in complexity.

Since a socket can be on, at most, one queue at a time, both so_q and
so_q0 can safely be used as (forward and backward, respectively) queue
pointers.

Submitted my Matt Thomas <matt@3am-software.com>, a long time ago.
(Geez, I've been running with this patch for _months_, and had completely
forgotten about it!)
1996-11-10 05:58:37 +00:00
thorpej e463f9241e Two things pointed out by Chris Demetriou <cgd@cs.cmu.edu>:
- The boundary argument to bus_space_alloc() should be a bus_size_t, not
  a bus_addr_t.
- The buffer arguments in the "multiple write" methods should have
  const qualifiers.

And one from me:
- Make bus_space_barrier() eat up the arguments passed to it so that
  the compiler doesn't needlessly whine.
1996-11-10 03:19:25 +00:00
thorpej 17909dbe5d The boundary argument to bus_space_alloc() should be a bus_size_t, not
a bus_addr_t.  Pointed out by Chris Demetriou <cgd@cs.cmu.edu>.
1996-11-10 03:16:17 +00:00
pk 9cb162ce6a Handle crash dumps new-style. 1996-11-09 23:47:34 +00:00
pk dbaf74ae49 Check return value of _kvm_initvtop(). 1996-11-09 23:44:53 +00:00
pk 7bc7a5533c sparc: libkvm.old => libkvm 1996-11-09 23:22:19 +00:00
pk d9a980c066 Adapt pmap_dumpsize() and pmap_dumpmmu() to new-style kernel crash
dumps according to the layout in <sys/kcore.h> and <machine/kcore.h>.
1996-11-09 23:08:56 +00:00
chuck df6962b659 fix previous byte-order fix the correct way
(from Zdenek Salvet <salvet@horn.ics.muni.cz>)
1996-11-09 23:02:27 +00:00
pk 155ab54456 New-style crash dump format requires a slighty different interpretation of
the variable `dumpsize' (used by savecore(8)) and that the CPU specific data
gets dumped first.
Also, squash a typo that prevented the crash dump to be shifted towards the
end of the swap partition. In fact, the entire dumpconf() routine has been
redone, mostly by pasting large chunks from the alpha port.
1996-11-09 23:02:17 +00:00
pk 0217df3897 Define new-style kernel crash dump format. 1996-11-09 22:52:22 +00:00
leo 1fcf303e02 Config file for the Hades. 1996-11-09 22:32:10 +00:00
leo 5d058e1b22 Add the Hades floppy driver. 1996-11-09 22:30:55 +00:00
leo 795ac1e7e2 Count in the Hades floppy driver. 1996-11-09 22:28:53 +00:00
leo 76cc53af70 Hades floppy driver. 1996-11-09 22:27:25 +00:00
chuck 5ffce6ff81 fix uninit'd variable [detected by charles] 1996-11-09 22:27:22 +00:00
leo d1e1b34b28 Move the vector-table to kernel data space, so we can write to it. 1996-11-09 22:24:49 +00:00
pk 1efc8c37b2 Flesh out the `noerror' syscall macros. 1996-11-09 19:11:17 +00:00