mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
pk
51a2c92940
The `sw' driver should not use vme bus routines.
2000-06-26 09:50:00 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
nisimura
472221aa39
Abandon {mips1,mips3}_TBRPL() which have little gain than TLBUpdate().
2000-06-26 03:05:04 +00:00
nisimura
074a952030
Abandon {mips1,mips3}_TBRPL()s which have little gain. They were
...
expected to be better than MachTLBUpdate(). After all, TLBUpdate()
is rather harmful and should be replaced with TBIS().
2000-06-26 02:55:45 +00:00
thorpej
9a2d9ff68b
Because of the Cool sign-extension hack we use to access PCI space,
...
the `get window' method ends up with the wrong physical address to
pass onto userspace (which wants to mmap the space).
Compensate by adding a CHIP_PHYSADDR() macro which un-hacks the address
suitably for mapping with other-than-KSEG.
2000-06-26 02:42:10 +00:00
enami
506c4945d8
Fix typo in previous to prevent compilation error when DEC_1000 isn't
...
configured.
2000-06-26 02:42:04 +00:00
wrstuden
491d7e6764
Fix logic bug which would keep PPS from working. Noticed by:
...
Charles Carvalho <carvalho@cisco.com>
2000-06-25 20:55:33 +00:00
thorpej
a2318e49a0
G/c unused include.
2000-06-25 19:33:01 +00:00
thorpej
167094d31a
Implement mcpcia_bus_get_window().
2000-06-25 19:32:19 +00:00
thorpej
865004842f
Implement tsp_bus_get_window().
2000-06-25 19:17:39 +00:00
ragge
7781fd263e
Detect "rd" as root device.
2000-06-25 18:27:24 +00:00
thorpej
9f7689e3c9
For systems which have different systypes but share a common
...
support module, make consistent with other systems which options
you must enable for it to work. Treat ``Lynx'' (2100A_A500) like
``Sable'' (2100_A500).
2000-06-25 17:21:55 +00:00
scw
ab30216ea2
Some tweaks to make things work properly with `dependall'.
2000-06-25 16:39:05 +00:00
ragge
bd66c9dafc
Make the HDC9224 MFM device driver up-to-date; has been not-working
...
since NetBSD 1.2 (!) It also uses interrupts instead of polling now.
Also fix the DMA area locking between SCSI and MFM disks.
Still missing - floppy support.
2000-06-25 16:00:43 +00:00
mrg
53be5b215c
<vm/vm_pageout.h> is already empty; kill it totally.
2000-06-25 13:49:33 +00:00
mrg
f5f84f80c5
<vm/vm_prot.h> becomes <uvm/uvm_prot.h>
2000-06-25 13:37:51 +00:00
mrg
c543a66253
remove some redundant <vm/vm_xxx.h> includes
2000-06-25 13:26:19 +00:00
pk
8b3ad4a667
Use vme_dmamap_create() instead of bus_dmamap_create().
...
Remove Sun hardware id test from si_match().
2000-06-25 13:09:52 +00:00
pk
560d1ea54c
Implement vme_dmamap_create/vme_dmamap_destroy, which allows us to
...
select the appropriate DVMA subrange for VME devices.
2000-06-25 13:07:34 +00:00
eeh
2e1e35d58e
Enable interrupts.
2000-06-24 23:27:23 +00:00
pk
0790f00e68
Maintain the DVMA map extent subregion boundaries in the bus_dma map
...
structure.
2000-06-24 22:47:45 +00:00
eeh
6c5d2dbbac
With these changes the kernel seems almost stable again.
2000-06-24 20:48:36 +00:00
scw
227985dcc0
Make these compile when DIAGNOSTIC isn't defined.
2000-06-24 20:43:14 +00:00
eeh
8e1fd2e3c6
Remove a couple of references to vaddrs.h that slipped through.
2000-06-24 16:51:34 +00:00
mark
3880aa267c
Implement bus_space_write_region_4() and bus_space_read_region4()
...
for footbridge.
2000-06-24 09:42:47 +00:00
eeh
49bf46caf7
Add PROM symbols to 32-bit kernels too.
2000-06-24 04:42:55 +00:00
eeh
85cab8fe27
More VM cleanup:
...
Move the cpu_info structure above the interrupt stack so it won't
get corrupted if the stack overflows.
Flush the D$ before and after all MMU bypass accesses since the
D$ latches all of those.
2000-06-24 04:38:20 +00:00
eeh
25bb978ba8
Printing out %pc values should now be safe.
2000-06-24 04:26:45 +00:00
eeh
0db2dfd53f
Make these interrupt levels reflect reality a bit better.
2000-06-24 04:25:08 +00:00
eeh
cc02c0d142
masterpaddr is gone.
2000-06-24 04:24:10 +00:00
eeh
be308420d4
Get rid of vaddrs.h.
2000-06-24 04:20:58 +00:00
thorpej
7a0a177352
Put `sysmon' in the `lm' slot, and free the `viaenv' slot.
2000-06-24 00:38:21 +00:00
thorpej
f82e306928
Add a clearing-house pseudo-device for system monitoring devices
...
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.
Convert the `lm' and `viaenv' drivers to the new interface.
2000-06-24 00:37:19 +00:00
scw
c42886a2b8
Fix the `evcnt' prototypes.
2000-06-23 20:07:49 +00:00
eeh
3bc65c6d9e
Use probeget to read kernel data to prevent the machine from falling over if the PC goes bad.
2000-06-23 19:52:57 +00:00
eeh
e9b3925f8b
Make probeget() and probeset() really work for a change.
2000-06-23 19:50:54 +00:00
kleink
133ea38323
Add a WEAK_ALIAS() macro.
2000-06-23 12:18:45 +00:00
fvdl
1ee7d22c0b
Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
2000-06-22 20:27:49 +00:00
eeh
d24721788a
Correct calculation of length for dma segments in iommu_dmamap_load().
2000-06-22 18:18:19 +00:00
minoura
1786183f07
Reduce ramdisk size.
2000-06-22 14:27:07 +00:00
soren
e7d8e5164a
Remove extraneous mips1_TBRPL() prototype.
2000-06-22 05:00:48 +00:00
is
30cef4176a
- auto-USE_C_BFOPS when !defined(__m68k__)
...
- for bold characters, only blit the leftmost ftwidth pixels per character
cell row. The rightmost row which used to be printed would have been
overwritten formerly by the next character on sequential output, so no
visible change will result most of the time.
This fixes two problems:
* USE_C_BFOPS (which only works for 8 pixel wide fonts) blits the same
for bold characters now... it used to print the rightmost 8 pixel columns
of the bold-smeared characters
* we no longer need a reserved 1 pixel column at the right end of the screen.
That is, a 640x400 screen will hold 80x50 charactes with the 8x8 font.
2000-06-21 21:28:39 +00:00
matt
1b7636d353
uint32_t -> u_int32_t
2000-06-21 20:41:13 +00:00
soren
78c90ae276
Fix pasto.
2000-06-21 19:39:32 +00:00
nonaka
8f7d8527db
- rewrite enable io/mem space code.
...
(rewriten by Tim Rightnour <garbled@netbsd.org>, thanks!)
- more fixup pci base address.
2000-06-21 14:09:33 +00:00
pk
6a56e89b7a
Enable SUN4_MMU3L (sun4/400 3-level MMU support)
2000-06-21 13:46:43 +00:00
pk
5c1633af0d
Fix pastos in bus_space_read_region_*() functions.
2000-06-21 13:41:23 +00:00
matt
15511d1dcc
Move COFF_LDPGSZ to ibcs2_machdep.h. Fix nmagic loader to deal with
...
subpage mappings.
2000-06-21 05:45:15 +00:00
eeh
75eaa6ba70
lda is unsigned, ldswa is signed. Fixes a 32-bit sign extension bug.
2000-06-20 18:06:12 +00:00
pk
2bb919e39a
Update entries for VME devices ie[1-4].
2000-06-20 14:24:24 +00:00
pk
a849fa0158
region_free: use correct index to invalidate a MMU region cookie in a pmap.
...
Remove work-around in pmap_enter(); the sun4/3-level MMU now works.
2000-06-20 12:04:22 +00:00
soda
7b3141e1fb
for DeskStation RPC44
2000-06-20 08:26:52 +00:00
soda
5b55580c01
sys/arch/alpha/isa/isadma_bounce.c, for reference.
2000-06-20 08:25:41 +00:00
tsubai
1d8c57a8e5
Need include <vm/vm.h>.
2000-06-20 08:04:35 +00:00
soda
76baab0725
3rd argument of TBRPL() is not paddr_t but PTE.
...
XXX - mips3_TBRPL seems to be never called.
2000-06-20 05:54:03 +00:00
matt
5c13e34063
CDROMs can exist on ide buses
2000-06-20 03:48:53 +00:00
soren
d78ff1cd5b
Add mips3_write_config().
2000-06-20 02:57:17 +00:00
soren
6cf4b35f71
s/installboot/installkernel/, so it won't be confused with a real installboot.
2000-06-20 00:24:03 +00:00
eeh
245619bad4
Have separate data and text segments, make text read-only.
2000-06-19 23:30:32 +00:00
eeh
4ffba8be2a
Fix uninitialized pointer bug.
2000-06-19 22:29:15 +00:00
pk
c1aec32fc0
Use `pv_pool' in non-wait mode; for now, panic if memory is exhausted.
2000-06-19 21:06:32 +00:00
ragge
e79e5730cc
Variable "from" must be in first block read from disk, otherwise it will be
...
overwritten on non-VMB machines.
2000-06-19 20:05:17 +00:00
is
9172c5b451
P5 board clock decoding.
2000-06-19 19:49:51 +00:00
tsubai
1155f3af58
Allow mmap of frame buffer registers.
2000-06-19 19:35:20 +00:00
simonb
8e0ec9a961
s/ouwl/outl/ in macro definition.
2000-06-19 12:19:38 +00:00
msaitoh
03cf0ea64a
clear ORER, FER and PER bit of the SCSSR reg.
...
(This bits aren't cleared automatically)
2000-06-19 09:32:00 +00:00
msaitoh
4d2677e3a0
clear the ER bit of the SCSSR2 reg.
...
(This bit isn't cleared automatically)
2000-06-19 09:30:35 +00:00
matt
1293f1b88b
Rename ncr[5380] device to si to more consistent with other ports.
...
Add VAX660 to cputype.h. Remove needs-flag from si & asc entries.
2000-06-19 04:22:14 +00:00
itohy
39c5d5c7a4
Store return value to a0 before calling CERROR function if __SVR4_ABI__.
2000-06-19 03:43:12 +00:00
itohy
db3aed16df
Fix weird macro definitions.
...
They are internal use only and the typos are no harm, you know. :)
2000-06-19 03:42:31 +00:00
cyber
099ead3895
increase size to allow for dhclient
2000-06-18 23:53:32 +00:00
fvdl
51e81216d1
Rearrange previous slightly to avoid getting values that are too low;
...
the only goal here is to leave some space for the stack.
2000-06-18 23:03:45 +00:00
scottr
fbafc16812
Revert debug-related bogon that snuck in (no change in functionality).
2000-06-18 22:58:45 +00:00
matt
955a631ce4
We use opt_cputype.h now.
2000-06-18 22:47:19 +00:00
pk
d982283952
vme4_dmamap_[un]load: ensure enough DVMA space is allocated to cover the
...
buffer and store that amount in the DMA map to avoid re-computation.
Also add a cache flush as the bus_dmamap_sync() don't do that yet.
2000-06-18 19:30:21 +00:00
pk
a29dc4045f
Conversion to bus_space*().
2000-06-18 19:19:53 +00:00
castor
512723f616
Fix integer overflow in calculation of VM_MAX_KERNEL_BUF.
2000-06-18 18:29:04 +00:00
minoura
fa85bf07cd
Enable INET6.
2000-06-18 10:30:35 +00:00
mrg
cafc122317
catch up with fpu changes.
2000-06-18 08:13:45 +00:00
mrg
f44ba0a4dc
back out part of previous.
2000-06-18 08:13:26 +00:00
mrg
fab0adad15
iommu_flush becomes iommu_strbuf_flush cuz that's what it does.
2000-06-18 07:17:40 +00:00
mrg
70a9c29b9b
give BSDB_MAP a value. add a shushing cast.
2000-06-18 07:13:41 +00:00
mrg
b6026e7c35
kill dead code.
2000-06-18 07:12:39 +00:00
mrg
fde87ed5d6
add a (u_long) cast for quietness
2000-06-18 07:10:23 +00:00
mrg
0bd5307bf8
remove an unused variable.
2000-06-18 07:05:09 +00:00
mrg
9105157268
duplicate "file" should only include "compile-with"
2000-06-18 07:03:35 +00:00
mrg
4f9416205c
update to reality
2000-06-18 07:02:04 +00:00
mrg
e36a32c98f
obsolete these; use the merge sparc version.
2000-06-18 06:58:30 +00:00
mrg
41d83cead7
use arch/sparc/fpu
2000-06-18 06:57:15 +00:00
mrg
feddb7ad96
merge in ultrasparc changes
2000-06-18 06:54:17 +00:00
fvdl
8dde6d4336
Account for the stack when computing the base va. This makes the
...
bootblocks work again on the 4/110.
2000-06-18 02:25:17 +00:00
tsubai
ce3ea53415
Remove "options NFS_BOOT_BOOTPARAM" to fit 1.4M floppy.
...
(still have NFS_BOOT_DHCP)
2000-06-17 21:44:46 +00:00
deberg
e7009646cf
my development machine
2000-06-17 20:57:12 +00:00
scottr
cee7249423
Since interrupts are now enabled during ADB autoconfig, it's possible to get
...
a keyboard event before wskbd is attached. Make sure we've done that before
passing an event to kbd_intr(), which in turn hands off to wskbd_input().
This is another part of the fix for PR 10086.
2000-06-17 18:00:47 +00:00
scottr
6f644439a9
Only the first device that we're sure is a keyboard should be attached
...
as the wskbd console device. (Part of the fix for PR 10086.)
2000-06-17 17:46:40 +00:00
shin
0e04419b62
for size reduction.
...
out:
SCSIVERBOSE
QUOTA
ccd
we support CD-ROM drives, so CD9660 is necessary.
in:
CD9660
2000-06-17 10:53:05 +00:00
soda
d09614e559
reflect reality
2000-06-17 09:18:39 +00:00
soda
5294792417
- vga/pckbc attachment for jazz internal bus of Magnum derived machines
...
(including Pica, NEC RISCstation/RISCserver).
- TGA console initialization for NEC RISCstation 2250,
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-17 07:29:06 +00:00
soda
2c9c6b6b06
vga/pckbc attachment for jazz internal bus of Magnum derived machines
...
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:28:07 +00:00