summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2000-01-27remove bogus commentArtur Grabowski
2000-01-27reduce global symbol pollutionArtur Grabowski
2000-01-27use {round,trunc}_page instead of manually doing the same thingArtur Grabowski
2000-01-27pmap_writetext - use getptep4m/setpgt and avoid one unnecessary table walkArtur Grabowski
2000-01-27It's amazing what you can find with some code reading.Artur Grabowski
In pv_unlink4m we check if the page that was uncached due to bad aliases can be cached again. The check was correct but instead of clearing this flag we clear all other flags except PV_ANC.
2000-01-27zap setptesw4m, not used anymoreArtur Grabowski
2000-01-27zap getptesw4m, not used anymore (and the comment was bogus)Artur Grabowski
2000-01-27update comment to reflect reality (remove it).Artur Grabowski
2000-01-27pmap_rmk4m: There is no need to flush the segment from the tlb orArtur Grabowski
to zero the table when we have 0 mappings in a segment.
2000-01-26cleanup and simplify pmap_page_protect4m:Artur Grabowski
- Use a normal while-loop when walking the pv lists instead of an ugly hack. - always clean the pte even if we know that it will be freed. - No need to flush the segment from the tlb in kernel. - add some ifdef DIAGNOSTIC. - clear the PV_ANC flag on the pv.
2000-01-26Replace more table-walks and getpte4m/setpte4m with getptep4m/setpgt4m.Artur Grabowski
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