summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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-31this dir, itself, should decide if it is entered deeperTheo de Raadt
2010-05-31OpenBSD/moko development has stopped, it effectively stopped long ago whenDale Rahn
the not-publicly documented video driver needed to be written, however between that documentation issue and developer resouces, moko will be moved to the Attic.
2010-05-31OpenBSD/moko development has stopped, it effectively stopped long ago whenDale Rahn
the not-publicly documented video driver needed to be written, however between that documentation issue and developer resouces, moko will be moved to the Attic.
2010-05-29merge subr.s into locore.S, which requires a fairly complicated danceTheo de Raadt
mixing and matching the various styles of *ENTRY* macros prescribed by miod, ok ragge, tested by jasper
2010-05-28${PARAM} is now included in ${CPPFLAGS}, so stop passing it separatelyPhilip Guenthe
to genassym.sh ok deraadt
2010-05-28Add missing initialization.Mark Kettenis
2010-05-27We no longer need -traditional-cpp for hppa.Joel Sing
2010-05-27Generate exported names using token pasting rather than a macro. OtherwiseJoel Sing
without -traditional-cpp the trap name gets preprocessed to the defined value rather than remaining as text. ok kettenis@
2010-05-26rename intvec.s to locore.S, and add the guts of locore.C to machdep.cTheo de Raadt
ok miod ragge We cannot yet get at vax/subr.s via files.vax because rdsetroot doesn't like it when the "start" symbol isn't in the first page of the executable. subr.s will have to be merged into locore.S later on, when other problems with ENTRY() are solved (says Miod)
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