Commit Graph

815 Commits

Author SHA1 Message Date
itojun 5effafcaa6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
ragge 1647688f0d Use pmap_steal_memory() for early memory allocation. 1999-06-30 19:31:33 +00:00
ragge 8783dd4166 MSCP moved. 1999-06-30 18:48:06 +00:00
ragge 9c7dfb8eb4 Outdated; moved to another location. 1999-06-30 18:47:03 +00:00
ragge 996e5bf55a Stop the network interface after kernel is loaded but before starting it.
Not doing this caused packets to be read into memory somewhere after the
kernel was started but before the device was probed, normally in the
system page table. This gave quite unpredictable results...
1999-06-30 18:38:03 +00:00
ragge a406e5332c Clean up the boot command selection a bit. Add a command "halt". 1999-06-30 18:33:33 +00:00
ragge 3b8e9ab16d Support loading the kernel from ustarfs. 1999-06-30 18:30:42 +00:00
ragge 04620b62b5 Search for include files in new locations. 1999-06-30 18:19:26 +00:00
ragge 1e7b5cf8ae Wrong definition of SID for MicroVAX I, from Brian Chase. 1999-06-28 13:13:53 +00:00
itojun 427639cdce - Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
  and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
ragge 51dd099ef5 Add DW750 and DW780 UBA support. Still no BDP's. 1999-06-21 16:23:00 +00:00
ragge e0972091c8 Remove moved files. 1999-06-20 18:19:19 +00:00
ragge e410ff8410 Remove moved files. 1999-06-20 18:14:41 +00:00
ragge 7a1f65022b Remove more unused files. 1999-06-20 16:00:14 +00:00
ragge dc65be6cf8 Remove old unused files. 1999-06-20 15:58:28 +00:00
ragge 92a492d5ea Some 4000/200 fixes. From Michael Kukat. 1999-06-20 15:52:51 +00:00
ragge e2fb3def19 Use uba & mscp code from dev/ instead. 1999-06-20 01:05:19 +00:00
ragge cc43d8766d Fix of bug causing allocations of physical pages to get wrong address. 1999-06-20 00:59:54 +00:00
ragge abcc4bed15 Better support for tracing stacks. From Chuck McManis. 1999-06-20 00:58:23 +00:00
ragge cb57cab9b1 Add macros to round/trunc vax pages. 1999-06-20 00:53:58 +00:00
ragge 76b9763345 Add some small checks to avoid unwanted panic types. 1999-06-20 00:53:02 +00:00
ragge 069858b1e2 Want device-register, to detect qbus boot devices. 1999-06-20 00:50:08 +00:00
ragge 656c580511 Don't try to disconnect SCSI disks. From Michael Kukat.
Now DEC disks also works in VAXstations :-)
1999-06-19 15:46:05 +00:00
cgd 7c02d93c04 nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
I'll do what I can to make new ones soon.  8-)
1999-06-18 04:49:24 +00:00
thorpej 0288ffb53a pmap_change_wiring() -> pmap_unwire(). 1999-06-17 19:23:20 +00:00
thorpej f5a527bb4e Remove pmap_pageable(); no pmap implements it, and it is not really useful,
because pmap_enter()/pmap_change_wiring() (soon to be pmap_unwire())
communicate the information in greater detail.
1999-06-17 18:21:21 +00:00
thorpej 2c35c7bd03 Only declare block major numbers for devices which can be the root device. 1999-06-07 20:31:27 +00:00
thorpej d76e7b8c6d Don't pass a nam2blk around at all; just have setroot() and friends reference
dev_name2blk[] directly.  Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
ragge 3bb07459cd Qbus moved in hierarchy. 1999-06-06 19:10:49 +00:00
ragge 4756cdb74e Page tables must be pageable (where did this disappear?)
Fix a PGOFSET -> VAX_PGOFSET miss.
Stylistic cleanup.
1999-06-06 19:09:50 +00:00
ragge f6d61fb6ad Add an define for SGMAP. 1999-06-06 19:07:11 +00:00
ragge d55d0ac4b5 Add some more IPRs for KA670. 1999-06-06 19:06:29 +00:00
ragge db8c0c9c4c Use gencons if VAX670. 1999-06-06 19:05:21 +00:00
ragge 02637941e5 Ops, forgot this file. 1999-06-06 19:03:40 +00:00
ragge 134b65fde3 Added support for Qbus DMA. 1999-06-06 19:00:53 +00:00
ragge 64572c459a sgmap files, copied from the Alpha port and modified for vax. 1999-06-06 18:58:50 +00:00
ragge 22b5707362 Complete support for VAX 4000/300. From Michael Kukat. (michael@camaronet.de) 1999-06-06 14:23:46 +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 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
thorpej 5832084eaf bus_dmamem_map() maps DMA safe memory, which is usually one or more
managed pages, into KVA space.  Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().

Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE.  We do this for a couple of reasons:

	(1) On systems that have H/W mod/ref attributes, the hardware
	    may not be able to track mod/ref done by a bus master.

	(2) On systems that have to do mod/ref emulation, this prevents
	    a mod/ref page fault from potentially happening while in an
	    interrupt context, which can be problematic.

This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!

Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.
1999-05-25 23:14:03 +00:00
ragge ad1db202f7 bus.h'ify more of the vax code. 1999-05-24 20:10:30 +00:00
ragge 0354feab8e Make this file compile again. 1999-05-23 23:06:24 +00:00
ragge 373e7cc828 Rewrite the "emulate page reference bits" code to avoid a bunch of
pv_lists traversal and unneccessary page faults.
1999-05-23 23:03:44 +00:00
ragge 539f825799 Better and more understandable way to find out CPU type. 1999-05-23 22:56:53 +00:00
ragge 6c98e1bae7 Routine to figure out which system type is booted. 1999-05-23 22:00:43 +00:00
ragge f1fc4934a3 Use common routines to identify cpu type.
Set up a SCB to be able to handle clock interrupts in the boot program.
Now timer countdown should work on all types of vaxen.
1999-05-23 21:58:19 +00:00
ragge b337d4d3c7 Don't detect glass tty if the machine is a workstation.
Hint from Thomas Seidmann.
1999-05-20 23:00:58 +00:00
lukem e4a87aa1a9 * convert to using MI allocsys(). most ports were using an MD allocsys(),
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
thorpej f98d358a1f Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00