Commit Graph

9317 Commits

Author SHA1 Message Date
cgd
206e66a5a4 resort cpu option list 1996-11-12 18:05:27 +00:00
cgd
45ba05f710 convert cpu-dependent routine selection to use a centralized CPU switch, thus
deleting (and cleaning up) N pages of #ifdefs in machdep.c.  While we're
at it, make the cpu type options generate flags, and check them instead of
kernel Makefile defines.
1996-11-12 05:14:27 +00:00
jtc
46ab334aef Changed condition used to determine whether to do the overlap-safe
copy to succeed only when regions actually overlap.  This improves
the performance of the average case.  Pulled from userland bcopy.S.
1996-11-12 01:49:29 +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
pk
a65399dce0 Need to include <machine/param.h> 1996-11-11 23:53:45 +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
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
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
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
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
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
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