Commit Graph

1184 Commits

Author SHA1 Message Date
deraadt ed575390ee pmap.c, machdep.c, autoconf.c, cpu.c, intr.c, : net-posted patches from Torek
autoconf.c: mountroot kludges that need fixing later
clock.c: two volatile decls
conf.c: stategy()'s return void, *tty[] not tty[], __P()'d xxdump() calls,
	add mem_no, *constty[] not &cons.
genassym.c, machdep.c: sys/vmmeter.h needed
intr.c: make kernel writable temporarily in intr_fasttrap()
intr.c: do not use NETISR_ARP
locore.s: icode maps at 0 so do not relocate, don't define __main here.
machdep.c: don't have sysctl.h (yet), use vm_page_free_count for freemem,
	setregs() sets pc/npc/stack, note: signal delivery code needs
	fixing, add various other NetBSD function stubs.
pmap.c: do kernel_pmap/kernel_pmap_store the old way, delete
	vm_page_startup_initialized weirdness.
swapgeneric.c: everything about mountroot needs fixing, help.
trap.c: sunsys -> sun_sysent, etc.
vm_machdep.c: don't use cpu_coredump() for now.
1993-10-11 02:16:12 +00:00
cgd e98e3183fc get rid of a few ref's to buffer_map 1993-10-11 02:11:28 +00:00
deraadt d9ead6b6f5 TDR: config file i'm testing with
files.sparc.newconf: a files file that works
files.sparc: old name for above file, might as well delete
1993-10-10 11:19:26 +00:00
deraadt 5dbfa8c726 need these 1993-10-10 11:18:03 +00:00
rgrimes d466119aa4 Convert space to tabs on the trapframe and sigframe lines 1993-10-10 07:23:34 +00:00
rgrimes 4119b752e0 Add symbols KERNSIZE and PDRSHIFT so that they can be used along with
KERNBASE to caclulate several constants in locore.s used for setting
up the vm system.
1993-10-10 07:07:52 +00:00
cgd f017d3a03f deal with the libc "arch" change 1993-10-10 01:53:09 +00:00
mycroft 4cbf1951c1 Put back assembler versions of setrq() and remrq(). GCC 2 is just too lame. 1993-10-09 22:49:29 +00:00
mycroft c8431a9508 Add locore2.c as standard. 1993-10-09 22:17:36 +00:00
mycroft 99e736549a Remove `device-driver' flags. 1993-10-09 08:55:24 +00:00
cgd 7b64280a28 patch from rod grimes:
Fix definitions to be in terms of a minimum number of constants by
using the SHIFT value as the basis for the other values, for example
instead of:
#define         NBPG            4096
#define         PGSHIFT         12
use:
#define         PGSHIFT         12
#define         NBPG            (1 << PGSHIFT)
1993-10-09 01:35:50 +00:00
cgd f51618137b genassym needs a dependency... 1993-10-09 00:31:21 +00:00
cgd 3ae2c70acd sometimes we want a profiled libkern. i can't ever see wanting a
PIC one...
1993-10-07 19:40:36 +00:00
cgd 0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
cgd 13a840d756 generalize kernacc() to any protections in the function "kerncheckprot()",
and prototype it.
1993-10-06 23:38:19 +00:00
cgd fa29c74cd0 fix the mmap of kmem somewhat, but it's still not perfect...
(or, at least, it crashes the machines in some situations where
i don't think it should...)
1993-10-06 23:37:09 +00:00
cgd d4435d2bd4 get rid of excess target line for machdep.o 1993-10-06 21:19:11 +00:00
mycroft 004534e441 Add FASTLINKS. 1993-10-06 12:15:33 +00:00
mycroft 501c1b99ad Add cy. 1993-10-06 12:14:31 +00:00
mycroft 8cc28d314c Merge changes from trunk. 1993-10-06 12:09:35 +00:00
mycroft e9b92335b0 Add DRQUNK and IOBASEUNK. 1993-10-06 12:09:25 +00:00
andrew 81a9642670 Added entry for Cyclades Cyclom-{4/8/16}Y multiport async serial board
driver.
1993-10-06 09:31:30 +00:00
andrew e256404adc Cyclades Cyclom-{4/8/16}Y multiport async serial board driver. 1993-10-06 09:30:16 +00:00
andrew 13a48b8263 Goes with the new cy driver. 1993-10-06 09:27:27 +00:00
cgd a84055b552 use the ALIGN macro to align the stack, rather than rounding up
by a (char *).  the former is safe, even on strange machines
(read: sparc).
1993-10-06 07:27:58 +00:00
cgd 714fa4716b changed the Debugger() call, which not all kernels have, to panic(),
but only when DIAGNOSTIC is defined.
1993-10-06 07:24:21 +00:00
cgd f09334ef6c we need the buffer hack again, now that we have a real vfs_bio... 1993-10-06 02:06:49 +00:00
phil 61a498a571 Fixing the SCSI DMA EOP problem. 1993-10-05 21:37:02 +00:00
phil 46cc20d10e Fixed bug in calculation of nbuf and bufpages. 1993-10-04 16:09:28 +00:00
cgd a92b57431b make nbuf = bufpages, now that vfs_bio can do the rational thing. 1993-10-04 04:57:09 +00:00
cgd 772436479d new, improved, and rationally-implemented vfs_bio. no more serious
structural changes should happen, as it now does the right thing
w.r.t. buffer resizing and having lots of buffers vs. relatively
little buffer space.  Ports can now "do the standard thing", re:
nbuf and bufpages, which is make nbuf = bufpages by default.
1993-10-04 04:56:28 +00:00
pk 3387aa5184 Defined exec header flag for dynamically linked executables and shared objects. 1993-10-02 20:08:19 +00:00
deraadt 4588caefaa Chris Torek's sparc port. Missing lots of things. 1993-10-02 10:22:00 +00:00
mycroft 9a1fcf008b Update after fixing syscalls.master. 1993-10-02 09:55:09 +00:00
mycroft c05111e593 Put back the $'s in the RCS id that the last commit removed. 1993-10-02 09:51:40 +00:00
mycroft 614a71039d Call output routine redundantly to possible avoid some hangs due to missed
interrupts.
1993-10-02 09:28:04 +00:00
mycroft 188ab15167 Ignore carrier if not using hardware carrier detect (i.e. CLOCAL is set). 1993-10-02 08:55:16 +00:00
cgd 174c25bd21 add mmmmap (mem device mmap routine). possible problems:
(1) the 'physmem' constant has a value which i don't think is
		correct
	(2) not sure what happens if you mmap a region of kmem which is
		not in the kernel's address space...
1993-10-02 00:16:24 +00:00
cgd 95e5868ee2 allow an offset to *really* be passed in for mmap's on devices.
From Julian Elischer.
1993-10-02 00:00:21 +00:00
mycroft ee70c53e3f Display a less cryptic message when the ring buffer overflows. 1993-10-01 23:12:04 +00:00
mycroft f969ea9aa8 Fix probe routine to work for multiple controllers. 1993-10-01 23:07:27 +00:00
phil b8234df3d9 Catching up with NetBSD current. 1993-10-01 23:01:01 +00:00
mycroft 018d1230b2 Read ethernet address correctly on NE1000 boards. 1993-10-01 22:59:57 +00:00
phil 404b011213 Updating to current versions. Still not working. 1993-10-01 22:59:31 +00:00
cgd e27f6e3ea0 patch from Christoph Badura <bad@flatlin.ka.sub.org> to fix credential
use by read-ahead blocks.  This fixes those weak NFS authentication
messages, and allows us to use BSDI NFS servers again...
1993-10-01 21:47:11 +00:00
mycroft 4d4bfb2287 *** empty log message *** 1993-10-01 04:00:45 +00:00
davidg 892a4681ae * Revision 2.5 93/09/30 17:44:14 davidg
* patch from vak@zebub.msk.su (Serge V.Vakulenko) to work around
 * a hardware bug in cheap WD clone boards where the PROM checksum
 * byte is always zero
 *
 * Revision 2.4  93/09/29  21:24:30  davidg
 * Added software NIC reset in NE probe to work around a problem
 * with some NE boards where the 8390 doesn't reset properly on
 * power-up. Remove initialization of IMR/ISR in the NE probe
 * because this is inherent in the reset.
 *
 * Revision 2.3  93/09/29  15:10:16  davidg
 * credit Charles Hannum
 *
 * Revision 2.2  93/09/29  13:23:25  davidg
 * added no multi-buffer override for 3c503
 *
 * Revision 2.1  93/09/29  12:32:12  davidg
 * changed multi-buffer count for 16bit 3c503's from 5 to 2 after
 * noticing that the transmitter becomes idle because of so many
 * packets to load.
 *
 * Revision 2.0  93/09/29  00:00:19  davidg
 * many changes, rewrites, additions, etc. Now supports the
 * NE1000, NE2000, WD8003, WD8013, 3C503, 16bit 3C503, and
 * a variety of similar clones. 16bit 3c503 now does multi
 * transmit buffers. Nearly every part of the driver has
 * changed in some way since rev 1.30.
1993-10-01 02:01:43 +00:00
mycroft fcb280ab19 Add FS_CLEANFREQ. 1993-10-01 01:47:10 +00:00
cgd 24e6bb5b6f do the virtual space hoop-jumping for the new vfs_bio;
still need to adjust 'buffers'.
1993-09-30 21:41:20 +00:00
mycroft e57ef97529 Add LKM. 1993-09-30 20:15:25 +00:00