summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2008-03-23setroot() is supposed to be safe in all cases, so kill the special casesTheo de Raadt
for RB_DFLTROOT; ok miod
2008-03-23Make ovbcopy() the default bcopy() flavour; requested by deraadt@ some time ago.Miod Vallat
2008-03-22Add support for DIOCRLDINFO, DIOCGPDINFO, DIOCGPART to the fdKenneth R Westerback
driver(s). Adapted from sd driver. ok marco@
2008-03-22- remove pre-uvm prototype of pmap_page_index()Jasper Lievisse Adriaanse
ok miod@
2008-03-20Bring isa/fd.c into line with sparc/sparc64 fd code and prepare allKenneth R Westerback
for the addition of missing disklabel related ioctl's. ok deraadt@
2008-03-15Support the old-prom XVideo boards by rewriting the sbus range registers;Miod Vallat
tested by Thorsten Glaser <tg@mirbsd.de> on sparc; while there, pretty and shrink dmesg output.
2008-03-15After 15 years of fun, fix Torek's ovbcopy() operation when copying shortsMiod Vallat
backwards.
2008-03-06Change ramdisk filesystem size from 4352 to 4000 blocks, so thatTheo de Raadt
bsd.rd does not overlap the boot code... this problem is starting to feel familiar.. tested by myself and claudio
2008-03-01Print consoleness the canonical way.Mark Kettenis
ok deraadt@
2008-02-16On these platforms, REDUCEing unconditionnaly a second time is faster andMiod Vallat
shorter code than a conditional ADDCARRY, so use it; inspired by hppa.
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2008-01-06Enclose some SUN4-specific code within preprocessor directives, this lets SUN4CMiod Vallat
kernel compile again.
2008-01-06Add lebuffer.Miod Vallat
2007-12-29fix comments after the members of scsi_adapter were changed.David Gwynne
prompted by krw@
2007-12-15Remove a lot of symbols from the namespace, otherwise sys/sysctl.h andTheo de Raadt
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland. ok miod
2007-11-30Define NORMAL_C_NOP everywhere.Miod Vallat
2007-11-28ctob/btoc -> ptoa/atopMartin Reindl
from Rodolfo Gouveia
2007-11-27need strcmp.c hereMartin Reindl
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-11-26a bit more LIBKERN falloutTheo de Raadt
2007-11-26few mails later, miod asks me to waitTheo de Raadt
2007-11-26the bcopy() found here was not handling overlapping. Merge it nicely withTheo de Raadt
the ovbcopy() code ok miod
2007-11-25libkern, begone. Move to a new mechanism where config(8)'s "file"Theo de Raadt
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner..
2007-11-25Get rid of the kernel 'libcompat' framework, and instead use conf/files toTheo de Raadt
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
2007-10-30avoid intermediate files with same name (ie. a.out) for parallel makeTheo de Raadt
ok miod
2007-10-22stoped -> stoppedJoel Sing
ok miod@
2007-10-13Remove leftovers art forgot to prune...Miod Vallat
2007-10-10Make context switching much more MI:Artur Grabowski
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok
2007-10-08A few trailing bzero/memset -> M_ZERO occurrences, cast removal andKenneth R Westerback
size(*p) usage.
2007-10-02Fiddle Sun traditional disklabel recognition to eliminate union andKenneth R Westerback
associated field access defines. This reverts most changes to dev/sun/disklabel.h without eliminating new functionality. Fix comments to line up and fit on 80 column line, making both tsi@ and I feel better. Simplify logic in disksubr.c. No semantic change. Tested & ok tsi@.
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
obvious.
2007-09-22M_ZERO -> bzero.Kenneth R Westerback
ok art@
2007-09-19On sparc & sparc64, change `mount -a` to recognise Linux ext2 partitionsMarc Aurele La France
by interpreting more fields out of a standard Sun disk label. ok krw@
2007-09-10Introduce a md pmap hook, pmap_remove_holes(), which is supposed to markMiod Vallat
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later.
2007-07-30Shuffle the order in which we look for header files, when doingThordur I. Bjornsson
kernel builds locally this doesnt change much but over NFS this cuts about 12% of the build time on my setup (i386). OK miod@, deraadt@.
2007-07-13Reenable accelerated text console primitives on pnozz if running with aMiod Vallat
800x600 panel, and document the acceleration code as currently broken on 640x480 panels.
2007-07-01Use mapiodev() instead of mapdev() when applicable. This is just syntacticMiod Vallat
sugar.
2007-07-01Perform minimal disklabel setup without needing to do the disklabel_to_sun()Miod Vallat
dance, so that we do not depend on its behaviour. No functional change.
2007-07-01Do not define DEBUG unconditionnaly.Miod Vallat
2007-06-24Fix xd and xy disklabel handling.Miod Vallat
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it.. except these two drivers. knock out that code for now to let it compile while miod gets his fix ready for these drivers.
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
2007-06-20In vunmapbuf(), explicitely remove mappings before invoking uvm_km_free().Miod Vallat
Even if the latter would end up removing the mappings by itself, it would do so using pmap_remove() because phys_map is not intrsafe; but some platforms use pmap_kenter_pa() in vmapbuf(). By removing the mappings ourselves, we can ensure the remove function used matches the enter function which has been used. Discussed and theoretical ok art@
2007-06-18more comments that are differentTheo de Raadt
2007-06-18using same words in similar code sequences is goodTheo de Raadt
2007-06-18msg is already gauranteed to be NULLTheo de Raadt
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
2007-06-15permit this to compile againTodd T. Fries
looks right krw@, Righto miod@
2007-06-14some spaces in the wayTheo de Raadt