summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2000-01-22changes to GENERIC must be matched in GENERIC_SCSI3Theo de Raadt
2000-01-17pmap_{zero,copy}_page4m: use getptep4m to get the ptes for vpages.Artur Grabowski
This way we only walk the tables once every boot and we don't have to switch to context 0 on every call.
2000-01-14Cleanup the handling of ptes on 4m.Artur Grabowski
Implement a generic getptep4m that returns the pointer to the pte for (pmap, va). reimplement (and make static __inline) {set,get}ptesw4m and setpte4m using getptep4m. (more on this topic coming soon)
2000-01-14make setpgt4m static __inline, remove dead code.Artur Grabowski
2000-01-12ifdef SUN4M, ok art@David Leonard
2000-01-09Do the bootpath_store dance so we can boot off of a disk attachedmjacob
to an isp controller. This involves rewriting the matched bootpath component for the HBA with the generic 'isp' name so that matching can be done correctly elsewhere. Also use nulling the pointer to f/w to indicate not to load the current f/w set (for older PTI cards) instead of f/w length.
2000-01-09add INET6 into conf/GENERIC.Jun-ichiro itojun Hagino
add pseudo-devices for IPv6 into arch/*/conf/GENERIC. nuke arch/*/conf/GENERIC.v6.
2000-01-03.Sh "SEE ALSO" -> .Sh SEE ALSOPaul Janzen
2000-01-01check db_panic in kdb_trap() as well; similar to i386 fix from assarTheo de Raadt
2000-01-01make the kernel compileTheo de Raadt
1999-12-30Add tctrl0 for tadpole so things like powerdown work.Todd C. Miller
1999-12-17Use pmap_writetext instead of manually fiddling with pmap_changeprot whenArtur Grabowski
filling in the fastint vectors.
1999-12-10shrinkTheo de Raadt
1999-12-10fix rx mbuf allocationJason Wright
1999-12-09Opps, missed to change one FREE(pv, ...) to pvfree(pv).Artur Grabowski
1999-12-09Fix a bug we've had for ages.Artur Grabowski
On some sun4m the pagetables must be uncached. This is indicated by the CPUFLG_CACHEPAGETABLES in cpuinfo.flags. This was done in pmap_bootstrap4m. The problem is that the CPUFLG_CACHEPAGETABLES is not set until after pmap_bootstrap4m, so even the machines that could cache the pagetables had them uncached, reducing performance. Fix this by creating pmap_cache_enable that is called just after the cache has been switched on (XXX - actually, we should call it before, but CPUFLG_CACHEPAGETABLES can be set in the code that enables the cache).
1999-12-09Since we uncache the memory in dvma_malloc, it is a good idea to recacheit inArtur Grabowski
dvma_free.
1999-12-09Change the kvm_uncache interface to a kvm_setcache that can uncacheArtur Grabowski
a memory and allow the range to be cached again. Make kvm_uncache and kvm_recache to macros that call kvm_setcache. (also in the commit: Fix protection for pmap_kenter* and remove a redundant call to uvm_setpagesize).
1999-12-09Make PMAP_NEW compile again.Artur Grabowski
1999-12-09Fix pmap_kenter_pa4m. First shot at a better pmap_kenter_pgs.Artur Grabowski
1999-12-08only replace .mul/.umul on v8 cpusTheo de Raadt
1999-12-08fix mbuf chain allocation to comply with m_devget() wayJason Wright
1999-12-08fix mbuf chain allocation to comply with m_devget() way.Jason Wright
1999-12-08Readd the PMAP_NEW code, this time with the missing ifdef.Artur Grabowski
1999-12-08undo even more damageTheo de Raadt
1999-12-08undo total garbage untested sloppy commit from artTheo de Raadt
1999-12-08Better pmap_kenter_pa4m.Artur Grabowski
Use pmap_kenter_pa4m in pmap_kenter_pgs4m.
1999-12-08Dumb implementation of PMAP_NEW, it works but without any gains yet.Artur Grabowski
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).
1999-12-08add GENERIC.v6 (IPv6 test configuration). to be integrated into GENREIC.Jun-ichiro itojun Hagino
1999-12-08make sure video timing is enabled (not always done by prom); NetBSD.Jason Wright
1999-12-07Use pool to allocate page tables. This has the nice effect that we can uncacheArtur Grabowski
them on allocation instead of flushing cache every time we fiddle with them. Some parts from NetBSD.
1999-12-07move .mul and .umul into the kernel. if v8 sparc is detected, replace withTheo de Raadt
the equivelant 2-instruction sequence.
1999-12-01crank DFLDSIZ to 32MBTheo de Raadt
1999-11-26Use round_page instead of some home-made macro.Artur Grabowski
1999-11-25In the cases where we are sure what page size we have, define PAGE_SIZEArtur Grabowski
(and friends).
1999-11-24No need to set the page size twiceArtur Grabowski
1999-11-22add empty mmioctl() implementation for new /dev/mem interface for allMatthieu Herrb
architectures.
1999-11-22Far too many things to note- a complete new revision coming in.mjacob
1999-11-16Don't allocate vmmap in pmap_bootstrap, allocate it in mmrw when needed.Artur Grabowski
At the same time, give it a 'better' name.
1999-11-16Remove duplicate variable definitions.Artur Grabowski
1999-11-16No need to do "sp->sg_npte = 0" in an if (sp->sg_npte == 0)Artur Grabowski
1999-11-16Opps.. remove stuff that shouldn't be in the last commit.Artur Grabowski
1999-11-16Optimize the case of writing to /dev/zero like we do in for /dev/nullArtur Grabowski
1999-11-13from chuq@chuq.com: several fixes to copy{in,out,}str() from charlesTheo de Raadt
and myself: don't panic if maxlen == 0, just return ENAMETOLONG. treat maxlen as unsigned like the manpage indicates. avoid crashing if the userspace address is >= KERNBASE. make sure *done is 0 when no bytes are copied.
1999-11-12Break out the allocation of pv entries and 4m pagetables into functions.Artur Grabowski
This is a preparation to make them non-sleeping.
1999-11-11General cleanup of pmap.Artur Grabowski
- MACHINE_NONCONTIG will no longer work and all code that is not MACHINE_NEW_NONCONTIG is removed. - Kill the pv_table hack which adds complexity to the code and wastes some memory, let the vm "handle" the pv lists through the vm_physmem array, this makes allocation a lot easier. - kill the managed() macro, since it was only used to see if pvhead would end up in a "hole" in pv_table. - pvhead() is now a function that returns NULL if the page is unmanaged. It also takes a page number as an argument instead of the physical address, since in most cases pvhead was called as pvhead(ptoa(pa)) anyway and it did an atop internally.
1999-11-08move MI definition of rd into it's MI place also fixingMichael Shalayeff
attributes, allowing kernels to exist w/ rd as the only disk device. tested on a few archs; niels@ & millert@ ok
1999-11-05MACHINE_NEW_NONCONTIG is now default even without uvm.Artur Grabowski
1999-11-05Since we no longer allocate the iommu page tables in pmap_bootstrap, we canArtur Grabowski
remove unavail_{start,end} and simplify the code in pmap_page_upload.