Commit Graph

13941 Commits

Author SHA1 Message Date
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
mycroft 72d4e71f08 Remove remaining vector cruft. 1996-11-11 14:18:49 +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
leo 27c222f3e8 Add frequency table for Hades. 1996-11-10 21:52:37 +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 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
briggs 51d658e787 Check to make sure that ASCBase is accessable before claiming that we
have an Apple Sound Chip.  Make sure that we have configured the device
before allowing accesses to ASC memory.  Among other things, this
prevents the 660AV and 840AV from getting a kernel bus error when trying
to beep on the console.
1996-11-09 17:26:26 +00:00
briggs f75767628e Dump out type, code, v on panic for no pcb in trap(). 1996-11-09 15:36:14 +00:00
chuck cabd6ddfa0 - new lpt driver, contributed by Steve Woodford <steve@mctavish.demon.co.uk>
- added 1.1 and 1.2 compat to VME147 config file
1996-11-09 03:52:51 +00:00
chuck 04550d40b6 netbsd pr#2919 (jukka.partanen@research.nokia.com):
- fix compiler warnings
1996-11-09 03:43:29 +00:00
chuck 0f3c7ec18c netbsd pr#2918 (jukka.partanen@research.nokia.com):
- fix up netnatm so that it compiles with new warning flags (and
	install headers)
1996-11-09 03:26:25 +00:00
chuck 63b98e6bb7 add ss/uk 1996-11-08 22:40:51 +00:00
chuck 5049f4d106 add ch/rd(chr)/ss/uk devices as requested by mycroft, plus some minor clean up 1996-11-08 22:00:42 +00:00
chuck ee87cfab39 apply netbsd pr#2598 from der mouse:
everything before the beginning of the "a" partition on a disk
	is read-only except when accessed via RAW_PART.   (a problem if
	"a" isn't at the front of the disk).   pointed out by pk back
	in july.
1996-11-08 20:50:55 +00:00
ws 976b43fd61 Fix panic on mkdir.
Thanks to Dave Huang for finding the bug.
1996-11-08 15:51:49 +00:00
leo 8481cf5e5b Adapt to changes in the bus-interface; bus_[mem|io] -> bus_space. Thanks Jason. 1996-11-08 14:21:02 +00:00
leo fb386a941d pba_bc -> pba_pc 1996-11-08 14:18:20 +00:00
leo 758e7a3708 Adapt to the change in the floppy minor-number sceme. 1996-11-08 14:17:08 +00:00
leo 489c388d79 Clear d0 before using it to turn off the 040 MMU. Clearing d0 was a side-effect
of the code removed in my previous commit.
1996-11-08 14:15:36 +00:00
leo 626210d212 Move the definition for the floppy device from std.atari to the different
config files because the Hades needs another driver for it.
1996-11-08 14:12:19 +00:00
explorer f0873310e2 Another quirky cdrom drive ; pr kern/2917 1996-11-08 05:06:55 +00:00
matthias eb8718eafb * Pull up files from lib/libc/arch/ns32/string.
* DEFS.h and setjmp.S are no longer in use.
1996-11-07 07:36:05 +00:00
matthias 10af6d961f * We get bcopy from libkern.o now. 1996-11-07 07:34:02 +00:00
matthias 6ed1a51b35 * libkern.o already has bcopy.o. Link it in front of libsa.a. 1996-11-07 07:33:55 +00:00
matthias a95805b41f * Define the ALTENTRY macro. 1996-11-07 07:33:28 +00:00
matthias ee011c080d * The pc532 port is now using the mi ramdisk driver.
* Use the mi version of ns_cksum.
1996-11-07 07:32:29 +00:00
matthias 5ca00f7293 * Cosmetic changes. 1996-11-07 07:32:21 +00:00
matthias 5596cf17ea * Cosmetic changes.
* Configure LKM support.
* Remove filesystems that are normally not used.
* Configure SCSI-uk driver.
1996-11-07 07:32:18 +00:00
matthias 93811ddf97 * Cosmetic changes.
* Only FFS is needed for the install kernel.
* Configure the console to 8N1 (that's what the pc532's rom monitor uses).
* The install kernel doesn't need to know about CDROM drives.
* Use the new mi ramdisk.
1996-11-07 07:32:13 +00:00
matthias 7a27370327 * Cosmetic changes.
* Configure only NFS, FFS and LFS filesystems. All other filesystems are
modloadable.
* Configure SCSI-uk driver.
1996-11-07 07:32:10 +00:00
matthias bc9eccaebb * Cosmetic changes.
* Configure SCSI-uk driver.
1996-11-07 07:32:07 +00:00
matthias 1b92fb966e * bcopy and bzero are part of libkern now. 1996-11-07 07:31:20 +00:00
mikel 752f0f5c9c Fix typo; PR port-i386/2666. 1996-11-07 07:30:19 +00:00