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
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
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
thorpej
31b105f845
Garbage-collect regdump() and friends.
1997-04-09 19:40:20 +00:00
thorpej
28a9417279
Use <m68k/m68k/proc_subr.s>
1997-04-09 19:39:14 +00:00
thorpej
0e5ab3b5f1
Adjust for new <m68k/kcore.h>
1997-04-09 19:37:53 +00:00
thorpej
e2b0388ed8
regdump() is prototyped in <m68k/cpu.h> now.
1997-04-09 19:34:53 +00:00
thorpej
702b4aa67b
remove redundant file directives
1997-04-09 19:34:01 +00:00
thorpej
1cd753c689
regdump() takes a struct trapframe *
1997-04-09 19:33:18 +00:00
thorpej
7294a6f1e3
- Adjust for new <m68k/kcore.h>
...
- garbage-collect regdump() and friends
1997-04-09 19:32:09 +00:00
thorpej
2dbc4afec2
Use <m68k/m68k/proc_subr.s>
1997-04-09 19:29:05 +00:00
thorpej
c739bf6e79
New kcore.h for m68k, includes all possible m68k formats in a self-describing
...
layout, facilitating sharing libkvm on all m68ks.
NOTE: This changes the crash dump format of all m68k ports that use the
new libkvm!
1997-04-09 19:25:00 +00:00
thorpej
309169617d
Factor out a few process manipulation routines found in all m68k
...
locore.s's. Currently includes run queue manipulation.
1997-04-09 19:22:49 +00:00
thorpej
175da6b4a7
Factor out the regdump() function used by all m68k ports.
1997-04-09 19:21:47 +00:00
thorpej
2f5b398ad4
Prototype regdump().
1997-04-09 19:21:06 +00:00
thorpej
0a089bceec
Add bcopy.s, copy.s, copypage.s, and regdump.c; they're common to all
...
m68k ports.
1997-04-09 19:20:23 +00:00
mycroft
f2746e9620
Update for new com driver.
1997-04-09 16:44:21 +00:00
mrg
bb07095632
as per discussion with torek, allow TC=1. also add option
...
to allow TC=0. the zilog documentation says not to allow
TC=0 -- however, i tested this and it "does work", as far
as i could tell, so, allow this use if so desired.
1997-04-09 13:15:13 +00:00
scottr
a2a2afbe56
Sigh. Bracket a label used only #ifdef COMPAT_SUNOS.
1997-04-09 07:22:12 +00:00
jeremy
fa9f5b2448
Constants for the p4 register.
1997-04-09 04:50:43 +00:00
jeremy
3c962bb544
First working version.
1997-04-09 04:49:09 +00:00
scottr
63d0d33c86
Make C-\\ work; from Bill Studenmund, who noticed the swapped keycodes.
...
Closes PR #3294 .
1997-04-09 04:48:57 +00:00
jeremy
5efd258691
Add p4 register pointer to softc struct.
1997-04-09 04:47:13 +00:00
jeremy
085494c2d9
Add location of P4 register. Maybe this should go in obmem.h?
1997-04-09 04:46:11 +00:00
jeremy
d4285e0617
Add needed support for P4 register. Works with X now.
1997-04-09 04:43:52 +00:00
jeremy
b7dd41d4e2
Location of printer port registers for 3/80 was off.
1997-04-09 04:42:25 +00:00
jeremy
ee8819cf64
Obio and obmem busses now support devices with vectored interrupts. Needed
...
for floppy driver.
Made comments about soon-to-be introduced parallel port driver more specific.
1997-04-09 04:38:49 +00:00
jeremy
60d41bb34e
Add floppy controller and floppy drive. Also add MS-DOS filesystem for
...
use with floppies. Remove 'SYMTAB_SPACE' now that we have our own
bootloader.
1997-04-09 04:36:56 +00:00
jonathan
5725025bdc
typo in cfattach.
1997-04-09 02:10:48 +00:00
mycroft
448427b7ba
Document a requirement of vm_object_bypass().
1997-04-08 22:35:49 +00:00
gwr
69b70455c9
Zap AFLAGS
1997-04-08 22:04:16 +00:00
chuck
cf0f247359
prevent multiple inclusions
1997-04-08 21:29:26 +00:00
leo
92b96871ea
Turn the 'extern' definition of mcount() into a full prototype.
1997-04-08 20:39:01 +00:00
pk
242d365b70
Move "range" property description out of generic `romaux'.
...
Add getproplen() function.
1997-04-08 20:08:53 +00:00
pk
cc7899605a
Move "range" property description out of generic `romaux'.
...
Allocate room for this property when needed in bus attachment.
1997-04-08 20:08:20 +00:00
pk
bb1d4e0540
Move "range" property description out of generic `romaux'.
1997-04-08 20:06:26 +00:00
fvdl
b4e49cf0e9
Avoid nfsiods acquiring/releasing a lock, then acquiring it again, before
...
anyone else can get to it, by checking if a reply was received, and it
has thus become unnecessary to take the lock. From FreeBSD.
XXX I don't really like this, "locks" potentially suffer from the same
problem throughout the whole kernel; they should probably be FIFO everywhere.
1997-04-08 17:57:16 +00:00
scottr
63d11b7577
Add another IBM disk that needs SDEV_AUTOSAVE.
1997-04-08 17:35:06 +00:00
kleink
513465cc2c
Added a sanity check to the force-directory routine, as the CREATE and
...
RENAME namei() operations may succeed without returning a vnode.
1997-04-08 16:11:48 +00:00
kleink
43bd8d5456
POSIX.1 changes to namei():
...
(1) "" no longer refers to the current working directory;
looking this up will now result in ENOENT.
(2) by stripping off trailing slashes and setting a `forcedir'
flag, make code such as { mkdir("dir", m); rmdir("dir/"); }
actually work.
1997-04-08 10:11:55 +00:00
scottr
58d41d0f98
Fix several more instances where the volatile modifier was needed.
...
From Allen.
1997-04-08 06:53:28 +00:00
scottr
a051dc4e0f
Fix typo: MRG_DEBUG -> MRG_ADB
1997-04-08 06:16:07 +00:00
scottr
042e6d3b98
Add 'done' symbol for last change. (oops.)
1997-04-08 06:02:04 +00:00
scottr
bd9967862f
Clean up unused code, KNF bus_probe()
1997-04-08 05:27:28 +00:00
briggs
df0a7e0440
Changes from Michael R. Zucca <mrz5149@cs.rit.edu> for 16-bit and 32-bit
...
console support.
1997-04-08 04:47:08 +00:00
scottr
f1c1f7e54d
Make new ADB driver the default.
1997-04-08 04:21:15 +00:00
scottr
4d9095b0b0
Updates from John Wittkoski for new ADB driver.
1997-04-08 03:19:04 +00:00
scottr
76c66a06b3
Direct-to-hardware ADB interface/driver, written by John P. Wittkoski.
1997-04-08 03:16:18 +00:00
scottr
484820c623
Power Manager interface/driver, written by Takashi Hamada.
1997-04-08 03:11:37 +00:00
scottr
bf23759b27
Add MRG_ADB option.
1997-04-08 03:00:37 +00:00
scottr
b6a4a3826c
Update for current configuration, including sbc reselect mode.
1997-04-08 02:59:16 +00:00
cgd
f2b60ad624
align after RCS ID strings if placing them in text
1997-04-08 00:24:16 +00:00
cgd
519551a681
include RCS IDs for assembler files, disabled with NO_KERNEL_RCSIDS
1997-04-08 00:19:01 +00:00
cgd
25ba9df324
clean up some wording
1997-04-08 00:18:25 +00:00
cgd
effe625a3a
note NetBSD/alpha's (intentional) deviations from KNF
1997-04-07 23:57:10 +00:00
cgd
fa0c4d6cb1
clean up options.h inclusion slightly
1997-04-07 23:56:39 +00:00
jonathan
f11d74c508
Remove IFF_LINK[01] "connector" support.
...
Add if_media support. Still missing a software autosense FSM.
1997-04-07 23:49:47 +00:00
cgd
90789b53dd
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
...
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
1997-04-07 23:39:37 +00:00