Commit Graph

27188 Commits

Author SHA1 Message Date
briggs
6287b4096d Changes from Denny Gentry <denny1@home.com>:
Change in the way receive buffer areas are handled.  Before we gave
the chip 16 buffers, each 1536 bytes (big enough for one packet).
Now we're handing the chip 8 buffers, each 4 Kbytes, and letting
the chip fit as many packets as it can in each one.  This should
help keep it from running out of buffer space.  Also make some of
the performance-crucial routines inline.  It made no measurable
difference except to make me feel better

Changes from Bob Nestor <rnestor@metronet.com> to get closer to support
for his Apple SONIC-based nubus card.

Changes from me to try to get SONIC's MAC address from MacOS settings if
we can't read the PROM space.
1997-04-10 03:22:45 +00:00
briggs
574874a2a9 Changes from Bob Nestor to come closer to supporting his Apple SONIC-based
nubus card.
1997-04-10 03:19:46 +00:00
cgd
db0f072019 clean these up (mostly rename bus_space_{tag,handle}_t variables) so that
this code makes equal sense for memory and I/O space, prefer to map
the PCI front end via memory space (conditionalized on a patchable kernel
variable), and do a bit of other random NetBSD-specific cleanup.  (These
changes were sent to Justin Gibbs on March 28.)
1997-04-10 02:48:38 +00:00
cgd
319b64a8f7 Internalize and externalize file descriptors being passed via local domain
socket control messages correctly, without assuming that sizeof(int) ==
sizeof(pointer).  Fixes PR#3183.
1997-04-10 01:51:21 +00:00
thorpej
016ccc25a3 This file is obsolete. 1997-04-10 01:18:49 +00:00
cgd
9e02c24964 adjust 'sticks' to be the same as on other ports (0 if trap in kernel mode).
This is a great example of gcc's bogus -Wuninitialized warnings.  even if
'user' is made const, gcc still (incorrectly!) whines.
1997-04-10 01:03:07 +00:00
pk
ea87baf550 Since all kernel regions are pre-allocated, we can safely copy kernel
mappings to a user pmap when it's created rather than at context
allocation time.  Also, do not copy the kernel's region administration
to every user pmap, especially since no memory appears to be allocated
to copy it into.

As a result of this, we must now switch to context 0 in both pmap_copy_page()
and pmap_zero_page() (XXX).
1997-04-09 23:53:40 +00:00
mycroft
f50c40bad5 Eliminate redundant calls to vm_map_pageable() and vm_fault(), as suggested by
Chuck Cranor.
1997-04-09 23:35:07 +00:00
thorpej
e59a1e5e15 Garbage-collect some things no longer needed since there are no longer
m68k4k ports.
1997-04-09 23:34:29 +00:00
kleink
116d655640 Back out POSIX.1 conformance change to lseek(2); this will be attended to
in a different way.
1997-04-09 23:26:06 +00:00
thorpej
e8183ec164 hp300 uses new savecore now 1997-04-09 22:10:23 +00:00
thorpej
71a5dfb171 hp300 uses new libkvm now 1997-04-09 21:27:15 +00:00
thorpej
b6c0c9a270 Update for new m68k/kcore.h. We use dispatch information provided
by the crash dump itself to facilitate cross-analysis.  The m68k_cmn
for Utah pmaps reads MMU configuration from the crash dump to that
this works on 4k and 8k h/w page size systems.
1997-04-09 21:15:50 +00:00
mycroft
6911ff7d13 Fix two performance issues:
* When a delayed write buffer falls off the LRU queue, arrange for it to go on
  the AGE queue after being flushed out to disk.
* When a delayed write buffer is synced, leave it in its relative position in
  the LRU queue.
