summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
AgeCommit message (Collapse)Author
2001-01-22Define ARCH_ELFSIZE that is the default elf size on this arch.Artur Grabowski
2001-01-15- increase the amount of space mapped for dvma on sun4mJason Wright
- use a flag to specify allocations for 24 bit devices - compatibility macros to deal with the 32 bit devices This fixes the 'le at sbus' on sun4m problem (with the extent fixes earlier), and allows the Artecon ethernet cards to work in sun4m machines.
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
2000-10-17damn it, i have had it with this untested weak shitTheo de Raadt
2000-10-16re-add weak sparc support; d@Theo de Raadt
2000-07-31Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms ofTodd C. Miller
UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively.
2000-07-07Convert spl* on sparc to be raising-only.Artur Grabowski
2000-07-06Add spllowersoftclock(), same as splsoftclock(). (art@ ok)Hakan Olsson
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-05-18add machdep.vsyncblank sysctl for controlling whether vsync is disabledJason Wright
when the monitor is blanked.
2000-03-08multiple inclusion protect because of pstat and socket.h needing ALIGNBYTESTheo de Raadt
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-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-15Use extents instead of rmaps to handle dvma space.Artur Grabowski
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