pk
564ca8fafd
Don't bzero() the IO page table; it is fully initialized in iommu_attach().
1998-05-19 09:17:32 +00:00
pk
9dae8945ef
In kvm_uncache(), turn off the PTE cache bit even after calling
...
pv_changepte(). Reason: the managed() macro does not take into
account the gap in the managed pages range that may have been introduced
by the page table allocation in bootstrap().
1998-05-19 09:14:34 +00:00
kleink
d2db996158
Fix some arithmetics lossage on typeless pointers.
1998-05-07 21:13:23 +00:00
pk
263413efd9
Do not request more privileges from vm_fault() than required, i.e. don't
...
request read access in addition to write access on a write fault.
1998-05-06 14:28:29 +00:00
pk
e615541de9
Maintain far more complete state in the PV lists on the cacheability of pages,
...
using separate flag bits for mappings that were requested to be not
cacheable and uncacheable pages due to incongruent aliases.
This avoids inadvertently turning on the cache-enable bits when removing
one of multiple virtual address mappings to the same page. Reading
from /dev/mem could do this to arbitrary pages.
1998-05-06 14:17:53 +00:00
mrg
445283dc37
make UVM the default on the sparc
1998-05-05 01:15:05 +00:00
pk
b6933ca39d
Reading back the IOMMU registers apparently has the ability to wedge
...
microSPARC I cpus. Instead insert a couple of no-ops that seems to
avoid the microSPARC II lossage just as well.
1998-05-04 23:16:59 +00:00
thorpej
1686aca01d
Pull in opt_gateway.h as appropriate.
1998-04-29 23:11:00 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
chs
8cacea4ea0
fix a timing problem with polled output on sun4c's.
1998-04-23 04:06:17 +00:00
pk
c1a4f8c8ed
Define `xbox'.
1998-04-18 19:03:00 +00:00
pk
90b5c246c6
Skeleton code for the SBus expander box.
1998-04-18 19:00:17 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
pk
98e9f557c2
No need to export bus_intr_establish().
1998-04-07 20:43:58 +00:00
pk
beb02e6b82
Use bus space methods to implement the vme bus space functions.
1998-04-07 20:21:55 +00:00
pk
b333d0bb62
The bus space functions now take care of "pass-through" methods.
1998-04-07 20:20:03 +00:00
pk
fbc1fe8213
bus_space_mmap() has changed to take a `bus_space_handle_t *' argument,
...
like other bus space methods.
1998-04-07 20:18:17 +00:00
pk
3f455e21d9
The bus space functions now take care of "pass-through" methods.
1998-04-07 20:11:54 +00:00
pk
5ecf4dce67
Remove old mapdev() function prototype.
1998-04-07 20:08:29 +00:00
pk
286472fe4d
* Pass the bus tag instead of just the cookie to all bus space methods.
...
* In the bus tag structure, keep a reference to the parent bus.
* Express all bus space methods as inline functions in stead of macros
and use the parent bus tag reference to find the nearest "upstream"
bus that implements the method.
1998-04-07 20:07:23 +00:00
pk
dd3352e3e3
bus_space_*() functions now have the bus tag as first argument.
...
Remove old mapdev() function that is no longer used.
1998-04-07 19:57:37 +00:00
pk
676939e234
Make the single-step support routines available to KGDB-only kernels as well.
1998-04-03 19:53:36 +00:00
pk
437796f42a
Move initialization of `proc0.p_addr' from cpu_startup() to bootstrap().
1998-04-01 14:03:26 +00:00
pk
763a681898
Accommodate cgsix bus-attach split.
1998-03-31 21:12:15 +00:00
pk
e3e74bd0d5
Factor out bus code into separate files.
1998-03-31 21:05:04 +00:00
pk
be4108fec1
Replace direct `sparc_bus_map()' calls with bus space map method.
1998-03-30 14:21:38 +00:00
pk
c2d9565240
mainbus pa_addr' is now a
bus_addr_t'.
1998-03-30 14:15:57 +00:00
pk
fed9d8e6d6
Make mainbus attach phys addr field a bus_addr_t.
1998-03-30 14:15:12 +00:00
mycroft
d4da63c6c3
Eliminate cs_heldchar. It is not necessary in my version of the driver.
1998-03-30 02:41:21 +00:00
pk
a55cefe6b4
Initialize `par_err_reg' in the mainbus attach function.
1998-03-29 22:13:30 +00:00
pk
b782c3448c
obio_bus_probe() => bus_space_probe()
1998-03-29 22:10:32 +00:00
pk
2ad26b801c
Fill in the bus tag's `bus_space_unmap' method.
1998-03-29 22:06:58 +00:00
pk
82663a0330
Implement `_obio_bus_map()' and insert it into the obio bus' bus tag.
...
Remove obio_bus_probe().
1998-03-29 22:05:05 +00:00
pk
57a8159633
Enter `obio_find_rom_map()' prototype.
...
Make `oba_paddr' field a `bus_addr_t'.
Define temporary compat `obio_bus_map()'.
1998-03-29 22:02:46 +00:00
pk
11928be0ff
`sparc_bus_mmap()' declaration moved to machdep.c
1998-03-29 22:00:33 +00:00
pk
759c8965a3
Use obio_find_rom_map()' explicitly instead of using
obio_bus_map()'
...
without a proper bus tag.
1998-03-29 21:59:44 +00:00
pk
2f1dd95a2d
Declare `sparc_bus_unmap()' static.
1998-03-29 21:56:32 +00:00
mrg
47a62a0eed
use bitmask_snprintf.
1998-03-29 05:10:45 +00:00
mrg
b61e2629f2
remove register from decl.
1998-03-29 05:08:46 +00:00
pk
2a65520c69
bus_space_probe() prototype.
1998-03-28 19:45:29 +00:00
pk
89444e9309
Implement generic bus probe function.
1998-03-28 19:44:08 +00:00
pk
f3d6050987
Typo in initial interrupt register mapping code.
1998-03-26 16:11:40 +00:00
pk
f658122053
Check for a valid PROM virtual address.
1998-03-25 23:15:07 +00:00
pk
ce14ebd2b7
Include not-cacheable bit in base bus space mmap function.
1998-03-24 10:00:14 +00:00
pk
23521d1c5f
Fix yank-and-put error in sbus attach code.
...
Misc. cleanup.
1998-03-23 17:37:04 +00:00
pk
4730d097ad
Only print interesting interrupt levels.
1998-03-23 17:21:52 +00:00
pk
3702424d0f
Restore initialization of `par_err_reg' (sun4).
1998-03-23 17:16:03 +00:00
pk
279df61dbe
Fill in the pointers the MI back-end expects correctly.
...
Add comment and diagram explaining the memory layout (to be revisited..).
1998-03-22 22:12:52 +00:00
pk
405ec57e9f
Lift the tilde a bit.
1998-03-22 20:24:05 +00:00
pk
e6a2630760
Direct the Sbus bus map function through the bus tag.
1998-03-21 22:03:33 +00:00