Commit Graph

30408 Commits

Author SHA1 Message Date
nisimura d116bc4a0d - Make this compilable with MIPS1 or MIPS3 only configuration. 1999-05-28 07:23:38 +00:00
cgd 3da80f5ebd don't vrele a bogus pointer if the namei() of the loader fails 1999-05-28 04:39:14 +00:00
thorpej 5920638afe Change the main comment block to indicate why PMAP_NEW (specifically,
pmap_kenter*()) is not required for {O,A}->K page loans.
1999-05-27 21:50:03 +00:00
ragge 50b4144943 Moved from ../dec/qbus/ubavar.h,v 1999-05-27 16:04:48 +00:00
ragge 708904c240 Moved to ubavar.h,v 1999-05-27 16:04:47 +00:00
ragge 6fa26360b3 Moved to ubareg.h,v 1999-05-27 16:04:28 +00:00
ragge 72cc499b27 Moved from ../dec/qbus/ubareg.h,v 1999-05-27 16:04:27 +00:00
ragge 24a2d9159f Moved to uba.c,v 1999-05-27 16:04:14 +00:00
ragge 466e9982c9 Moved from ../dec/qbus/uba.c,v 1999-05-27 16:04:13 +00:00
ragge 3a1ea0ce2f Moved from ../dec/qbus/files.uba,v 1999-05-27 16:03:57 +00:00
ragge ea56e2d6a7 Moved to files.uba,v 1999-05-27 16:03:56 +00:00
ragge a9f8e269bc Moved from ../dec/qbus/dzvar.h,v 1999-05-27 16:03:41 +00:00
ragge 607566ab67 Moved to dzvar.h,v 1999-05-27 16:03:40 +00:00
ragge fad3ee0de4 Moved from ../dec/qbus/dzreg.h,v 1999-05-27 16:03:13 +00:00
ragge fd1e7f64df Moved to dzreg.h,v 1999-05-27 16:03:12 +00:00
ragge ca5b486e0b Moved from ../dec/qbus/dz_uba.c,v 1999-05-27 16:02:50 +00:00
ragge 0377900670 Moved to dz_uba.c,v 1999-05-27 16:02:49 +00:00
ragge ae0c1db46f Moved to dz.c,v 1999-05-27 16:02:33 +00:00
ragge 4da3a5fea9 Moved from ../dec/qbus/dz.c,v 1999-05-27 16:02:32 +00:00
ragge e9a34e1482 Moved from ../dec/qbus/dlreg.h,v 1999-05-27 16:02:04 +00:00
ragge fecbb5dd59 Moved to dlreg.h,v 1999-05-27 16:02:03 +00:00
ragge 1506452890 Moved from ../dec/qbus/dl.c,v 1999-05-27 16:00:45 +00:00
ragge 547475d08e Moved to dl.c,v 1999-05-27 16:00:44 +00:00
pk 61e5d73035 Fix bus_size_t/size_t/int confusion. 1999-05-27 14:22:28 +00:00
pk 0953844306 Casts to match `%d' in printf format. 1999-05-27 14:20:10 +00:00
pk 69b216aefe `xmit' & `recv' return `ssize_t' 1999-05-27 14:04:25 +00:00
pk bd84136493 copyinst() takes a `size_t *'. 1999-05-27 14:03:05 +00:00
tron c0567a6bc7 Add support for SETALL and GETALL to the Linux emulation of semctl()
and improve handling of SETVAL. Patches supplied by YAMAMOTO Jiro in
PR kern/7621.
1999-05-27 13:30:40 +00:00
bouyer b87dbb8918 in cdclose(), ignore "media change" when calling scsipi_prevent(), after
a 'eject -l' some ATAPI drives report this instead of illegal request.
1999-05-27 11:19:04 +00:00
bouyer cc46db1ba6 For the PIIX, make sure the PIO_mode and DMA_mode get reset to the values used
by the controller for all drives.
1999-05-27 09:45:50 +00:00
leo 88efdc6951 Add support for the memory on the CT2 board. Info from Thomas Goirand. 1999-05-27 09:08:25 +00:00
mark ccb5b09c4f Grr. Nuke the remaining allocsys() prototypes. 1999-05-27 09:08:09 +00:00
mark 99804cc3e7 Nuke old prototype of allocsys(). 1999-05-27 09:04:11 +00:00
nisimura 9b5cf7b4de - Save MIPS1 only configuration for 3min, pointed by Erik Bertelsen
<erik@mediator.uni-c.dk>
1999-05-27 06:43:50 +00:00
ragge f558ec11e2 Directory called qbus instead of uba, per request from Matt/Jason/...
(More describing name actually)
1999-05-27 03:45:21 +00:00
mrg c346b0ace0 regen. 1999-05-27 03:05:32 +00:00
mrg 8c83c41668 add the UltraSPARC IIi PCI interface 1999-05-27 02:51:19 +00:00
nisimura 58cf81db34 - Change a symbolic name of TLB entrylo from 'PG_M' to 'PG_D' to reflect
processor design.  MIPS 'dirty bit' is not the same as i386 'dirty bit'.
There is a growing concern of misuse in NetBSD/mips.
1999-05-27 01:56:32 +00:00
thorpej 80de1e9903 Upon further investigation, in uvm_map_pageable(), entry->protection is the
right access_type to pass to uvm_fault_wire().  This way, if the entry has
VM_PROT_WRITE, and the entry is marked COW, the copy will happen immediately
in uvm_fault(), as if the access were performed.
1999-05-26 23:53:48 +00:00
thorpej beb8d06638 Generally update the comment above vunmapbuf(). 1999-05-26 22:19:33 +00:00
thorpej a2d06a4721 Generally update the comment above the vmapbuf() implementations. 1999-05-26 22:07:36 +00:00
thorpej 6b655611b1 Wired kernel mappings are wired; pass VM_PROT_READ|VM_PROT_WRITE for
access_type to pmap_enter() to ensure that when these mappings are accessed,
possibly in interrupt context, that they won't cause mod/ref emulation
page faults.
1999-05-26 19:27:49 +00:00
thorpej 985f839e63 Add a comment explaining why INTRSAFE isn't needed here. 1999-05-26 19:23:13 +00:00
thorpej 2580d306ab Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
leo 48627f3c5d Make this compile again. I assumed that the use of 'format_memory()' was
an error? Made it use format_bytes()....
1999-05-26 14:29:34 +00:00
thorpej 00a1f75cf6 In uvm_pagermapin(), pass VM_PROT_READ|VM_PROT_WRITE as access_type, to
ensure we don't take mod/ref emulation faults in an interrupt context
(e.g. during the i/o operation).  This is safe because:
	- For a pageout operation, the page is already known to be
	  modified, and the pagedaemon will pmap_clear_modify() after
	  the pageout has completed.
	- For a pagein operation, pagers must already pmap_clear_modify()
	  after the pagein operation is complete, because the i/o may have
	  been done with e.g. programmed i/o.
XXX It would be nice to know the i/o direction so that we can call
XXX pmap_enter() with only the protection and access_type necessary.
1999-05-26 06:42:57 +00:00
cgd 5dd4815be9 uh, get the port name consistently correct (NetBSD/alpha, not NetBSD/Alpha) 1999-05-26 06:22:03 +00:00
nisimura 1922144399 - Remove now obsolete function declaration. 1999-05-26 04:27:27 +00:00
nisimura d7a56fd7fa - Continue on branch merge, incrementally.
- Catch up filename changes escaped to be fixed.
1999-05-26 04:23:58 +00:00
ragge 12b6c6d04f DL-11 driver bus'ified. UNTESTED. 1999-05-26 02:01:49 +00:00