libc/<arch>/sys/Makefile.inc: remove cruftRemove stray blank lines left over from $FreeBSD$ removal as well assome CVS-era (perhaps pre-repocopy) version comments.Reviewed by: emasteDifferentia
libc/<arch>/sys/Makefile.inc: remove cruftRemove stray blank lines left over from $FreeBSD$ removal as well assome CVS-era (perhaps pre-repocopy) version comments.Reviewed by: emasteDifferential Revision: https://reviews.freebsd.org/D42611(cherry picked from commit b73eace889f1db518a7b0b3372351e0cbf550085)
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Reduce code duplication between powerpc and powerpcspeThey're nearly identical except for a few files.Reported by: kib
ptrace.S is not needed, libc/sys/ptrace.c exists already.This was leftovers from the initial branch work.Reported by: kib
Create a new MACHINE_ARCH for Freescale PowerPC e500v2Summary:The Freescale e500v2 PowerPC core does not use a standard FPU.Instead, it uses a Signal Processing Engine (SPE)--a DSP-style vector p
Create a new MACHINE_ARCH for Freescale PowerPC e500v2Summary:The Freescale e500v2 PowerPC core does not use a standard FPU.Instead, it uses a Signal Processing Engine (SPE)--a DSP-style vector processorunit, which doubles as a FPU. The PowerPC SPE ABI is incompatible with thestock powerpc ABI, so a new MACHINE_ARCH was created to deal with this.Additionaly, the SPE opcodes overlap with Altivec, so these are mutuallyexclusive. Taking advantage of this fact, a new file, powerpc/booke/spe.c, wascreated with the same function set as in powerpc/powerpc/altivec.c, so itbecomes effectively a drop-in replacement. setjmp/longjmp were modified to savethe upper 32-bits of the now-64-bit GPRs (upper 32-bits are only accessible bythe SPE).Note: This does _not_ support the SPE in the e500v1, as the e500v1 SPE does notsupport double-precision floating point.Also, without a new MACHINE_ARCH it would be impossible to provide binarypackages which utilize the SPE.Additionally, no work has been done to support ports, work is needed for this.This also means no newer gcc can yet be used. However, gcc's powerpc supporthas been refactored which would make adding a powerpcspe-freebsd target veryeasy.Test Plan:This was lightly tested on a RouterBoard RB800 and an AmigaOne A1222(P1022-based) board, compiled against the new ABI. Base system utilities(/bin/sh, /bin/ls, etc) still function appropriately, the system is able to bootmultiuser.Reviewed By: bdrewery, impRelnotes: yesDifferential Revision: https://reviews.freebsd.org/D5683