summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* aligment -> alignmentmiod2010-06-173-6/+6
|
* Wire up device nodes for disk mapper.jsing2010-06-091-1/+2
| | | | ok deraadt@
* Sync with GENERIC and SUN4.miod2010-06-071-22/+12
|
* Rework the way onboard devices attach on Sun 4/110 systems (which only have amiod2010-06-076-91/+65
| | | | | | | | | | 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@
* Do not invoke cache_enable() if there is no cache; prevents a spurious (andmiod2010-06-071-5/+7
| | | | | bogus) `cache enabled' line in dmesg on 4/110. ok todd@ deraadt@
* Nuke old eeprom.h compatibility defines; ok todd@miod2010-06-077-50/+32
|
* typo in commentmiod2010-06-061-2/+2
|
* use --warn-common for linking (some arch's will show new warnings), andderaadt2010-06-011-3/+3
| | | | | | prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts)
* Completely rewrite the tags file creation process. use config(8) againstderaadt2010-05-311-34/+41
| | | | | | | 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
* ${PARAM} is now included in ${CPPFLAGS}, so stop passing it separatelyguenther2010-05-281-2/+2
| | | | | | to genassym.sh ok deraadt
* The _arch and _mach variables now come from config(8), decreasing even furtherderaadt2010-05-251-3/+1
| | | | | | the differences between these files. You will need a newer config(8) binary to be able to build kernels. ok kettenis miod
* Hand-list the two-step assym.h -> .[Ss] -> .o dependencies. Thederaadt2010-05-251-2/+2
| | | | | | | | | | | | | | | | | | | 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
* ${SRCS} is only used once, and fits onto the line where it is usedderaadt2010-05-251-3/+2
| | | | idea that came out of discussion with drahn
* give up on -Wvariable-declderaadt2010-05-241-16/+7
| | | | | delete the archaic links: target which is easily misused handle special .[sS] files in a portable way
* Reduce differences between the Makefile.* files for all architectures.deraadt2010-05-241-26/+17
| | | | ok various people, tested by fewer people, tested by me on 15.
* rely on __sparc__ insteadderaadt2010-05-231-2/+2
|
* add dkio.h to the last of the disk ioctl users i can find.dlg2010-05-233-3/+6
| | | | requested by deraadt@ who was rightly disparaging of my grep skillz.
* Repair identification of P4 bwtwo on 4/330 and 4/370 models, which got brokenmiod2010-05-151-6/+18
| | | | in 1.36.
* Make fb_pfour_id() take a volatile pointer as argument.miod2010-05-152-4/+4
|
* Only enable acceleration code if specific device properties exist; this shouldmiod2010-05-131-6/+17
| | | | | fix OpenBSD/sparc operation in QEMU, which only provides the frame buffer memory and none of the accelerated stipple and blit spaces.
* Rename round() to fpu_round(). This matches the m68k code from which thiskettenis2010-05-091-10/+10
| | | | | | | code is derived and makes gcc4 happy by avoiding a conflict with the builtin for the standard C99 round(3). ok miod@
* clean up more more subtle and stupid differences between the variousderaadt2010-04-281-6/+3
| | | | Makefile.* files
* Unifity CPPFLAGS= (using ${_mach}), SYSTEM_LD_TAIL= (always on one line),deraadt2010-04-271-3/+2
| | | | and SRCS= (common files always after the \)
* shorten preamblederaadt2010-04-271-11/+4
|
* noone needs comments about QUOTA and TRACEderaadt2010-04-271-5/+1
|
* over the years we have moved to a machine+architectures scheme that hasderaadt2010-04-271-5/+4
| | | | | | | | 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
* use -f assymp.dep again; worked out with miodderaadt2010-04-271-3/+2
|
* alpha/conf/Makefile.alphaderaadt2010-04-271-15/+1
|
* even cleaner mach/arch/machdir/archdirderaadt2010-04-261-3/+3
|
* next step towards unification: make all the genassym chunks handle bothderaadt2010-04-261-6/+9
| | | | | arch and machine dependent files (and add the missing files) ok miod drahn
* next unification step: move all MD naming _mach, _machdir, _arch, and _archdirderaadt2010-04-261-8/+12
| | | | ok miod drahn
* first step of unification: spaces at end of lines; comments, etc.deraadt2010-04-261-10/+7
| | | | ok miod
* introducing a 64-bit type to the disklabel structure leads some architecturesderaadt2010-04-251-3/+3
| | | | | | | 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
* grammar in commentsmiod2010-04-241-2/+2
|
* Recycle unused disklabel fields in order to create a disklabel uniquejsing2010-04-233-13/+7
| | | | | | | identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
* Committing on behalf or ariane@.oga2010-04-221-1/+4
| | | | | | | | | | | | | | | 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.
* more cleanup to cope with the change that tries to make proc.h not actderaadt2010-04-215-5/+12
| | | | | like it is everything.h ok tedu
* Add missing bits for complete softraid support to sparc/sparc64dcoppa2010-04-191-1/+2
| | | | | | ramdisks. OK marco@
* Some of the line disciplines want to check for suser. Better to pass themtedu2010-04-123-9/+9
| | | | a process instead of using curproc. ok deraadt
* Fix the pageqlock recusion on sun4m.oga2010-03-271-16/+24
| | | | | | | | | | | | | | 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@
* remove the (now inaccurate) note about not being able to runjmc2010-03-061-13/+2
| | | | | | installboot on a mounted partition; from J.C. Roberts
* Bring back cua code for sparc zs; lost in zs.c 1.36 on sparc and later forgottenmiod2010-03-032-28/+104
| | | | | about, and never implemented in sparc64 but changes are the same. ok deraadt@
* when we build a vendor label for writing, clear the memory supplied by thederaadt2010-02-261-1/+2
| | | | | 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)
* Fix (currently unused) bus_space_vaddr() return value.miod2009-12-251-8/+2
|
* Move MB_LEN_MAX into the machine-independent sys/limits.h header,guenther2009-11-271-3/+1
| | | | | | | | | 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@
* Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tnicm2009-11-093-6/+3
| | | | | | | | | | 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
* Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.kettenis2009-11-041-4/+1
| | | | ok jsing@, miod@
* s/hz/Hz/ on multiples of the SI unit hertz other than MHz.sobrado2009-11-021-4/+4
| | | | reminded by STeve Andre.
* in the absense of link state handling, drivers should still be silent; ok miodderaadt2009-10-311-8/+5
|
* Use suser when possible. Suggested by miod@.fgsch2009-10-313-6/+6
| | | | miod@ deraadt@ ok.