aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/bios
Commit message (Collapse)AuthorAgeFilesLines
* Retire CLANG_NO_IAS34Ed Maste2018-11-011-2/+0
| | | | | | | | | | | | CLANG_NO_IAS34 was introduced in r276696 to allow then-HEAD kernels to be built with clang 3.4 in FreeBSD 10. As FreeBSD 11 and later includes a version of Clang with a sufficiently capable integrated assembler we do not need the workaround any longer. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=340036
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-043-3/+3
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* Build smbios.ko as a module for amd64 and i386Ravi Pokala2016-12-031-1/+5
| | | | | | | | | | | | | | | For whatever reason, smapi, smbios, vpd are all under the "bios" directory. smapi is only for i386, so the entire "bios" directory is only built for i386. Break smapi out, and make only it i386-specific. Then, build the "bios" directory for both amd64 and i386. Reviewed by: imp MFC after: 1 week Sponsored by: Panasas Differential Revision: https://reviews.freebsd.org/D8609 Notes: svn path=/head/; revision=309491
* Clang's 3.5 integrated assembler now handles these files correctly (itWarner Losh2015-01-051-0/+2
| | | | | | | | | | | | | | | has support for the .codeXX directives). However, it is desirable, for a time, to allow kernels to be built with clang 3.4. Historically, it has been advantageous to allow stable X-1 to build kernels the old way (so long as the impact of doing so is small), and this restores that ability. Also, centralize the addition of ${ASM_CFLAGS.${.IMPSRC}}, place it in kern.mk rather than kern.pre.mk so that all modules can benefit, and give the same treatment to CFLAGS in kern.mk as well. Notes: svn path=/head/; revision=276696
* Remove the clang -no-integrated-as workaround for smapi_bios.S, as clangDimitry Andric2015-01-011-4/+0
| | | | | | | 3.5.0 now supports the assembly just fine. Notes: svn path=/head/; revision=276505
* Re-enable -Werror for these modules. It is already enabled for the sameJohn Baldwin2014-06-091-1/+0
| | | | | | | files when built as part of a kernel. Notes: svn path=/head/; revision=267297
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, toDimitry Andric2012-02-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks Notes: svn path=/head/; revision=232263
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.Dimitry Andric2011-02-201-0/+4
| | | | | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg. Notes: svn path=/head/; revision=218893
* Introduce the new kernel sub-tree x86 which should contain all the codeAttilio Rao2010-02-252-2/+2
| | | | | | | | | | | | | | | | | shared and generalized between our current amd64, i386 and pc98. This is just an initial step that should lead to a more complete effort. For the moment, a very simple porting of cpufreq modules, BIOS calls and the whole MD specific ISA bus part is added to the sub-tree but ideally a lot of code might be added and more shared support should grow. Sponsored by: Sandvine Incorporated Reviewed by: emaste, kib, jhb, imp Discussed on: arch MFC: 3 weeks Notes: svn path=/head/; revision=204309
* Add WERRROR= to work around the warningsWarner Losh2005-01-261-0/+1
| | | | Notes: svn path=/head/; revision=140867
* Add module infrastructure for 'vpd' and 'smbios' and move 'smbios'Matthew N. Dodd2003-03-294-0/+36
to new home. Notes: svn path=/head/; revision=112798