Commit Graph

642 Commits

Author SHA1 Message Date
kleink d82c31e07e Typo. 2000-06-27 08:43:02 +00:00
kleink bb2ed0f487 G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_. 2000-06-27 05:53:22 +00:00
kleink 47b5c5e3b1 Resolve some formatting nits; add __intptr_t and __uintptr_t. 2000-06-27 04:58:51 +00:00
pk 7d89e9904d We want prom_claim_phys() to return the address passed into it. 2000-06-26 19:45:54 +00:00
pk 9b1e1aeb66 prom_claim_phys: it appears one result argument too many was specified.
Now we can return the actual result of the call rather than merely
reflecting the input.
2000-06-26 19:41:20 +00:00
pk ff54ba628e prom_claim_phys: set `align' parameter to 0 (meaning: get the chunk at the
specified address).
2000-06-26 19:36:07 +00:00
kleink e695f72a2e Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
2000-06-26 15:42:16 +00:00
eeh 7e7c0311e4 Advertise we have __GENERIC_SOFT_INTERRUPTS. 2000-06-26 15:13:26 +00:00
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
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