fair
78836acdba
make sure _SUN3_ or _SUN3X_ is defined.
1998-03-15 22:36:08 +00:00
fair
c89e1afb8b
saio.h is in ../libsa/, not <machine> and the Makefile does the right thing with -I, so fix compile error
1998-03-15 02:28:19 +00:00
mark
27ef26a468
Added csa device and scsibus attachments.
1998-03-14 17:15:52 +00:00
mark
29075565c0
Updated for new csa driver, the change to the oak driver and
...
the removal of the local ncr5380 driver.
1998-03-14 17:10:13 +00:00
mark
d15ce201d7
This local version of the ncr5380 driver is not longer needed now the
...
oak driver has been rewritten to use the MI one is /dev/ic/
1998-03-14 17:08:19 +00:00
mark
d6f6e4ee8e
Complete re-write of the Oak SCSI 1 driver to use the generic ncr5380
...
driver. Currently only supports 8 bit PIO.
1998-03-14 17:06:17 +00:00
mark
a1dd6a915a
Initial commmit of csa driver for the Cumana SCSI 1 adapter.
...
This driver uses the generic ncr5380 driver and currently only supports
8 bit PIO data transfers.
1998-03-14 17:04:30 +00:00
leo
4e466a839d
Move the bus_* functions from machdep.c to bus.c .
1998-03-13 21:05:10 +00:00
is
a830b47531
Ite keyboard map, for spanish Amiga keyboards.
...
Contributed by Inaki Saez <jisaez@sfe.indra.es>.
1998-03-13 19:28:11 +00:00
cgd
85687409e1
don't forget to set dma_arg, when using DMA functions. also, minor
...
spacing bogon cleanup. Pointed out by Kazuki Sakamoto in PR 5157.
1998-03-13 16:50:07 +00:00
ragge
52fbd35380
Add support for "root on qe".
1998-03-13 11:40:19 +00:00
cgd
b9eaff9db8
when considering attaching compatibility-mode channels, try a quick reset
...
and see if anything responds. if nothing (that's attributable to the
PCI IDE controller) responds, then that channel either has no devices on
it or has been disabled (via a non-standard mechanism) by the BIOS. If nothing
responds, don't map the compat.-mode interrupt or attach the wdc to that
channel, because the BIOS is likely to assign that IRQ to a different PCI
device. If that happens, the kernel will panic because that device will
try to map the IRQ level-triggered, but the compat interrupt will have been
mapped edge-triggered. (One possible way around this is to map the compat
interrupt edge-triggered, but it's not clear reading the spec that this
is correct or desirable.)
1998-03-12 23:34:29 +00:00
bouyer
44650d03a6
Better fix for PR 5113, per discussion with fvdl: now that the vnode locking
...
interface allow recusive locks, use it instead of the local hack to avoid
recursive locking.
1998-03-12 16:51:41 +00:00
augustss
09f43c63cf
Update probing for GUS a little. From soren@t.dk,
...
closes PR kern/5148.
1998-03-12 12:28:50 +00:00
thorpej
00452b441f
Move PTE-related constants here, and make them not depend on a hard-coded
...
page size (i.e. use the one initialized from the HWRPB at boot time).
Do a bit of cleanup while here, rendering old inherited constants obsolete.
1998-03-12 07:29:21 +00:00
thorpej
4d8723232d
Garbage-collect a bunch of constants that were inherited, but are no
...
longer necessary or make sense.
1998-03-12 07:28:07 +00:00
thorpej
bd3c0e36cf
Garbage-collect this a bit.
1998-03-12 06:47:11 +00:00
thorpej
00a597fe92
Use vm_page_alloc1() and vm_page_free1() as appropriate.
1998-03-12 06:27:36 +00:00
thorpej
7bb58d92ce
Garbage-collect; vm_page_alloc1() and vm_page_free1() are now in MI code.
1998-03-12 06:26:26 +00:00
thorpej
d214d5c30a
Add vm_page_alloc1() and vm_page_free1(), which allocate/free single
...
VM pages, not associated with any object.
1998-03-12 06:25:52 +00:00
thorpej
1f8d640c4b
Bump maxusers to 64.
1998-03-12 06:04:47 +00:00
thorpej
6e6e2d7ebf
Dump maxusers to 32.
1998-03-12 06:04:31 +00:00
thorpej
d9a1f8ba36
Adjust the default and low-bound maxusers, now that the pmap can deal.
1998-03-12 06:04:14 +00:00
thorpej
e3bda606eb
Add support for UVM.
1998-03-12 05:45:04 +00:00
thorpej
dfe0937a7e
If not DEBUG, use the Virtual Page Table to get the PTE for kernel mappings
...
in pmap_enter() and pmap_emulate_reference().
1998-03-12 02:59:22 +00:00
thorpej
30766180a3
Nuke these; they are long-since obsolete.
1998-03-12 01:28:01 +00:00
thorpej
152a4bfa60
Increase the maximum userspace address to 4TB. Leave the stack at 8G
...
for now, but make a note that we might want to move it down to 4G later.
1998-03-12 01:25:52 +00:00
thorpej
e046925c3a
Massive cleanup and partial rewrite of the NetBSD/alpha pmap module.
...
Major change is that page table page management has been completely
rewritten. Page tables are now accessed via K0SEG (no more KVA space
wasted on user page tables), and a much larger user address space is
supported.
Many thanks to Chris Demetriou and Ross Harvey for helpful insight and
debugging assistance.
1998-03-12 01:24:52 +00:00
thorpej
900e1c90bd
Nuke ALPHA_STSIZE and ALPHA_MAX_PTSIZE. Add macros to compute and operate
...
on segments mapped by L1 and L2 PTEs.
1998-03-12 01:21:21 +00:00
ragge
51964fa1e8
Standalone routine for DEQNA, written by Roar Thronaes.
1998-03-11 22:13:55 +00:00
leo
dd709a7f89
Make it possible to interface to big-endian cpu's.
1998-03-11 20:57:03 +00:00
fvdl
f75b1046d4
Fix flags mess-up in vget. LK_EXCLUSIVE -> 0 (even indicated in the
...
comment, d'oh!)
1998-03-11 15:52:02 +00:00
augustss
d644f9b973
Apply cs4236 fix from rh@vip.at. Closes PR 5143.
1998-03-11 09:26:05 +00:00
chuck
927ec8b012
bug fix: when doing uvm_vnp_sync() actually skip over blocked uvn's so
...
that we don't try and sync them later. should get rid of the
"uvm_vnp_sync: dying vnode on sync list" related warnings that were
occuring during a "make install."
1998-03-11 01:37:40 +00:00
chuck
b87759e7f2
bug fix: bring in-line with rest of uvm: use kernel_map for object offset
...
rather than kmem_map. should fix PR#5129 reported by
Lennart Augustsson.
1998-03-10 14:53:20 +00:00
chuck
21624aaf72
uvm_dump now dumps some important pointers for debugging
1998-03-10 14:36:55 +00:00
kleink
5cf59ee9ad
Move the permission check in vfs_syscalls.c::change_owner() back to
...
ufs_chown() again - the facility required in this context would be a
filesystem-specific super-user determination, which is not available yet.
1998-03-10 11:56:40 +00:00
kleink
071ab13ebb
Move the permission check in change_owner() back to ufs_vnops::ufs_chown()
...
again - the facility required in this context would be a filesystem-specific
super-user determination, which is not available yet. Also, add some
clarification to a comment.
1998-03-10 11:49:33 +00:00
leo
0dd40d6952
Bus-dma implementation for the atari. Heavily based on the i386
...
implementation.
1998-03-10 11:42:53 +00:00
mrg
d59aba65d9
build msdosfs LKM with UVM support. pr#5014
1998-03-10 06:53:36 +00:00
scottr
20a21d162e
Sync mc_rint() prototype with if_mcvar.h. (How did this
...
one slip by? Forty lashes for me...)
1998-03-09 23:05:28 +00:00
thorpej
7225aae835
Move check for user-pmap-still-using-Lev1map from pmap_enter_ptpage()
...
to pmap_enter().
1998-03-09 22:31:23 +00:00
christos
83449d8960
- fix pcmcia_scan_cis to return:
...
-1 error
0 desired tuple not found
1 desired tuple found
1998-03-09 21:54:13 +00:00
christos
441bea9142
- more 3c562 magic; document that the 0x88 tuple only works in 3c562a-c
...
and not in d where it goes back to use the eeprom method. So we detect
when the tuple method fails and fall back to the original method.
- even more 3c562 magic; the updated linux driver mentions that addresses
0x??00-0x??7f only work instead of the previous...
1998-03-09 21:52:31 +00:00
thorpej
daa9cfae50
Don't do the Segtabzero-for-dev-zero hack.
1998-03-09 20:43:28 +00:00
thorpej
e456fc0538
Simplify/speed up pagemove() somewhat by using the Virtual Page Table.
1998-03-09 20:17:03 +00:00
thorpej
78a173bada
Define VPT_INDEX(), which computes the index into the Virtual Page Table
...
of the PTE that maps the specified virtual address.
Thanks to Chris Demetriou and Ross Harvey for clarifying the VPT.
1998-03-09 19:57:57 +00:00
mark
fd250aecdd
Remove the width specifier in the podule manufacturer printf().
1998-03-09 19:14:44 +00:00
mark
eff3470d02
Make this driver build again. Needs overhaulling.
1998-03-09 19:12:59 +00:00
mark
c2efbb1d9a
Implement the bus_space_write_multi_1() function for the podulebus
...
(podulebus_wm_1()).
1998-03-09 19:11:30 +00:00
is
20251e62f9
Bug fix for the Ariadne panic: don't touch addresses outside the buffer we
...
got passed.
- analysis by Charles Hannum
- bugfix by Michael van Elst
- test by Thorsten Frueauf & Matthias Scheler
1998-03-09 17:00:33 +00:00
mikel
a57a8d66ff
let panic() call DDB, don't do it ourselves; from Nathan Williams in PR 5131
1998-03-09 06:32:51 +00:00
mikel
7d4b078022
print proper invalid IRQ, from Heiko Rupp in PR 5128
1998-03-09 06:20:26 +00:00
mrg
8106d13596
KNF.
1998-03-09 00:58:55 +00:00
is
90e5d61467
Conditionally (on defined(DRACO)) compile new DraCo keyboard code sequences.
...
Pointed out by Bernd Ernesti.
1998-03-08 19:59:15 +00:00
gwr
56fd5cb1ae
Like INSTALL and INSTALL3X, leave out DDB.
...
(Can patch using the PROM if needed.)
1998-03-08 19:38:05 +00:00
gwr
d7e49b6a5b
Make comments refer to GENERIC3X, not GENERIC
1998-03-08 19:33:09 +00:00
gwr
9c0c7119c3
Leaner configurations for the installation media.
...
(Small enough to work on all machines.)
1998-03-08 19:29:40 +00:00
gwr
b043198b53
Sync with sun3/machdep.c (should factor out common stuff...)
...
> Do the "early breakpoint" (if booted with "-d") even if we
> have only the PROM to handle it, so one can patch things.
1998-03-08 19:12:53 +00:00
gwr
7db30c0844
Do the "early breakpoint" (if booted with "-d") even if we
...
have only the PROM to handle it, so one can patch things.
1998-03-08 19:09:58 +00:00
gwr
d342d51752
Fix comments
1998-03-08 18:56:08 +00:00
gwr
4242e2ab10
No need for default base addresses here anymore.
1998-03-08 18:54:23 +00:00
gwr
5242b3b02a
Need to use an offset to map the colormap H/W now that the
...
config address is that of the P4 register. Oops.
1998-03-08 18:53:17 +00:00
kleink
f5c77ddbbc
Fix a whitespace botch.
1998-03-08 15:12:49 +00:00
mrg
c6dd5cbefd
standardise options header includes.
1998-03-08 14:04:14 +00:00
christos
509cb1d75f
- remove duplicate setting of CCR
...
- fix debugging code so that it compiles
- reorder the disabling code so that it is more logical
- add splhigh()/splx() in the first establish setting for symmetry
1998-03-07 17:58:17 +00:00
augustss
a294c3fef3
Regen.
1998-03-07 16:48:47 +00:00
augustss
8dd96862cd
Add Matrox Millenium II AGP.
1998-03-07 16:43:46 +00:00
scottr
8840acb1e2
Quirk table entries for IBM H3171 and Quantum ELS85S disks.
1998-03-07 06:34:59 +00:00
thorpej
b3d7fd8f3f
Just use vtophys() to get the PCB phys addr.
1998-03-07 04:20:45 +00:00
thorpej
9c236919e9
Rewrite pmap_extract(), and use it as appropriate in vtophys() rather
...
than (almost) duplicating the code.
1998-03-07 03:37:02 +00:00
thorpej
cd7d081d02
Export a pointer to the Virtual Page Table.
1998-03-07 03:15:43 +00:00
thorpej
f7d64ef778
Clean up a comment.
1998-03-07 03:15:06 +00:00
thorpej
f55b280ffc
Clean this up a bit.
1998-03-07 01:44:08 +00:00
thorpej
dcbc04e7af
Rename Sysptmap and Sysmap to Lev2map and Lev3map, respectively, and
...
add some comments describing in better detail what they are and how they
are used.
1998-03-07 01:43:54 +00:00
thorpej
60e6d2e48f
Update a comment in pagemove().
1998-03-07 01:26:04 +00:00
thorpej
ff155df72a
Nuke kvtopte(). Also, change pagemove() to lookup the from and to PTEs
...
in each iteration of the loop, since PT pages may not necessarily be
contiguous.
1998-03-07 01:11:39 +00:00
thorpej
60d30d3838
Nuke kvtopte() and ptetokv().
1998-03-07 01:10:05 +00:00
thorpej
58a7bd9288
Nuke the vatopa() macro.
1998-03-07 00:42:07 +00:00
thorpej
059d0c72de
pmap_ste() -> pmap_l2pte(), pmap_pte() -> pmap_l3pte()
1998-03-06 23:41:01 +00:00
thorpej
8081bd3017
Move pmap_pte*() macros into the header file, nuke pmap_ste_v(), add
...
pmap_lev1pte().
1998-03-06 23:19:26 +00:00
thorpej
5a34bf2a24
Add Dayna CommuniCard E, from Havard Eidnes, PR #5120 . Also, remove a
...
few unnecessary/no-longer-completely-accurate comments.
1998-03-06 20:00:28 +00:00
cgd
ff06be8ce0
reorganize mapping/attachment of wdc channels so that it'll be easier to
...
insert a check to see whether a channel appears to be enabled. Shouldn't
be necessary, according to the spec, but some PC chipsets allow individual
compatibility channels to be disabled. "I hate PCs."
1998-03-06 19:13:19 +00:00
cgd
f528463b81
despite the spec, some people map the bus master IDE registers into
...
memory space. Note that in a comment, but don't try to fix it (for now).
1998-03-06 17:41:59 +00:00
drochner
84963f97b5
Move allocation and mapping of the page table page for "bioscall" from
...
locore to here.
1998-03-06 14:53:06 +00:00
drochner
25f48b177c
Use NKPDE page table pages (instead of only one) for temporary mapping
...
in transition to relocated mode.
Remove preparation for "bioscall" identity mapping - it is in the way
and can be done later in init386().
Should solve the problem described in PR 4832 and 5102.
1998-03-06 14:51:36 +00:00
tsubai
2630ce2157
label 1: within #ifdef pmax is referenced from outside.
...
so it didn't work without -Dpmax.
1998-03-06 13:54:02 +00:00
fvdl
6e434a4386
Make this compile again.
1998-03-06 09:06:51 +00:00
jtk
4fcd1c2cdd
include <machine/vm86.h> if VM86 option defined
1998-03-06 04:12:56 +00:00
thorpej
92abc814ff
Clean this up a bit.
1998-03-06 00:21:40 +00:00
wrstuden
6dcfc62169
KNF last change
1998-03-05 22:56:18 +00:00
thorpej
8118bb3984
Make this compile again in light of Lite2.
1998-03-05 22:51:35 +00:00
thorpej
c5ecc8ab11
Arrgh, I said "abort", dammit...
1998-03-05 22:49:20 +00:00
thorpej
dfdde49707
*** empty log message ***
1998-03-05 22:48:34 +00:00
wrstuden
84c6b9dbd7
Make zs_iflush not loop indefinitly. Some Mac PowerBooks lie about having
...
two SCC channels, and can get stuck in an infinite loop. This change
stops after flushing 4 bytes. Might need upping to 8 bytes if we support
85230 ESCC's.
Idea bounced off of scottr & gwr
1998-03-05 22:03:34 +00:00
tsubai
10f8023240
Added arch/newsmips/Makefile.
1998-03-05 15:03:20 +00:00
scottb
d24f809241
Added prototype for ibcs2_sendsig.
1998-03-05 05:23:49 +00:00
scottb
297f065eec
Duplicated null cookiebuf check from ibcs2_sys_getdents to ibcs2_sys_read.
1998-03-05 04:49:50 +00:00
scottb
8adcd13408
Fixed incorrect assumption that svr4_semctl is passed a 'union semun' pointer
1998-03-05 04:42:49 +00:00
scottb
9273595150
Added support for ibcs2_sigcode.
...
Added new emulation structure, emul_ibcs2_xout, for XENIX.
Modified some syscalls to differentiate between XENIX and UNIX.
Fixed major bug in semaphore structure emulation size and conversion.
Check and cleanup copyin/copyout usage.
Add xenix_sys_locking patches from Andreas Wrede <andreas@planix.com>.
1998-03-05 04:36:07 +00:00
scottb
498bb9530b
Modified compat_10_sys_semsys to correctly read in a union arg (a5)
...
and pass a union pointer arg to sys___semctl
1998-03-05 04:26:35 +00:00
scottb
b8bb612601
Add ibcs2_sendsig function.
...
Add ibcs2_sigcode function to locore because we need to call our own
version of sigreturn.
Add support for emul_ibcs2_xout (XENIX) structure because we need to emulate
some syscalls differently.
1998-03-05 04:20:44 +00:00
thorpej
53e3bf87b9
Fix think'o in last kcopy() change.
1998-03-05 02:10:57 +00:00
thorpej
df1fcaa8e3
Rename NetBSD/news to NetBSD/newsmips.
1998-03-04 22:26:35 +00:00
thorpej
157b712178
Rename NetBSD/news to NetBSD/newsmips.
1998-03-04 22:14:13 +00:00
augustss
775d60ecd7
Use lower case "agc" for consistency.
1998-03-04 19:38:28 +00:00
cgd
2682c61855
clean up a printf
1998-03-04 19:19:21 +00:00
cgd
c3cdd2752a
slight cleanup (consistency, make a few comments better). add support
...
for recognizing bus-master DMA interface and mapping the regs (but
still no support for DMA).
1998-03-04 19:18:22 +00:00
cgd
0078e4bcd0
add def'ns for PCI IDE bus-master DMA interface recognition and register
...
mapping.
1998-03-04 19:17:10 +00:00
augustss
713692a2b5
For the Rx:Tx split message change "(undefined)" to "3:5".
1998-03-04 18:10:03 +00:00
fvdl
ad83e1aac8
Fix vn_lock argument botch. From Manuel Bouyer (PR 5113).
1998-03-04 15:34:41 +00:00
fvdl
1d02bb10d8
Clarify vget() comment a bit.
1998-03-04 09:13:48 +00:00
fvdl
e2eb38cc6f
Make this compile again.
1998-03-04 09:06:52 +00:00
mikel
415c4a15df
duplicate i386 fixes (q.v.)
1998-03-04 07:20:13 +00:00
cgd
c35a34ab68
ext2fs_checkoverlap is (or at least seems) unused, and its prototype is
...
#ifdef DIAGNOSTIC. Make the function #ifdef DIAGNOSTIC, as well, so we
don't get a warning about the function declaration not being a prototype.
1998-03-04 06:50:25 +00:00
cgd
8854631e5f
add file declarations for MD pciide file.
...
add (temporary) device/file declarations for the MI PCI IDE controller
driver. These are present here until the wdc declaration mess is
resolved, because until then they need to go into MD files files in
places where they play nice with the wdc declaration.
1998-03-04 06:40:29 +00:00
thorpej
f766e521be
In kcopy(), make sure we save and restore the old fault handler; kcopy()
...
is called from uiomove(), which may be in the code path of servicing
a non-fatal page fault caused by a copyin() or copyout().
Originally suggested by Steve Woodford.
1998-03-04 06:39:14 +00:00
cgd
d4e79b6ace
add (commented out) device/file declarations for the MI PCI IDE
...
controller driver. These are commented out here until the wdc
declaration mess is resolved, and until then need to go into MD
files files in places where they play nice with the wdc declaration.
1998-03-04 06:38:44 +00:00
cgd
ccdea2d9c8
machine-dependent bits (for compat interrupt mapping) of PCI IDE driver.
1998-03-04 06:35:47 +00:00
cgd
b37b33d302
PCI IDE glue. Right now, just glues 'wdc's to PCI IDE controller
...
channels. Eventually should do things like support PCI IDE DMA (it _DOES
NOT_ do that now).
1998-03-04 06:35:11 +00:00
cgd
b11fc105b1
clean up slightly, correct a few comments
1998-03-04 06:31:46 +00:00
thorpej
a2db880e8c
In kcopy(), make sure we save and restore the old fault handler; kcopy()
...
is called from uiomove(), which may be in the code path of servicing
a non-fatal page fault caused by a copyin() or copyout().
1998-03-04 02:11:58 +00:00
cgd
5f45920f06
regen
1998-03-04 00:15:21 +00:00
cgd
b3f8c3c1f1
fix comment bogon in last commit
1998-03-04 00:14:45 +00:00
cgd
34f466e064
regen
1998-03-04 00:10:38 +00:00
cgd
0873649bda
add CMD PCI0643, PCI0647, USB0670, USB0673. Remove the 'A' from the 640A
...
entry (because the same product id is used for the 640B, as well). Note
that a few of the entries (PCI0642, PCI0650A) no longer have data to
be found on the CMD web site, and note that PCI0650A should probably have
its "A" trimmed as well.
1998-03-04 00:09:11 +00:00
cgd
8a2d9d7d74
in the ATAPI bug workaround code ("HACK"), don't forget to set
...
SCSI_AUTOCONF when executing SCSI commands.
1998-03-03 23:15:36 +00:00
pk
5ac38e9b53
Re-arrange several functions so we no longer need __BROKEN_INDIRECT_CONFIG
...
semantics.
1998-03-03 20:51:20 +00:00
pk
5513bc639f
Cheesily work-around reliance on __BROKEN_INDIRECT_CONFIG; should we
...
bother trying to find the board's memory size in the match routine at all?
1998-03-03 20:50:06 +00:00
thorpej
40b5fe66e7
Historical practice assumes that NFS root mounts are initially read/write.
1998-03-03 19:07:20 +00:00
mycroft
112daacfa3
As in UVM, automatically convert MAP_PRIVATE device mappings to MAP_SHARED.
1998-03-03 14:35:26 +00:00
mycroft
24e6e6a0e7
Convert MAP_PRIVATE device mappings to MAP_SHARED on *all* platforms, not just
...
the SPARC.
Remove the #ifdef COMPAT_13 for automatically adding a sharing type, since the
interface is *supposed* to support this.
Also modify the DIAGNOSTIC messages here a bit.
1998-03-03 14:34:10 +00:00
fvdl
a377495cfb
Only free cookiebuf when sure that the vop actually allocated it.
1998-03-03 13:44:48 +00:00
fvdl
05acb550be
Only free cookies on error when they were actually allocated by the readdir vop.
1998-03-03 13:38:32 +00:00
fvdl
4f0f4cecdb
Don't try to apply the cookie endian heuristic on a mounted file (e.g.
...
a swapfile). From Matthias Drochner.
1998-03-03 13:32:28 +00:00
augustss
44c6ce78d2
Avoid the name free so the MALLOCLOG option works again.
...
Fix some typos.
1998-03-03 09:16:15 +00:00
drochner
22dbd3c3da
Don't cast the quad_t file size to u_long, this can cause overflows.
1998-03-03 09:02:51 +00:00
thorpej
da3c8e52f1
Make this work with DEBUG="-g"
1998-03-03 07:38:40 +00:00
thorpej
9ebbb62608
Export spechash_slock; it's used outside of vfs_subr.c
1998-03-03 02:22:00 +00:00
fvdl
221505c12f
Make this compile again with UVM
1998-03-03 01:49:21 +00:00
thorpej
80ffe6752b
Always define the ctldebug structure.
1998-03-03 01:40:51 +00:00
fvdl
9329c1df98
Fix cookie handling I messed up totally when doing the Lite2 thing.
...
(Hello McFly? Anybody home?)
1998-03-03 00:17:04 +00:00
thorpej
803f5aa188
Remove the memcpy() alternate entry point for bcopy(), a temporary measure
...
until the memcpy()/bcopy() thing is worked out.
1998-03-02 23:40:42 +00:00
thorpej
f02b1a7a33
Make this compile again in light of Lite2 merge. (Yuck.)
1998-03-02 23:17:19 +00:00
pk
d8bb682673
drop `ef_softc' from ef_match function.
1998-03-02 23:12:18 +00:00
scottr
da7d7ca568
Add magic number for driver map structure. (oops!)
1998-03-02 22:40:31 +00:00
fvdl
e5209f31b8
A cookie should point to the *next* entry. Grrr.
1998-03-02 22:26:14 +00:00
cgd
09dbd9234d
fix typo in last commit (noticed on inspection)
1998-03-02 21:36:55 +00:00
cgd
7ff7b02fac
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 20:01:05 +00:00
cgd
9da165424c
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 19:57:00 +00:00
thorpej
0080eaa0f5
Don't panic if DIAGNOSTIC in cluster_rbuild() if we aren't able to shed
...
memory in a buffer returned by geteblk(). Instrument the number of
occurrences.
1998-03-02 19:28:07 +00:00
fvdl
25bc5ab033
Don't make simple_lock decls dependent on NCPU > 1, be consistent with
...
the rest of the kernel.
1998-03-02 18:06:32 +00:00
fvdl
ede1a3fc5b
Make this compile again.
1998-03-02 17:58:34 +00:00
drochner
e3d8e9c72b
enable compatibility for old partition ID per default
1998-03-02 17:07:53 +00:00
ragge
8e2874bf64
Support for UVM on VAXen.
1998-03-02 17:00:00 +00:00
drochner
3bb9e75863
Change MBR partition type for NetBSD to 0xa9, like the i386 port.
...
Provide compatibility via COMPAT_386BSD_MBRPART.
1998-03-02 16:18:17 +00:00
bouyer
6d339338e6
Close kern/5077: When DIAGNOSTIC is defined, don't complain about
...
bad magic numbers at a mount attempt. A message is still printed when the
magic number is OK, but the version number or the block size is bad.
Patch from Soren S. Jorvang, but different from the one in the PR.
1998-03-02 16:13:42 +00:00
ross
03169f0089
Second part of cdev_decl() migration. Declare cputype variable.
...
Add config info for a12 switch driver and console driver.
1998-03-02 08:04:04 +00:00
ross
41a61f7c9e
Update interrupt name table for a12 crossbar.
1998-03-02 07:47:52 +00:00
ross
b8d5ca6c78
Centralize cdev_decl() for these MI drivers + a12dc in machine/conf.h (cgd)
...
(This does not introduce any config or option dependencies.)
1998-03-02 07:44:18 +00:00
ross
ff94450f84
Use the more consistent register field names & add ctags(1) keys.
1998-03-02 07:07:41 +00:00
ross
6e6f663204
Rewrite of interrupt dispatch logic. Add ctags(1) keys for *a12*.h files.
1998-03-02 07:03:20 +00:00
ross
13aeff8570
Fix attachment message.
1998-03-02 06:59:38 +00:00
ross
1ada245647
Support attachment of xb and a12dc, define most of the remaining
...
core logic register fields.
1998-03-02 06:56:16 +00:00
ross
469f9b6126
Clean up attachment code and prototypes.
1998-03-02 06:53:34 +00:00
mikel
dfb1317f8a
remove some lint; from Thorsten Frueauf in PR 5085.
...
also made one implicit int declaration explicit.
1998-03-02 06:20:16 +00:00
mikel
3119a26ccd
s/CFLAGS/CPPFLAGS/
1998-03-02 06:17:29 +00:00
thorpej
7a571c643b
Rename a few macros to better describe what they are:
...
- kvtol1pte() -> l1pte_index()
- vatoste() -> l2pte_index()
- vatopte() -> l3pte_index()
1998-03-02 00:49:01 +00:00
thorpej
54bb4f9e6e
Rewrite pmap_enter() to have a more sane structure, useful for when
...
page table page management is rewritten.
1998-03-02 00:22:54 +00:00
fvdl
25a2f5ee46
Put #if NCPU > 1 around initialization of simple_locks too, to avoid
...
compile errors.
1998-03-01 23:19:01 +00:00
fvdl
d201db498e
Remove accidentally enabled lfs_mountroot from vfsops struct.
1998-03-01 22:16:39 +00:00
fvdl
8c7c2ea123
Remove accidentally enabled mfs_mountroot from vfsops struct.
1998-03-01 22:16:01 +00:00
augustss
1918ca1e5b
Change ie[01] to ef, ai, and ix so that these kernels can be used again.
1998-03-01 20:45:26 +00:00
veego
190f3ca410
Add two includes for the 'struct nfs_args' so it compiles again.
1998-03-01 17:37:32 +00:00
fvdl
46cd3245ee
1.3D -> 1.3E because of Lite2 import (was already done in sys/param.h,
...
forgot this one)
1998-03-01 16:32:33 +00:00
fvdl
7ba6a2daac
Remove extraneous files from Lite2 merge.
1998-03-01 13:45:28 +00:00
fvdl
0485953099
Make this compile after the lite2 merge.
1998-03-01 13:22:55 +00:00
ross
94ae870894
Compile post-lite2 with #ifndef DIAGNOSTIC
1998-03-01 09:51:29 +00:00
ross
97251024c0
Compile post-lite2 when #ifndef DIAGNOSTIC
1998-03-01 09:35:52 +00:00
ross
4ebd177543
Remove the A12 from the rogue's gallery of the promcons-addicted.
1998-03-01 08:17:36 +00:00
ross
39254d4d4b
Poll console at 50 Hz, not 1024 Hz! (4 tlb and imb coherency ops per poll
...
make this exceedingly expensive even on an alpha) Note: only 3 systypes
still use promcons.
1998-03-01 07:40:11 +00:00
ross
331fee623e
Sweep up some miscellaneous leftover lite2 integration shrapnel.
1998-03-01 07:15:39 +00:00
ross
c6b14e94ad
Add new type number received from IANA. Also, note the new home of
...
the IANA master list, post RFC1573.
1998-03-01 07:13:41 +00:00
fvdl
78447a3cfd
Regen.
1998-03-01 02:29:59 +00:00
fvdl
9810527f1c
Add NetBSD Id that got lost.
1998-03-01 02:27:49 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
fvdl
1ad6fdb33f
Some FSs have their *mount.h files exported now, make sure that they are
...
copied to the include dir.
1998-03-01 02:15:35 +00:00
fvdl
e8d05f0741
Import 4.4BSD-Lite2
1998-03-01 02:12:49 +00:00
fvdl
b50e39fa45
Import 4.4BSD-Lite for reference
1998-03-01 02:09:33 +00:00
is
eb3cda883b
Probe for the native DraCo (rekeycaped MF-II) keyboard, instead of guessing
...
it from the QuickLogic chip version byte.
If found, switch it to non-autorepeat mode (which seems to avoid the race
condition which made my keyboard driver / X server lose state under heavy
interupt load).
If not found, assume an Amiga keyboard on CIA-A.
XXX We should probe for the presence of the CIAs on the DraCo.
1998-02-28 21:53:15 +00:00
pk
1fe6513796
Remove extraneous `$Id$' lines.
1998-02-28 20:43:28 +00:00
pk
c0e247427a
This driver is replaced by three i82586 front-end drivers: ix',
ef' and `ai'.
1998-02-28 20:42:43 +00:00
veego
b6ca941200
Sync it with the i386 version so lint doesn't complains about an syntax
...
error for __warn_references.
1998-02-28 12:20:25 +00:00
ragge
ad1f451760
Move the boot program higher up in memory; to allow loading of bigger kernels.
1998-02-28 12:10:13 +00:00
ross
2170c2a46d
Force elf symbol sections to an addressable boundary.
1998-02-28 10:38:55 +00:00
cgd
18a1481f7a
Use NFS_BOOT_DHCP rather than NFS_BOOT_BOOTP. The former is more
...
flexible, and the boot blocks use DHCP already(!!!) and it'd be good
for the kernel to be consistent with them.
1998-02-28 02:01:32 +00:00
cgd
4ae42be026
be a bit more clear about what protocols will be tried in the
...
BOOTP/DHCP case.
1998-02-28 01:45:01 +00:00
pk
d22f956657
Remove `_NEW_I82586'.
1998-02-28 01:15:51 +00:00
pk
5bc7459ebd
Remove `NEW_I82586'
1998-02-28 01:14:57 +00:00
pk
9698950530
* Remove `_NEW_I82586'.
...
* KNF.
* erase ghost spaces and tabs.
1998-02-28 01:14:15 +00:00
pk
472a1973af
Remove `_NEW_I82586' tag; all drivers using this file have been converted.
1998-02-28 01:07:45 +00:00
thorpej
ba3ddd48ad
Move the code that enters and removes entries from the pv_table into
...
functions pmap_enter_pv() and pmap_remove_pv().
1998-02-28 01:07:05 +00:00
pk
32ad582965
Replace monolithic ie0' and
ie1' driver by ef',
ix', `ai' front-ends.
1998-02-27 23:57:31 +00:00
pk
a3a9cbc8c5
Replace the ie' driver by three separate front-ends:
ix', ef' and
ai'.
1998-02-27 23:54:16 +00:00
pk
22a8b1ae89
AT&T/StarLan i82586 front-end driver from Rafal Boni.
1998-02-27 23:52:34 +00:00
pk
82153cc305
3Com/3C507 i82586 front-end driver from Rafal Boni.
1998-02-27 23:51:52 +00:00
pk
9bb4839afd
EtherExpress/16 i82586 front-end driver from Rafal Boni.
1998-02-27 23:50:51 +00:00
thorpej
9bbe89ea3f
Garbage-collect the kpt_page stuff; it was basically unused in this
...
pmap, and isn't applicable to how dynamically allocated kernel page
tables will work on the Alpha.
1998-02-27 22:25:25 +00:00
thorpej
11490942aa
Nuke memcpy() from here; it's in libkern.
1998-02-27 21:38:31 +00:00
thorpej
faf1155de5
Revamp pv_table management:
...
- Make pv_table an array of struct pv_head's, which contain LIST_HEADs
for the pv_entry's, as well as page attributes (mod, ref, ptpage).
- Use <sys/queue.h> to manipulate pv_entry lists.
- Fix several obvious bugs in pmap_collect_pv().
- Use K0SEG to access pv_page's.
1998-02-27 19:39:03 +00:00
thorpej
5ec2d93c1e
Fix a typo.
1998-02-27 19:13:04 +00:00
cgd
84fad9aba3
make it clear that the "old BSD partition ID!" message is a warning (by
...
prefacing it with "WARNING: ").
1998-02-27 18:57:40 +00:00
mycroft
64812254d6
Remove some duplicate definitions.
1998-02-27 13:17:25 +00:00
mycroft
8e5dbddc19
Regen.
1998-02-27 11:46:25 +00:00
mycroft
402ddee537
Add Macronix MX98713.
1998-02-27 11:45:51 +00:00
scottr
e3dfc809c6
Remove dpme.h, as it's no longer necessary.
1998-02-27 09:17:18 +00:00
scottr
c1ea2b45ff
Integrate Macintosh partition map and driver descriptor map definitions.
1998-02-27 09:15:21 +00:00
thorpej
f17bbcfffa
Changes necessitated by the fact that all pmaps have their own level 1
...
page tables: use curpcb to determine which level 1 map defines the
current VM context, and use that level 1 map when mapping and unmapping
the PROM.
1998-02-27 04:03:00 +00:00
thorpej
c4e7c88520
Step 1 of the Grand Alpha Pmap Rototill:
...
- Clean up pmap_bootstrap() some, and make a slight change to how the
PROM mappings are saved.
- Give each pmap its own level 1 page table, rather than sharing a global
level 1 page table. This will eventually allow for Very Large user
address spaces.
- Keep a list of all pmaps, so that when kernel level 2 page tables are
allocated, all level 1 tables may be updated.
- Add a couple of functions for allocating and freeing page table pages.
- Add a few comments about ASN allocation.
1998-02-27 03:59:58 +00:00
thorpej
5d56ce57ba
Several changes related to all pmaps having their own level 1
...
page table:
- Update the current hwpcb pointer in the SWITCH_CONTEXT macro, so that
we know it's always correct.
- Optimize cpu_switch(): if we're switching to ourselves, skip the
actual context swap.
- Clean up some comments and remove some code rendered obsolete by
the fact that address spaces are now selected by switching to a
new level 1 page table.
1998-02-27 03:53:49 +00:00
thorpej
cb6972d4d3
Implement alpha_pal_swpctx().
1998-02-27 03:44:53 +00:00
scottr
f5f997d1dc
Bump down maxusers to a reasonable value on a machine with 8MB.
1998-02-27 01:33:14 +00:00
gwr
0228ba8d86
Make the messages printed by _nodb_trap() more helpful.
1998-02-26 20:31:13 +00:00
gwr
eeb690065b
Use trap 14 as PROM abort
1998-02-26 19:30:59 +00:00
gwr
23b16936e8
Fix build with NFB=0
1998-02-26 16:01:18 +00:00
perry
edac6b7ff2
define kernel only inline static functions only #ifdef _KERNEL
1998-02-26 01:57:30 +00:00
thorpej
8d0d59284b
Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
...
changes for MACHINE_NEW_NONCONTIG.
1998-02-25 23:31:29 +00:00
thorpej
d6085102e9
DECstations have one physical memory segment.
1998-02-25 23:31:03 +00:00
thorpej
b3c5864223
Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
...
changes for MACHINE_NEW_NONCONTIG.
1998-02-25 23:30:33 +00:00
thorpej
c2e692ff93
PICA has one physical memory segment.
1998-02-25 23:30:11 +00:00
thorpej
330e4f8d24
Fix a few screwups that made it impossible to config these kernels.
1998-02-25 23:29:49 +00:00
thorpej
477d46784e
Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
...
changes for MACHINE_NEW_NONCONTIG.
1998-02-25 23:28:25 +00:00
thorpej
d184112bd5
NEWS has one physical memory segment.
1998-02-25 23:27:20 +00:00
thorpej
da6458bfb4
Implement and switch to MACHINE_NEW_NONCONTIG.
1998-02-25 23:26:41 +00:00
thorpej
4673e0c339
Prototype allocsys(), mips_init_msgbuf(), and mips_init_proc0().
1998-02-25 23:25:16 +00:00
thorpej
469520ccd4
Pull some code out of N mach_init() functions, and place it in a
...
common place:
- allocsys(), which computes space for and assigns addresses
to kernel data structures at boot time.
- mips_init_msgbuf(), which initializes the error message
buffer at the end of core.
- mips_init_proc0(), which initializes the U-area for proc0
and nullproc.
1998-02-25 23:24:35 +00:00
perry
398e0f8c64
add /* LINTLIBRARY */ to supress lots of "unused function" warnings
...
from lint.
1998-02-25 22:36:45 +00:00
perry
1ed8ea9966
note second parm of sysarch() is now void *, + trivial KNF, etc.
1998-02-25 21:41:55 +00:00
perry
a5385186b1
regen
1998-02-25 21:30:36 +00:00
perry
56c01cbd82
change second parm of sysarch() from char * to void *
1998-02-25 21:24:56 +00:00
christos
66f05f52ec
Add another 56K modem.
1998-02-25 13:18:50 +00:00
drochner
3ee0e26f7d
document 3c900 TPO support, add comments
1998-02-25 12:19:12 +00:00
drochner
41bbe0c360
3c900 TPO works too, as reported by Feico Dillema <dillema@acm.org>.
1998-02-25 12:15:49 +00:00
ross
081231b1ad
Add dummy }} after comsoft() to keep ctags(1) bashing on.
1998-02-25 08:32:35 +00:00
chuck
e308ffd825
compute st_map size properly
1998-02-24 19:01:59 +00:00
chuck
cbd05b1537
be consistent about offsets in kernel objects. vm_map_min(kernel_map)
...
should always be the base [fixes problem on m68k detected by jason thorpe]
add comments to uvm_km.c explaining kernel memory management in more detail
1998-02-24 15:58:09 +00:00
leo
25811c51ea
Declare 'fd_cd'.
1998-02-24 13:02:54 +00:00
leo
e4b379c7c1
Only try to initialize the PCI-bus when NPCI > 0.
1998-02-24 13:02:06 +00:00
thorpej
89d112dd92
Switch this kernel to UVM.
1998-02-24 11:05:37 +00:00
thorpej
7027d87a18
Duh! Use uvm_km_valloc_wait(), NOT uvm_km_zalloc() to allocate user page
...
tables. (Thanks for pointing that out, Chuck!)
1998-02-24 07:42:05 +00:00