1997-04-09 21:12:10 +00:00
thorpej
669065c879 Add missing argument to fprintf(). 1997-04-09 21:11:41 +00:00
thorpej
ab1101ab9c regdump() takes a struct trapframe * 1997-04-09 21:08:47 +00:00
thorpej
f224558e27 Garbage-collect regdump() and friends. 1997-04-09 21:07:26 +00:00
thorpej
16f6a6f941 Use <m68k/m68k/proc_subr.s> 1997-04-09 21:04:49 +00:00
thorpej
90c43b0333 Remove redundant file directives 1997-04-09 21:03:20 +00:00
thorpej
a2be180b39 Adjust for new kcore.h 1997-04-09 21:00:35 +00:00
thorpej
00c04fe742 Use <m68k/m68k/proc_subr.s> 1997-04-09 20:58:33 +00:00
thorpej
a32e01eedb regdump() is prototyped in m68k/cpu.h now 1997-04-09 20:56:46 +00:00
thorpej
28177dbb17 Pull in <m68k/kcore.h> 1997-04-09 20:55:47 +00:00
thorpej
6a4790ef0a Remove redundant file directives 1997-04-09 20:54:41 +00:00
thorpej
9b8a0b60b7 Pull in m68k/cpu.h to get regdump() prototype 1997-04-09 20:50:03 +00:00
thorpej
f0085f91af Adjust for new m68k/kcore.h 1997-04-09 20:49:06 +00:00
thorpej
4fb277fd75 Use <m68k/m68k/proc_subr.s> 1997-04-09 20:43:52 +00:00
thorpej
7b5647f03a regdump() is prototyped in m68k/cpu.h now. 1997-04-09 20:42:25 +00:00
thorpej
fb4514fe4d Use <m68k/kcore.h> 1997-04-09 20:40:54 +00:00
thorpej
378c9b0f3b Remove redundant file directives 1997-04-09 20:37:17 +00:00
thorpej
f28f97adfa regdump() takes a struct trapframe * 1997-04-09 20:33:48 +00:00
thorpej
d1ecda44c4 Garbage-collect regdump() and friends. 1997-04-09 20:31:39 +00:00
thorpej
63ed6b6c2f Use <m68k/m68k/proc_subr.s> 1997-04-09 20:29:18 +00:00
thorpej
f751cc440e Remove redundant file directives. 1997-04-09 20:26:43 +00:00
thorpej
05b9a6baa5 regdump() takes a struct trapframe * 1997-04-09 20:20:46 +00:00
thorpej
eb1dd7d391 Garbage-collect regdump() and friends. 1997-04-09 20:19:08 +00:00
thorpej
db6a46bc6e Use <m68k/m68k/proc_subr.s> 1997-04-09 20:17:24 +00:00
thorpej
2550431af9 regdump() is prototyped in m68k/cpu.h now 1997-04-09 20:12:44 +00:00
thorpej
b7f72bd8a9 Remove redundant file directives. 1997-04-09 20:11:33 +00:00
thorpej
81f55f1cc8 regdump() is prototyped in m68k/cpu.h now. 1997-04-09 20:08:25 +00:00
thorpej
7c20e290df regdump() takes a struct trapframe * 1997-04-09 20:07:13 +00:00
thorpej
9cf4ffce0a - Garbage-collect signal-related stuff; use m68k/m68k/sig_machdep.c
- Garbage-collect regdump() and friends
- Convert hp300 to new crash dump format
1997-04-09 20:05:20 +00:00
thorpej
577dabb739 Use <m68k/m68k/proc_subr.s> 1997-04-09 20:03:21 +00:00
thorpej
f0f9811df2 Use the %x printf format where appropriate 1997-04-09 20:01:04 +00:00
thorpej
62a635ac7e - Remove redundant file directives
- Pull in m68k/m68k/sig_machdep.c
1997-04-09 19:59:57 +00:00
thorpej
c3c59721e2 kcore.h for hp300 - just pulls in the common m68k kcore.h 1997-04-09 19:51:36 +00:00
thorpej
06e6038b3f regdump() is prototyped in <m68k/cpu.h> now 1997-04-09 19:46:04 +00:00
thorpej
74c3023038 Remove redundant file directives. 1997-04-09 19:44:47 +00:00
thorpej
b6eb01fa72 Remove extra "options FPU_EMULATE" 1997-04-09 19:44:13 +00:00
thorpej
ef79334f24 regdump() takes a struct trapframe * 1997-04-09 19:41:08 +00:00