summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
AgeCommit message (Collapse)Author
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-09Move declaration of cn_tab from dev/cons.c to dev/cninit.c, or appropriateMiod Vallat
md files for ports which do not use dev/cninit.c. This gets rid of a common at kernel link time. feedback drahn@ ok deraadt@
2010-06-09Wire up device nodes for disk mapper.Joel Sing
ok deraadt@
2010-06-06Nuke common.Miod Vallat
2010-06-06Kill unused sio_intr_count.Miod Vallat
2010-06-06Avoid computing a symbol with arithmetic involving a common, modern binutilsMiod Vallat
complain about this. From NetBSD
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-31there is no spllpt(), since lpt's are just tty devices (call tty functions,Theo de Raadt
and thus should be using spltty() from Matthew Dempsky ok oga 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-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-05-23alpha does not need to -DalphaTheo de Raadt
2010-05-14don't warn about libsa's exit(); pull in declaration for memcpy()Christian Weisgerber
courtesy of gcc4; ok kettenis@
2010-04-28no need to depend on a file twiceTheo de Raadt
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-27Unifity CPPFLAGS= (using ${_mach}), SYSTEM_LD_TAIL= (always on one line),Theo de Raadt
and SRCS= (common files always after the \)
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-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-27next phase: get rid of bogus dependencies on Makefile from the day whenTheo de Raadt
people thought skipping "make depend" or "make clean" was acceptable
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-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-04-21more proc.h neededTheo de Raadt
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-20more misuse of user.h and sysctl.hTheo de Raadt
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-04-10pmap_extract() does the equivalent of vtophys if pmap_kernel(), so instead ofOwain Ainsworth
doing if (p != NULL) pmap_extract() else vtophys() in a loop, just do pmap_extract unconditionally. ok miod@ (he found a typo, all hail miod!)
2010-04-04OpenBSD uses bus_space_copy_#, not bus_space_copy_region_#. Make sure only theMiod Vallat
first name is used, and remove any #define foo_region foo compatibility defines. Also, on sparc64, do not provide a `raw' version of bus_space_copy.
2010-03-31Make sure the boundaries of uvm_pglistalloc() calls are set up with lowMiod Vallat
being page-aligned, and high being end of page (i.e. high & PAGE_MASK == PAGE_MASK) everywhere, for consistency. Future code will depend on this. ok deraadt@
2010-03-30Add missing bthub device entries on arches that support bluetooth.Matthieu Herrb
ok miod@, deraadt@, todd@.
2010-03-29PMAP_CANFAIL for bus_dmamem_map on all other architectures (and someOwain Ainsworth
whitespace tweaks on i386 so that it matches). ok kettenis@
2010-03-27Similar fix to amd64 and i386 for isa bus_dma.Owain Ainsworth
Don't trunc_page when determining the highest address to alloc. it is not what pglistalloc expects and pmemrange will fail that allocation. For consistency, if we fail to alloc under 16meg then alloc high as assume we'll bounce (same as i386 and amd64) ok deraadt@
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-03Enable urndis(4) everywhere that has USB enabled to get it tested.Michael Knudsen
Much prodding from deraadt.
2010-02-20minor tweak to improve consistency with other drivers; startupIgor Sobrado
messages are usually lower case (exceptions are manufacturer codenames as "Pentium" or "Horse").
2010-02-18improve startup messages rewording them in a more usual way; as aIgor Sobrado
side effect, this change makes displayed messages shorter. miod@ has observed that `Horse' is the codename of the chip, which gets paired with a `Saddle' companion chip. there is one hose (i.e., bus) per chip; others (`Tsunami') have two hoses per chip, or even four (`Typhoon'); so, `Horse' is not really a typo. written with clever advice from krw@ and miod@ miod@ has suggested the capitalization for `Saddle'. ok krw@, miod@
2009-12-25Add bus_space_vaddr() when applicable; from NetBSD.Miod Vallat
2009-12-23- add and enable uthumJasper Lievisse Adriaanse
ok miod@
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@