summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2000-06-12move cfdriver to ncr53c9x.c and device declaration to conf/files.Federico G. Schwindt
2000-06-08Add explicit inclusions of signalvar.h to files actually using syms definedNiklas Hallqvist
there but relying on an indirect inclusion
2000-06-07Fix comments to reflect reality.Artur Grabowski
2000-06-05Changes to exit handling.Artur Grabowski
cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD
2000-06-02rework interrupt handling completely, and be more careful with the CD180Jason Wright
during channel configuration changes.
2000-05-27better man page buildingTheo de Raadt
2000-05-25cause traversal into arch & subdirectories for the purposes of manual page ↵Theo de Raadt
install...
2000-05-18add machdep.vsyncblank sysctl for controlling whether vsync is disabledJason Wright
when the monitor is blanked.
2000-05-01When cache is mandatory, don't pmap_enter uncached in vmapbuf.Artur Grabowski
This unbreaks physio on SM71 and SM81. Thanks to mho@ for borrowing me a cpu I could test on.
2000-03-23New API for timeouts. Replaces the old timeout()/untimeout() API andArtur Grabowski
makes it the callers responsibility to allocate resources for the timeouts. This is a KISS implementation and does _not_ solve the problems of slow handling of a large number of pending timeouts (this will be solved in future work) (although hardclock is now guarateed to take constant time for handling of timeouts). Old timeout() and untimeout() are implemented as wrappers around the new API and kept for compatibility. They will be removed as soon as all subsystems are converted to use the new API.
2000-03-22allow opening of the fga char deviceJason Wright
2000-03-17move more sun4m stuff behind an #ifdefTheo de Raadt
2000-03-16Bring in some new UVM code from NetBSD (not current).Artur Grabowski
- Introduce a new type of map that are interrupt safe and never allow faults in them. mb_map and kmem_map are made intrsafe. - Add "access protection" to uvm_vslock (to be passed down to uvm_fault and later to pmap_enter). - madvise(2) now works. - various cleanups.
2000-03-08multiple inclusion protect because of pstat and socket.h needing ALIGNBYTESTheo de Raadt
2000-03-04Remove unnecessary, unreached, confusing code.Artur Grabowski
2000-03-03$OpenBSD$Todd T. Fries
2000-02-28Sanitize v{,un}mapbuf. (use the sizes we are passed, not the size from ↵Theo de Raadt
b_count); art
2000-02-27repair some gotchas in the .{u,}{mul,div,rem} replacement routines, out of a ↵Theo de Raadt
conversation with torek
2000-02-25cypress is not pure SUN4MTheo de Raadt
2000-02-23if we discover we are on a v8 cpu, and thus have the multiply and divideTheo de Raadt
instructions, replace the .{u,}{mul,div,rem} functions at runtime with (much smaller and faster) blocks using the actual hardware instructions.
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
2000-02-22Use an _BSD_FOO_T_ type declaration for off_t in machine/ansi.h to allowTodd C. Miller
off_t to be visible in stdio.h even in strict ansi mode. This is needed for ftello()/fseeko() and it allows us to remove the horrible fpos_t hack.
2000-02-21move fpproc into the cpuinfo structure.Artur Grabowski
2000-02-21The last pieces of hypersparc support.Artur Grabowski
- Split get_faultstatus into get_syncflt and get_asyncflt. - Get the syncflt status before setting up the trap frame and put the results in cpuinfo.syncfltdump (related to the next change). - unlock the sfsr/sfva after reading from ASI_SRMMUFP (it gets locked if the translation fails). - + other interface changes and cleanups. (most work from NetBSD).
2000-02-21In cpumatch_hypersparc - zap the instruction cache if we are the main cpu.Artur Grabowski
2000-02-21remove the annoying "hypersparc support still under construction" warning.Artur Grabowski
2000-02-21hypersparc has a writeback cacheArtur Grabowski
2000-02-21When mapping something into iommu space hypersparc requires us to align itArtur Grabowski
so that cache_alias_bits match in the kernel mapping and the iommu mapping. (see code for better explaination).
2000-02-21Take the hypersparc cache size from prom, enable instruction cache andArtur Grabowski
disable "Unimplemented Flush Traps". From NetBSD.
2000-02-21add char 124 to be SES devicemjacob
2000-02-20Add support for CDBs > 12 bytes.mjacob
2000-02-19flush the caches that need flushing on context switch.Artur Grabowski
2000-02-19replacemul has been broken all the time. comment it out for now.Artur Grabowski
2000-02-19get a symbol for pure_vcache_flushArtur Grabowski
2000-02-19Add two new cache operations.Artur Grabowski
cache_flush_all - (pretty obvious). pure_vcache_flush - flush all VIVT caches (needed on context switch). (From NetBSD).
2000-02-19link boot at a starting address 0x10000 higher than bootxx; avoids ↵Theo de Raadt
hypersparc cache aliasing
2000-02-18No need to call memerr4_4c through a pointer. We know when we are a 4/4c.Artur Grabowski
2000-02-18In vmapbuf expand uvm_km_valloc_wait into a direct call to uvm_mapArtur Grabowski
so that we can specify an offset. This allows uvm_map to use PMAP_PREFER and removes a big source of bad cache aliases. With this change I have not seen any bad cache aliases during normal use. (it is still possible to force them).
2000-02-18setpte4m is now only legal for kernel mappings.Artur Grabowski
2000-02-18Zap an unnecessary and confusing prototype for setpte4m.Artur Grabowski
2000-02-18Add a bunch of hypersparc registers. (from NetBSD).Artur Grabowski
2000-02-18Rename some registers to match NetBSD and litterature.Artur Grabowski
(SFADDR -> SFAR, SFSTAT -> SFSR, AFADDR -> AFAR, AFSTAT -> AFSR).
2000-02-17add wrasr (the name says it all)Artur Grabowski
2000-02-17In dvma_mapout don't try to flush unmapped memory from cache.Artur Grabowski
2000-02-15Use extents instead of rmaps to handle dvma space.Artur Grabowski
2000-02-09don't include netinet6/ip6.hJun-ichiro itojun Hagino
2000-02-04In cases where we flush a page from the cache and tlb we want toArtur Grabowski
flush it from the tlb _after_ the cache because some cache flushes can reload the tlb. (fixes random coredumps on some cpus).
2000-02-04Some cpus might have the cache running even before we enable it.Artur Grabowski
Uncache the pagetables in pmap_bootstrap4m and recache them again in pmap_cache_enable if we can. This fixes the problems seen on SM30.
2000-02-01Add a bunch of XXX on incorrect handling of pv_flags.Artur Grabowski
None of the noted problems are critical (the code still works), but they can have a severe impact on the performance and they are all really hard to fix in an elegant way.
2000-02-01Opps. Missed two cases of ps_alias_recache.Artur Grabowski