summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2003-01-24PMAP_{DE,}ACTIVATE are not used anymore.Miod Vallat
2003-01-22Correctly handle the case where the "address" property of a zs node isMiod Vallat
multivalued, as on the Voyager. This makes the zs probe work correctly on these machines, and do not change behaviour on others. Adapted from a similar fix in NetBSD. Tested on Voyager by Takeshi Morimoto.
2003-01-22Revert previous - it would prevent the second zs chip from being probedMiod Vallat
on the Voyager, thus preventing keyboard support from working at all.
2003-01-20Put back the Voyager zs probe workaround that got lost in rev 1.36;Miod Vallat
spotted by Takeshi Morimoto.
2003-01-14Move sunkbd defn to common place and remove old event.c referenceJason Wright
2003-01-13Bye, bye vm_offset_t and vm_size_t, sparc doesn't need you anymore.Artur Grabowski
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2003-01-09Remove last use of vm_offset_t from sparc.Artur Grabowski
2002-12-25No need to define FOO?=foo for AS, CC, CPP and LD, as they are always alreadyMiod Vallat
set from <sys.mk>
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-14Let this compile with option DEBUGMiod Vallat
2002-12-12Dvorak typo.Miod Vallat
2002-12-12Remove dead prototypesMiod Vallat
2002-12-11Added paranoia to make sure that gcc doesn't reorder spl* inlines.Artur Grabowski
2002-12-10Use CPU_ISSUN4M macro rather than check cputyp value. Consistent with the restMiod Vallat
of the file.
2002-12-10No need to hardclock IPL_STATCLOCK value anymore.Miod Vallat
2002-12-10The introduction of fbwscons_setcolormap() left out 24 bit frame buffersMiod Vallat
operating in 8 bit mode, such as on the installation media... Installing with a pale grey on white is not what I would call a friendly display, ouch.
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-29Upon detection of an international Sun keyboard with a recognized layout,Miod Vallat
attach it with the appropriate keymap table, rather than the default KB_US table. If this is not the expected behaviour, users can still revert to US layout via "kbd us" or "wsconsctl -w keyboard.encoding=us". As the installation media uses the prom console, which will honor the international keyboard layout, this will definitely help users with international keyboards and fancy characters in their passwords... Note that there is still some Sun keyboard tables missing at the moment.
2002-11-24Be sun4m-friendly in FDC_C_HANDLER case.Miod Vallat
2002-11-24Fix a kernel fault in FDC_C_HANDLER code.Miod Vallat
2002-11-24Make this compile again if FDC_C_HANDLER is defined.Miod Vallat
2002-11-24When initializing the colormap on low depth frame buffers, pick valuesMiod Vallat
from rasops_cmap table, rather than providing our own, especially when they are wrong.
2002-11-23Mention that hme does not work in sun4c machines.Miod Vallat
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-10Use appropriate VM_MAP constants rather than hardcoded values inMiod Vallat
uvm_map_create() and uvm_km_suballoc().
2002-11-09- make IFF_SIMPLEX only set if the media is IFM_FDX (prevents ip6 fromFederico G. Schwindt
seeing it's packets and thinking another machine with the same mac is on the wire when running half-duplex); from NetBSD. tested by matthieu, jason and him ok.
2002-11-07Don't uvm_useracc the user sigcontext in sys_sigreturn and then accessArtur Grabowski
the user addresses directly from the kernel. copyin is faster and can correctly deal properly with mappings that uvm_useracc thinks are correct but will fault anyway (to figure out how to generate such mappings is left as en excercise for the reader).
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-27Turn into a really useful configuration file, i.e. GENERIC tuned for sun4cMiod Vallat
hardware, like SUN4M is for sun4m hardware.
2002-10-24Add missing pmap_update(9) after pmap_kenter_pa(9); art@ ok.Federico G. Schwindt
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-14Use uvm_km_valloc_prefer_wait instead of doing the same thing manually.Artur Grabowski
<miod> well, my comments are "looks sane, works for me, ok to commit"
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-07this removes the functionality of adding allocatedMichael Shalayeff
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
2002-10-06No more need to initialize the result list before uvm_pglistalloc.Artur Grabowski
2002-10-06Garbage collect __HAVE_SPLASSERT. It wasn't necessary.Artur Grabowski
2002-10-05spelling.Federico G. Schwindt
2002-10-01Do not enable the code that makes use of the vertical retrace interruptMiod Vallat
to update the colormap, as it causes _some_ machines to freeze solid; could not be reproduced here, thanks to Thomas Koellmann (koellmann at gmx dot net) for reporting this problem and testing this change. ok deraadt@
2002-10-01If the framebuffer is being run in 32bit mode, register a shutdown_hookMiod Vallat
to bring it in a prom-friendly mode upon halting the system, like the other > 8 bit framebuffers do.
2002-09-30Evil, evil, evil typo broke innocent ramdisks. Die!Miod Vallat
2002-09-23Get the wsdisplay capabilities from rasops, rather than attempting toMiod Vallat
guess them at compile-time. Plus this makes cgtwelve a bit more clean. ok fgs@ deraadt@
2002-09-23Link the kernel so that it gets only one load section.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-15Begone.Miod Vallat
2002-09-11update from sparc64 version:Jason Wright
-fix several stupid bugs -get encoding setup correct -add support for capture
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.