summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2003-03-18Restore bootable tape functionality. Previous loadfile() would never useMiod Vallat
lseek(), which is not available on tapes when using the prom device routines; instead, remember our file position, seek forward by reading and discarding data, and only use lseek() in last resort for backwards seek. ok deraadt@
2003-03-13Always protect pv_unlink4_4c() with splvm(). This suddenly makes sun4/4cMiod Vallat
feel much much happier. ok deraadt@
2003-03-10Sun documentation mentions that ZX can not run on a sun4c or inside an xbox,Miod Vallat
so document this as well.
2003-03-09zx fits on the floppies.Miod Vallat
2003-03-09Add and enable zx. Not put in RAMDISK yet, need to check if this still fitsMiod Vallat
on the floppies first.
2003-03-09Correctly switch back and forth the 8-bit overlay plane (used in consoleMiod Vallat
mode) and the 24-bit plane (used in graphics mode) for proper X11 support. Partly borrowed from the XFree86 SunLeo driver source.
2003-03-09A work-in-progress driver for the Sun ZX (aka Leo) accelerated frame buffers,Miod Vallat
from NetBSD. This was initially written for Linux, then each iteration attempted to replace more 0x12345 magic numbers with meaningful constants. The lack of documentation for the hardware still makes some areas a guess orgy. No doc, no kernel configuration file entries, and X11 is disabled on purpose at the moment. This will be coming soon.
2003-03-09When a sparc machine is running with serial console, the zskbd probe wouldMiod Vallat
try to use short cuts, and would not correctly initialize its channel if a keyboard is connected to it, which might have been done on purpose. It would then become impossible to run X11 on this machine afterwards. Fix this by being more cautious during the probe, at the extent of a couple of seconds if no keyboard is present. Tested by various, ok deraadt@
2003-03-08agten does not need to imply rasops32 at the moment.Miod Vallat
2003-03-06Improve comments, including type fixes; lebel@Miod Vallat
2003-03-06Premiliminary driver for the Fujitsu AG-10e SBus frame buffer.Miod Vallat
It will currently only work in 8bit mode, and without using the i128 acceleration features (but that's a good start for 3.3). Written initially in november 2002, but it took some time in experiments until I realized the ramdac had to be fed values shifted left by 16 bits in order to work as intended, for no good reason. So, I am now officially founding a ``RAMDAC Hater's Club''. Feel free to apply.
2003-03-05Driver for the Parallax XVideo and PowerVideo frame buffers.Miod Vallat
Currently limited to dump frame buffer operation, the acceleration features will be used later... Code by me, tests on real hardware by Paul Weissmann.
2003-03-03Enabled inclusion of ISP SBus f/w for GENERIC kernels. This tendsmjacob
to make people's days so much better.
2003-02-14always need softintr after rxexception (avoids uninitialized variable); ↵Jason Wright
pointed out by henric
2003-02-14Pad boot out to 512 byte boundary... some old prom's don't like binariesJason Wright
which end on "odd" boundaries.
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-02-07typos;Jason McIntyre
2003-02-03pad tx buffer out to minimum framelength; based on NetBSDJason Wright
2003-01-31Various typos; Andrey MatveevMiod Vallat
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.