summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-05-25eh.S includes eh_common.S to make eh.o; fix this dependencyTheo de Raadt
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-25Use token paste operator to avoid nested __CONCAT() macros. This allowsJoel Sing
the code to compile without -traditional-cpp. ok kettenis@
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-25got the arch wrongTheo de Raadt
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-25fix includes; fallout from the proc.h changesTheo de Raadt
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-24Remove PHYs which don't have an associated driverJonathan Gray
on the ramdisks. ok deraadt@
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-24stupid typo snuck inTheo de Raadt
2010-05-24CPP and TOUCH are not usedTheo de Raadt
2010-05-24typo regarding __mach__Theo de Raadt
2010-05-24Correctly recognise extended partitions created prior to the addition ofJoel Sing
sl_uid. Fix tested by okan@. ok deraadt@
2010-05-24sync to hppa: Add missing prototypesTheo de Raadt
ok kettenis
2010-05-24Add missing prototypesTheo de Raadt
ok jsing kettenis
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-24there is no reason for one MAXPHYS definition to be different from all the ↵Theo de Raadt
others
2010-05-23seteconf() died years agoTheo de Raadt
2010-05-23#ifdef arc is just too common, but I don't know how to extract this correctlyTheo de Raadt
so make that __arc__ for now, to avoid collisions ok miod
2010-05-23Does not need -Dloongson, and instead, but -D__loongson__ is nice since that isTheo de Raadt
the mach (arch is mips64). Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23Does not need -Dlandisk, and instead, but -Dlandisk is nice since that isTheo de Raadt
the mach (arch is sh). Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23Move towards passing $PARAM around in CPPFLAGS, instead of compiling param.cTheo de Raadt
in a special way, as discussed with miod
2010-05-23no need for -Dhppa or -Dhppa64 on these architecturesTheo de Raadt
2010-05-23Move towards passing $PARAM around in CPPFLAGS, instead of compiling param.cTheo de Raadt
in a special way, as discussed with miod
2010-05-23no need for -D__i386__ since it is supplied by the compiler.Theo de Raadt
Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23no need for -Dx86_64 or -Damd64, since __amd64__ is supplied by theTheo de Raadt
compiler. Also move towards passing $PARAM around in CPPFLAGS, instead of compiling param.c in a special way, as discussed with miod
2010-05-23alpha does not need to -DalphaTheo de Raadt
2010-05-23can use __${mach}__ and do not need -Dmc68020 anymoreTheo de Raadt
2010-05-23mac68k can move to defining __mac68k__ insteadTheo de Raadt
2010-05-23luna88k moves to defining __luna88k__ insteadTheo de Raadt
2010-05-23move hp300 to -D__hp300__; ok miodTheo de Raadt
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-22Remove instruction TLB purges for direct mappings that will never have theMark Kettenis
X bit set.
2010-05-22this is amd64, not i386, and the protection was all bustedTheo de Raadt
2010-05-22macppc never has i386 defined; ok drahnTheo de Raadt
2010-05-22protection should use the upper case namesTheo de Raadt
2010-05-22Blank lines at the start of a function are so .Nx.Mark Kettenis
2010-05-22missing dkio.h includesTheo de Raadt
2010-05-22remove the last #ifdef hp300, and unused hp700 code as well; ok miodTheo de Raadt
2010-05-21Add support for IPIs on hppa.Joel Sing
ok kettenis@
2010-05-20Make fans run slower in Sun systems with tda controllers by bumping theEdd Barrett
minimum and maximum system temperatures by 5 degrees. System runs considerably quieter and people in the office have stopped complaining about the noise now. OK kettenis@
2010-05-20remove unused variable. fallout from previous.Thordur I. Bjornsson
ok phessler@
2010-05-20Force max physical memory allocation for bus_dmamem_alloc() to be 4gigOwain Ainsworth
for now. When we get bouncebuffers/decent iommu this can be revised to either fall back (bouncebuffers) or just grab any memory (iommu), but for now it is one less thing to worry about for turning bigmem back on. ok kettenis@ and beck@
2010-05-20New scsi code seems to be stable. Pluck previously identifiedKenneth R Westerback
low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@
2010-05-19Spin up secondary CPUs on hppa multiprocessor kernels. At this stage weJoel Sing
enable clock interrupts, however do not allow processes to be scheduled onto the secondary CPUs - hopefully we can change this shortly... ok kettenis@
2010-05-19fix fallout from the removal of dkio.h from ioctl.hDavid Gwynne
2010-05-18Since we're direct mapped and don't need to worry about kva availability orOwain Ainsworth
reservation, we don't need to stick to transferring single pages during boot dump anymore. so bump the limit up to MAXPHYS (64k). Dramatically speeding up boot dump/crash on amd64. (my 4gig machine went from 13.5 minues to just over 1min with this diff) ok toby, marco. Discussed with miod.