sys/kern: adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone
sys/kern: adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
show more ...
sys: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for
sys: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 3-Clause license.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.Special thanks to Wind River for providing access to "The Duke ofHighlander" tool: an older (2014) run over FreeBSD tree was useful as astarting point.
Add the __aeabi_memclr8 symbol, clang 3.7 uses this.MFC after: 1 weekSponsored by: ABT Systems Lts
Remove checks for __ARM_EABI__, we only build for EABI now.Sponsored by: ABT Systems Ltd
Add support for __aeabi_memclr4, clang 3.7 calls it.Sponsored by: ABT Systems Ltd
Add more __aeabi_memcpy functions, later versions of clang generate callsto these functions.
Use the unified syntax in a few more assembly filesMFC after: 1 weekSponsored by: ABT Systems Ltd
Fix unwind-info errors in our hand-written arm assembler code.We have functions nested within functions, and places where we start afunction then never end it, we just jump to the middle of someth
Fix unwind-info errors in our hand-written arm assembler code.We have functions nested within functions, and places where we start afunction then never end it, we just jump to the middle of something else.We tried to express this with nested ENTRY()/END() macros (which resultin .fnstart and .fnend directives), but it turns out there's no way toexpress that nesting in ARM EHABI unwind info, and newer tools treatmultiple .fnstart directives without an intervening .fnend as an error.These changes introduce two new macros, EENTRY() and EEND(). EENTRY()creates a global label you can call/jump to just like ENTRY(), but itdoesn't emit a .fnstart. EEND() is a no-op that just documents theconceptual endpoint that matches up with the same-named EENTRY().This is based on patches submitted by Stepan Dyatkovskiy, but I made somechanges and added the EEND() stuff, so blame any problems on me.Submitted by: Stepan Dyatkovskiy <[email protected]>
Fix ixp425 boot2 with ARM EABI: - libkern is missing __aeabi_llsl, implement this by calling __ashldi3. - Because of how the asm entry macros are defined the boot2 code requires the unwind symbo
Fix ixp425 boot2 with ARM EABI: - libkern is missing __aeabi_llsl, implement this by calling __ashldi3. - Because of how the asm entry macros are defined the boot2 code requires the unwind symbols to exist, include them in boot2.Approved by: re (marius)
Add __aeabi_memset to libkern, implemented using memset, as clang maygenerate calls to it.
Add END to ARM libkern assembly functions
Move the __aeabi_unwind_cpp_pr{0,1,2} functions to libkern so they can bereferenced in a non-debug kernel.
Add __aeabi_memcpy to libkern as clang may generate calls to it.
Add the required __aeabi_* functions the kernel uses when built for ARM EABI
Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead.MFC After: 3 days
/* -> /*- for copyright notices, minor format tweaks as necessary
Use the RET macro.
Implement ffs with clz for Xscale.Idea taken from: NetBSD
Don't attempt to profile __udivsi3() and friends, as mcount() uses them.
Import libkern arm specific bits.