summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2010-06-18Remove IOMMU pte defines; only those in iommureg.h are used.Miod Vallat
2010-06-18dvma_free() the exact size passed to dvma_malloc().Miod Vallat
2010-06-17aligment -> alignmentMiod Vallat
2010-06-09Wire up device nodes for disk mapper.Joel Sing
ok deraadt@
2010-06-07Sync with GENERIC and SUN4.Miod Vallat
2010-06-07Rework the way onboard devices attach on Sun 4/110 systems (which only have aMiod Vallat
28 bit address bus) by reusing the regular sun4 configuration stanzas (with the upper four bits set in the device addresses), and clearing them when searching for a PROM mapping. This makes the obio autoconf code simpler, and all knowledge of the 4/110 specifics is now contained in a single file (dev/obio.c). ok todd@ deraadt@
2010-06-07Do not invoke cache_enable() if there is no cache; prevents a spurious (andMiod Vallat
bogus) `cache enabled' line in dmesg on 4/110. ok todd@ deraadt@
2010-06-07Nuke old eeprom.h compatibility defines; ok todd@Miod Vallat
2010-06-06typo in commentMiod Vallat
2010-06-01use --warn-common for linking (some arch's will show new warnings), andTheo de Raadt
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts)
2010-05-31Completely rewrite the tags file creation process. use config(8) againstTheo de Raadt
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some variables using make -V, and after some more singing and dancing use this full and (more) correct list of files with ctags. Don't read this code. ok guenther
2010-05-28${PARAM} is now included in ${CPPFLAGS}, so stop passing it separatelyPhilip Guenthe
to genassym.sh ok deraadt
2010-05-25The _arch and _mach variables now come from config(8), decreasing even furtherTheo de Raadt
the differences between these files. You will need a newer config(8) binary to be able to build kernels. ok kettenis miod
2010-05-25Hand-list the two-step assym.h -> .[Ss] -> .o dependencies. TheTheo de Raadt
result: kernels built without 'make depend'-provided information (ie. the .depend file) are more likely to have their *.[Ss] file compilations track changes to *.h files. The "*.o: assym.h" dependencies listed are gotten from reading the .depend output --- from the biggest kernel possible (ie. GENERIC.MP). When an architecture changes in a substantial way (new .[sS] files), the list should be updated in the prettiest way possible. This is not encouraging people to skip 'make depend'; other issues are not resolved and may be solved later with a change guenther is working on. You can still screwed really easily, so continue running make depend as config tells you. Idea from a discussion with drahn ok drahn, kettenis likes the idea too
2010-05-25${SRCS} is only used once, and fits onto the line where it is usedTheo de Raadt
idea that came out of discussion with drahn
2010-05-24give up on -Wvariable-declTheo de Raadt
delete the archaic links: target which is easily misused handle special .[sS] files in a portable way
2010-05-24Reduce differences between the Makefile.* files for all architectures.Theo de Raadt
ok various people, tested by fewer people, tested by me on 15.
2010-05-23rely on __sparc__ insteadTheo de Raadt
2010-05-23add dkio.h to the last of the disk ioctl users i can find.David Gwynne
requested by deraadt@ who was rightly disparaging of my grep skillz.
2010-05-15Repair identification of P4 bwtwo on 4/330 and 4/370 models, which got brokenMiod Vallat
in 1.36.
2010-05-15Make fb_pfour_id() take a volatile pointer as argument.Miod Vallat
2010-05-13Only enable acceleration code if specific device properties exist; this shouldMiod Vallat
fix OpenBSD/sparc operation in QEMU, which only provides the frame buffer memory and none of the accelerated stipple and blit spaces.
2010-05-09Rename round() to fpu_round(). This matches the m68k code from which thisMark Kettenis
code is derived and makes gcc4 happy by avoiding a conflict with the builtin for the standard C99 round(3). ok miod@
2010-04-28clean up more more subtle and stupid differences between the variousTheo de Raadt
Makefile.* files
2010-04-27Unifity CPPFLAGS= (using ${_mach}), SYSTEM_LD_TAIL= (always on one line),Theo de Raadt
and SRCS= (common files always after the \)
2010-04-27shorten preambleTheo de Raadt
2010-04-27noone needs comments about QUOTA and TRACETheo de Raadt
2010-04-27over the years we have moved to a machine+architectures scheme that hasTheo de Raadt
two directories. in reality, because of how we place files, it has four: .../arch/A, .../arch/A/A, .../arch/M, and .../arch/M/M formalize this A/A and M/M scheme directly in the Makefiles, which makes them a lot more similar drahn likes the idea a lot
2010-04-27use -f assymp.dep again; worked out with miodTheo de Raadt
2010-04-27alpha/conf/Makefile.alphaTheo de Raadt
2010-04-26even cleaner mach/arch/machdir/archdirTheo de Raadt
2010-04-26next step towards unification: make all the genassym chunks handle bothTheo de Raadt
arch and machine dependent files (and add the missing files) ok miod drahn
2010-04-26next unification step: move all MD naming _mach, _machdir, _arch, and _archdirTheo de Raadt
ok miod drahn
2010-04-26first step of unification: spaces at end of lines; comments, etc.Theo de Raadt
ok miod
2010-04-25introducing a 64-bit type to the disklabel structure leads some architecturesTheo de Raadt
to pad-align the size of the structure; it grows, the disklabel ioctl's are break ABI. Change the uid to a character array. this also simplifies some other stuff ok jsing
2010-04-24grammar in commentsMiod Vallat
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
2010-04-22Committing on behalf or ariane@.Owain Ainsworth
recommit pmemrange: physmem allocator: change the view of free memory from single free pages to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Useable now that bugs have been found and fixed in most architecture's pmap.c ok by everyone who has done a pmap or uvm commit in the last year.
2010-04-21more cleanup to cope with the change that tries to make proc.h not actTheo de Raadt
like it is everything.h ok tedu
2010-04-19Add missing bits for complete softraid support to sparc/sparc64David Coppa
ramdisks. OK marco@
2010-04-12Some of the line disciplines want to check for suser. Better to pass themTed Unangst
a process instead of using curproc. ok deraadt
2010-03-27Fix the pageqlock recusion on sun4m.Owain Ainsworth
In uvm_pageout() we called pmap_page_protect(VM_PROT_NONE) with the pageqlock held, when pageqlock was a mutex this caused recursion panics. The problem was that freeing the pv_entries called uvm_km_free, which needed the pageqlock itself. Fix this by changing the homegrown pool allocator to just use the normal pool functions, then change the cacheability as necessary. That I know of, this leaves m68k still to be fixed, maybe arm bootstrap (but I do not think so). Tested by NicM@ on a 4m machine. ok miod@
2010-03-06remove the (now inaccurate) note about not being able to runJason McIntyre
installboot on a mounted partition; from J.C. Roberts
2010-03-03Bring back cua code for sparc zs; lost in zs.c 1.36 on sparc and later forgottenMiod Vallat
about, and never implemented in sparc64 but changes are the same. ok deraadt@
2010-02-26when we build a vendor label for writing, clear the memory supplied by theTheo de Raadt
buffer cache first, so that all sorts of gibble doesn't end up on the disk. ok kettenis (for the sparc/sparc64 ones, at least)
2009-12-25Fix (currently unused) bus_space_vaddr() return value.Miod Vallat
2009-11-27Move MB_LEN_MAX into the machine-independent sys/limits.h header,Philip Guenthe
rather than defining it separately for each architecture. Also set it to 4, to accommodate for future UTF-8 support (rfc3629). Diff by stsp, committing to catch the libc major bump ok kettenis@, guenther@
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
2009-11-02s/hz/Hz/ on multiples of the SI unit hertz other than MHz.Igor Sobrado
reminded by STeve Andre.