Commit Graph

633 Commits

Author SHA1 Message Date
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
mrg
53be5b215c <vm/vm_pageout.h> is already empty; kill it totally. 2000-06-25 13:49:33 +00:00
eeh
2e1e35d58e Enable interrupts. 2000-06-24 23:27:23 +00:00
eeh
6c5d2dbbac With these changes the kernel seems almost stable again. 2000-06-24 20:48:36 +00:00
eeh
8e1fd2e3c6 Remove a couple of references to vaddrs.h that slipped through. 2000-06-24 16:51:34 +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
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
eeh
75eaa6ba70 lda is unsigned, ldswa is signed. Fixes a 32-bit sign extension bug. 2000-06-20 18:06:12 +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
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
f007a974bb turn off softdep for now; we have enough other things to worry about. 2000-06-15 18:23:52 +00:00
mrg
eccc09d9de fix a couple of errors in the previous. from eeh. 2000-06-15 15:51:07 +00:00
mrg
e26f7acd77 my Ultra-1 2000-06-15 13:50:20 +00:00
veego
223d7455c7 Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
eeh
3517559eb5 Missing paren. 2000-06-13 05:04:05 +00:00
eeh
fb0404cc75 Start reorganizing the kernel for MULTIPROCESSOR support. 2000-06-12 23:32:46 +00:00
eeh
65bca8bde2 Fix OF_val2sym and OF_sym2val. 2000-06-12 23:26:38 +00:00
eeh
3dfb9ee7ac More debugging support. 2000-06-12 23:20:54 +00:00
eeh
0146a569d2 Comment describing the IOMMU DVMA address space layout. 2000-06-12 23:19:05 +00:00
eeh
cc29e9b22c ebus_ca needs to specify enough memory to hold an ebus_softc, not a struct device. 2000-06-12 22:36:59 +00:00
mrg
69d1f5db9d clean up cruft. 2000-06-12 05:31:30 +00:00
mrg
fdfb59b4b9 ih_map & ih_clr are volatile. 2000-06-12 05:29:43 +00:00
mrg
9918c00a61 formatting nit. 2000-06-12 05:27:27 +00:00
eeh
d26027dd5b Only use 32-bit addresses for all accesses that don't bypass the MMU.
Makes SBus work again.
2000-06-10 20:51:43 +00:00
eeh
c69e701de8 Separate COPTS from CFLAGS to fix problems w/unoptimized files, and add
lfs_loop.c to the list that breaks optimization.
2000-06-09 15:28:21 +00:00
mrg
ed15212269 myetheraddr(): don't lose badly when the clock hasn't been attached yet. 2000-06-09 05:27:40 +00:00
eeh
7539c8d1ce Turn on PCI MEM and DMA. 2000-06-08 23:03:17 +00:00
eeh
6c144faa4c Allow multiple drivers to share one interrupt vector. 2000-06-08 23:01:22 +00:00
eeh
1b31fdcbb7 Fix uninitialized variable bug. 2000-06-08 22:58:42 +00:00
eeh
1dfab2070a Override optimization for files that break gcc. 2000-06-08 21:25:18 +00:00