summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
AgeCommit message (Collapse)Author
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-04-04Nuke pmap_bootstrap_alloc(), not used anymore.Miod Vallat
2005-04-03Simple performance improvements:Miod Vallat
- inline empty pmap_deactivate() and pmap_collect(). - inline pmap_phys_address(). - provide a real pmap_kremove() implementation, rather than invoking pmap_remove() on behalf of pmap_kernel(). - do not check for the MMU hole in pmap_prefer() for SUN4M-only kernels.
2005-03-29Add an apm interface to the tctrl(4) device found on SPARCbooks; currentlyMiod Vallat
limited to power change events and battery status retrieval. ok deraadt@ mickey@
2005-03-23Move the alloc_screen, free_screen and show_screen wsdisplay accessops toMiod Vallat
the common frame buffer code, rather than duplicating it in every driver. No functional change.
2005-03-23Move wzero() and wcopy() from machdep.c to where they are really used.Miod Vallat
2005-03-23Kill the sparc-specific mountroot hooks (which are run before the rootMiod Vallat
filesystem is mounted, unlike the MI mountroot hooks). They were only used to allow root on floppy in the long dead two-floppies installation method.
2005-03-15Nuke matchbyname(), which isn't used anymore.Miod Vallat
ok deraadt@
2005-03-07Do not bother passing the blanking routine to fbwscons_console_init(),Miod Vallat
as fbwscons_attach() can find it on its own.
2005-01-04SET_PC_REGS, arches tested between me and miod.Marc Espie
2004-11-29Move the struct wsscreen_descr from a per-driver global to a per-instanceMiod Vallat
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-09-29Switch sparc to evcount; ok deraadt@Miod Vallat
2004-08-06rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubsTheo de Raadt
on all other architectures. remove last architecture dependent #ifdef from uvm code.
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-07-06only pull in a.out stuff if COMPAT_SUNOSTheo de Raadt
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-04-19remove the GATEWAY junk thingy; at the same time, select a new fatTheo de Raadt
cluster value that noone will really need to crank.
2004-02-08restored & repaired wcookie support; kettenis@chello.nlTheo de Raadt
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2003-11-14the the; rohee@Miod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-07-14i_loadstore is missing the rs1 decode which shifts the i_i bits and i_simm13Jason Wright
left 5 bits. Luckily this isn't used except for debug code.
2003-07-08BUS_SPACE_BARRIER_{READ,WRITE} are needed for some drivers -- fakeMichael Shalayeff
2003-06-28Sync sparc fb API with the sparc64 changes (fbwscons_init takes flags, andMiod Vallat
the sunfb structure keeps pointer to the prom cursor coordinates).
2003-06-25Extend the sparc bus_space_tag_t to store access endianness in it, andMiod Vallat
adapt all bus_space functions to do proper endianness conversion whenever necessary, except for the raw ones. This allows us to remove the forced endianness conversions in if_wi. with help from and ok mickey@
2003-06-25fix _set_ functions as found while debugging an@stpMichael Shalayeff
2003-06-23*_raw_*_1() functions do not existMichael Shalayeff
2003-06-23Add a very straightforward subset of the bus_space API, where all functionsMiod Vallat
expand to very simple inlines. This will be used by some code very shortly.
2003-06-04Delete UCB term 3. When there are other copyright owners, we affirmTheo de Raadt
that we can see no legal situation under which they could require that term to remain (ie. This is equivelant to us taking the old UCB file, removing term 3 as specified by UCB, then re-applying each diff afterwards from the various authors)
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02nuke my clause 3 & 4 (and a couple jointly (c) with Theo).Jason Wright
2003-06-02licence cleanupTheo de Raadt
2003-05-14remove unneeded FB_FORCELOW; miod@ agreed.Federico G. Schwindt
2003-05-13Nuke a few simple commons.Miod Vallat
2003-04-13Add a simple driver for the SBus ``Prestoserve'' NVRAM cards.Miod Vallat
The Legato Prestoserve NFS accelerator used to be very popular, back when NFSv3 did not exist, and disks and network speeds were not as good as they are now... This driver does not attempt to play any game with filesystems, but will only provide access to the cards NVRAM, as a block device. If you have bright ideas on ``what to do with a few MB of battery-backed memory'', I am interested in realistic suggestions!
2003-01-24PMAP_{DE,}ACTIVATE are not used anymore.Miod Vallat
2003-01-13Bye, bye vm_offset_t and vm_size_t, sparc doesn't need you anymore.Artur Grabowski
2002-12-11Added paranoia to make sure that gcc doesn't reorder spl* inlines.Artur Grabowski
2002-11-22new sysctl: machdep.v8mul says whether the kernel replaced the mul/div/remTheo de Raadt
stubs, so that userland can do the same. we cannot just determine based on sun4m, because cypress (at least) is a sun4m cpu without the instructions
2002-11-11Various little pmap changes:Miod Vallat
- get rid of splpmap, use splvm everywhere - harmonize some 4_4c routines to wake them easier to diff against 4m - fix an spl botch in can't happen situations on 4_4c - fix pmap_stas.ps_npg_prot_all on 4m in case someone cares - slightly better pmap_kenter_pa and pmap_kremove on 4_4c art@ ok
2002-11-06- always initialize colormaps, even if the frame buffer is non console; thisMiod Vallat
helps if the ramdac does not get initialized (idea from jason@) - only register a shutdown hook for the frame buffers which need it, if this is the console frame buffer. Otherwise this is just a waste of time.
2002-10-28Convert sparc pmap from physseg to VM_PAGE_MD.Artur Grabowski
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". It also removes some unnecessary overhead in time-critical functions like pmap_{zero,copy}_page and pmap_{is,clear}_{mod*,ref*}. miod@ ok
2002-10-23Add a trivial va_copy() macro to all architectures but powerpcTodd C. Miller
(which I will leave for Dale since it needs special handling). From NetBSD (and same as sparc64). espie@ OK
2002-10-06Garbage collect __HAVE_SPLASSERT. It wasn't necessary.Artur Grabowski
2002-09-20Support to run the 24 bit fb in 8 bit mode or cg12 in 1 bit modeFederico G. Schwindt
via flags, using 0x0001. miod@ ok.
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.