summaryrefslogtreecommitdiff
path: root/sys/arch/armish
AgeCommit message (Collapse)Author
2010-06-27back out for duplicate declarations sprinkled by viking raidersDale Rahn
as bob did for zaurus
2010-06-27uvm constraints. Add two mandatory MD symbols, uvm_md_constraintsThordur I. Bjornsson
which contains the constraints for DMA/memory allocation for each architecture, and dma_constraints which contains the range of addresses that are dma accessable by the system. This is based on ariane@'s physcontig diff, with lots of bugfixes and additions the following additions by my self: Introduce a new function pool_set_constraints() which sets the address range for which we allocate pages for the pool from, this is now used for the mbuf/mbuf cluster pools to keep them dma accessible. The !direct archs no longer stuff pages into the kernel object in uvm_km_getpage_pla but rather do a pmap_extract() in uvm_km_putpages. Tested heavily by my self on i386, amd64 and sparc64. Some tests on alpha and SGI. "commit it" beck, art, oga, deraadt "i like the diff" deraadt
2010-06-10Declare safepri at the MD level on each platform, so that the kern_synch.cTheo de Raadt
does not have to deal with it as a common. Some platforms may be missed by this commit... if you spot one, fix it the same way. ok miod
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-24use the same idiom for stripping gdb kernels. This relies on strip -oTheo de Raadt
support for the non-binutils architectures (and that diff is coming..)
2010-05-24Unify the dependency time check for whether an architecture has SFILESTheo de Raadt
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-04-28clean up more more subtle and stupid differences between the variousTheo de Raadt
Makefile.* files
2010-04-27Killing a few more diffs for theo, arm makes #LINKFLAGS, beagle cleanup,Dale Rahn
INCLUDE= common.
2010-04-27Disable builtin malloc and log2 on gcc3 arches, a no-op for gcc3Jonathan Gray
but required for gcc4. ok kettenis@ deraadt@ marco@, log2 suggested by robert@
2010-04-27Use the form ${_archdir}/${_arch} to reach a few more places, unifying theTheo de Raadt
arm Makefiles a substantial step forward
2010-04-27teeny bit more unificationTheo de Raadt
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-26BOARDTYPE is no longer used by Makefile.*; spotted by miodTheo de Raadt
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-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-23Make sure IPL_SCHED is always defined by MD headers, instead of having a MIMiod Vallat
fallback definition in <sys/sched.h>, so that there is no hidden include ordering requirement between <machine/intr.h> and <sys/sched.h>. ok deraadt@ tedu@
2010-03-03Enable urndis(4) everywhere that has USB enabled to get it tested.Michael Knudsen
Much prodding from deraadt.
2009-12-21Add uthum(4) to arches I could test it. ok deraadt@.Matthieu Herrb
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-08-23Missed 'const' change in definition of i80321_intr_establish().Kenneth R Westerback
Allows armish GENERIC to compile again.
2009-08-22Constify the what/name parameter of pci_intr_establish().Michael Knudsen
Tested by myself, sthen, oga, kettenis, and jasper. Input from sthen and jasper. ok kettenis (Manpage follows shortly.)
2009-08-11Recent alignment fixes seem to make bwi(4) work at leastKenneth R Westerback
semi-reliably on my Thecus. Let others play too. 'no objections' miod@ 'sure' deraadt@
2009-08-09Introduce option DDB_STRUCT. Kernels compiled with this option (except onMiod Vallat
a few arches where toolchain limitations apply) will embed some symbolic information about the various structs used within the kernel, and have new ddb commands allowing struct display and some useful information gathering. Kernel rodata increase varies accross platforms from ~150KB to ~300KB. This option is not enabled by default.
2009-05-21The only value that d_npartitions should have is MAXPARTITIONS.Kenneth R Westerback
2009-05-17mux too, like GENERICTheo de Raadt
2009-05-16udl(4) and the wsmux(4) work on armishTheo de Raadt
2009-05-16must pull in the wscons gooTheo de Raadt
2009-05-01Add option USER_PCICONF.Miod Vallat
2009-04-08Cleanup arm soft interrupt handling; remove the unused IPL_SERIAL and renameMark Kettenis
IPL_SOFTSERIAL to IPL_SOFTTTY. tested by oga@ ok miod@
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
levels. This will allow for platforms where soft interrupt levels do not map to real hardware interrupt levels to have soft ipl values overlapping hard ipl values without breaking spl asserts.
2009-02-10enable run(4) everywhere where ural(4) and rum(4) are enabled.Damien Bergamini
run(4) has been reported to work on sparc64 by Maxim Belooussov so I'm pretty confident that it works on all arches.
2009-01-11Fix a sed bug in the makefile's depend target.Paul Irofti
What happened was that the output of mkdep was fed to a sed expression that trimmed a bit more than required and also failed to work when attempting to do make depend with pcc. Example: genassym_c.o: /tmp/genassym.whatever ../../../../../sys/param.h \ was changed to: assym.h: \ but what was intended was: assym.h: ../../../../../sys/param.h \ For the pcc -M output things were a bit different and after the make depend the genassym entry would still remain and make would fail. This affected all platforms except amd64 and sgi. Okay miod@.
2008-12-01terse is good, more readable; please commit deraadt@Todd T. Fries
2008-11-26Enable Bluetooth (btd and btctl are not hooked into the build yet)Uwe Stuehler
2008-11-26fix boot() function commentKevin Lo
ok drahn@