summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
AgeCommit message (Collapse)Author
2000-01-27reduce global symbol pollutionArtur 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-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-08Dumb implementation of PMAP_NEW, it works but without any gains yet.Artur Grabowski
1999-12-01crank DFLDSIZ to 32MBTheo de Raadt
1999-11-25In the cases where we are sure what page size we have, define PAGE_SIZEArtur Grabowski
(and friends).
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-05MACHINE_NEW_NONCONTIG is now default even without uvm.Artur Grabowski
1999-09-07update the comment about how the srmmu works (some names were wrong)Artur Grabowski
1999-09-03Change the pmap_enter api to pass down an argument that indicatesArtur Grabowski
the access type that caused this mapping. This is to simplify pmaps with mod/ref emulation (none for the moment) and in some cases speed up pmap_is_{referenced,modified}. At the same time, clean up some mappings that had too high protection. XXX - the access type is incorrect in old vm, it's only used by uvm and MD code. The actual use of this in pmap_enter implementations is not in this commit.
1999-08-21definitions needed by sbin/kbd/kbd_sparc.cMats O Jansson
1999-07-25move around ioctl definitionsJason Wright
1999-07-23Drivers for the FORCE CPU-5V:Jason Wright
o fga5000 vme-sbus bridge o system config registers o flash memory and daadio VME board driver
1999-07-20add support for "floating accent" and compose. -mojMats O Jansson
1999-07-18Add code to support none us keyboards in kernel. -mojMats O Jansson
1999-07-09vm_offset_t -> {v,p}addr_t and vm_size_t -> {v,p}size_tArtur Grabowski
remove "register" keywords Various cleanups.
1999-07-07define vaddr_t, paddr_t, vsize_t and psize_tArtur Grabowski
1999-06-06set DFLDSIZ to 24MBTheo de Raadt
1999-05-29typoArtur Grabowski
1999-05-27typoArtur Grabowski
1999-05-10Use symbolic define for BYTE_ORDER.Marc Espie
(don't forget that cpp is `lazy': #define A B #define B value #if A == value works, since A isn't extended before it's needed, by which time B is known)
1999-04-22MACHINE_NEW_NONCONTIG code. From NetBSD. Needed by UVMArtur Grabowski
1999-04-22[vp]{addr,size}_t needed by UVMArtur Grabowski
1999-04-22implement pmap_{,de}activateArtur Grabowski
1999-04-22protect from multiple includeArtur Grabowski
1999-04-18Support for the Sun SBus Expansion Subsystem (SUNW,xbox)Jason Wright
1999-02-07implement sparc atomic lock with LDSTUBDavid Leonard
1999-02-01driver for the 8 serial 1 parallel SUNW,spif board:Jason Wright
o heavily based on magma driver o no support for the parallel port yet
1999-01-10Generalize cpu_set_kpc to take any kind of arg; mostly from NetBSDNiklas Hallqvist
1999-01-08move spinlock.h into the real worldDavid Leonard
1999-01-08make uint*_t line up nicely and add a few $OpenBSD$ tags that were missingTodd C. Miller
1999-01-07move uint*_t to machine/types.hTodd C. Miller
1998-12-29first cut at a bpp driver; mailed to me by downsj eons agoTheo de Raadt
1998-11-20marc did not test this completelyTheo de Raadt
1998-11-20make _MCOUNT_DECL non-static so the compiler doesn't bitch andMarco S Hyman
a profiled kernel can be built for the sparc
1998-08-24Add support for /dev/ksyms to arch-specific filesTodd C. Miller
1998-08-23crank max data size from 64 to 128 megMarco S Hyman
1998-08-18Add sparc_btop and sparc_ptob for consistency with other portsTodd C. Miller
1998-06-27functions go under #ifdef _KERNEL for X; thanks matthieu for the pointer!Todd T. Fries
1998-05-20magma serial driver; plunky@skate.demon.co.ukTheo de Raadt
1998-03-22Add UID_MAX and GID_MAXTodd C. Miller
1997-12-25do not break the bootblocksTheo de Raadt
1997-12-21ifdef some definitions of NBPG that use kernel variables, when theAngelos D. Keromytis
file is included from userland programs (such as lsof)
1997-11-11make tty col/row size be unsignedNiklas Hallqvist
1997-11-09New endian.h design. All architectures now use a common file for the bulkNiklas Hallqvist
part. Some ports can optimize the swap operations. This also means the general API is extended with swap16, swap32, htobe16, htobe32, betoh16, betoh32, htole16, htole32, letoh16 and letoh32.
1997-11-07simple_lock api changed slightlyTheo de Raadt
1997-09-17Double default NMBCLUSTERS settings.Jason Downs
1997-09-17NETBSD_CURRENT_970916. Lot's just ID changes, since changes don't apply toJason Downs
us. Includes some pmap changes, for which I don't have the original commit message(s) handy.
1997-08-25Implement LED blinking as a run-time configurable option via the sysctlJason Downs
machdep.led_blink. Rename auxreg.h because we need config to generate one now.
1997-08-08Mostly sync to NetBSD-current 970804.Jason Downs
GENERIC currently compiles and runs; some devices (isp) are not complete and not yet enabled.