summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch
AgeCommit message (Expand)AuthorFilesLines
2021-02-03Adding a hard-trap instruction after the __threxit syscall instructionkurt1-2/+1
2020-12-13Geode CPU does not support SSE, so MXCSR does not exists there. Asbluhm3-9/+3
2020-12-06On i386 setjmp(3) should store the FPU state and longjmp(3) restorebluhm3-3/+15
2020-12-06Introduce constants to access the setjmp(3) jmp_buf fields frombluhm3-76/+79
2020-11-28Add retguard to macppc kernel locore.S, ofwreal.S, setjmp.Sgkoehler7-24/+24
2020-11-07Actually m88k assembler can not handle 'nop' mnemonic, use a macro instead.aoyama1-2/+4
2020-10-26Retguard asm macros for powerpc libc, ld.sogkoehler9-61/+84
2020-10-21Save and restore the MXCSR register and the FPU control word such thatkettenis3-3/+15
2020-10-20Use a trap instruction that unconditionally terminates the process.visa1-2/+2
2020-10-19Retguard sigsetjmp on powerpc64.mortimer1-5/+10
2020-10-19replace ad-hoc illegal instruction with the architecturally defined onenaddy2-4/+4
2020-10-19add retguard prologue/epiloguederaadt1-2/+4
2020-10-19Save and restore the FPCR register such that floating-point control modeskettenis2-6/+14
2020-10-18Add powerpc64 retguard macros for setjmp / longjmp.mortimer1-5/+10
2020-10-18SYS___threxit cannot fail, but this integration looks like a gadget.deraadt11-11/+24
2020-10-16Adapt SYS.h to use retguard macros from asm.h, so that generated systemderaadt8-46/+77
2020-10-01Mark top-level frame for new thread in both CFI and with zeroguenther2-2/+16
2020-08-23amd64: TSC timecounter: prefix RDTSC with LFENCEcheloha1-4/+4
2020-07-27Fix two cases where we shpould compare/store 64-bit values instead ofkettenis1-3/+3
2020-07-27Fix powerpc64's sbrk()gkoehler1-3/+5
2020-07-18Userland timecounter implementation for octeonvisa1-3/+30
2020-07-17Userland timecounter for macppcgkoehler1-2/+22
2020-07-15Userland timecounter implementation for arm64.kettenis1-3/+29
2020-07-14Fix TIB/TCB on powerpc64. Some bright sould decided that the TCB shouldkettenis1-3/+3
2020-07-11Add usertc.c.kettenis1-0/+1
2020-07-11Add missing usertc.c file.kettenis1-0/+21
2020-07-08Userland timecounter implementation for sparc64.kettenis2-4/+41
2020-07-08Clean up the amd64 userland timecounter implementation a bit:kettenis1-10/+10
2020-07-06Add support for timeconting in userland.pirofti22-21/+273
2020-07-02Use a relative branch to jump from setjmp(3) into _setjmp(4).kettenis1-5/+4
2020-06-30Add missing comparison instruction. Load %r12 with the indirect branchkettenis1-1/+3
2020-06-29Use C versions of bcopy(3) and memmove(3) for now as the assembly versionkettenis1-2/+2
2020-06-28Use std instead of stw to store CR since we use std in sigsetjmp(3) andkettenis1-2/+2
2020-06-28The 2nd and 3rd argument are pointers, so use the appropriate doublewordkettenis1-5/+5
2020-06-27Add missing label.kettenis1-2/+2
2020-06-26Provide an optimized implementation of ffs(3) in libc onnaddy6-6/+55
2020-06-26Fix TCB_OFFSET_ERRNO. Adjust comments to reflect that powerpc64 uses %r13kettenis1-4/+4
2020-06-26Avoid "bare" register numbers.kettenis4-26/+26
2020-06-25PowerPC64 libc powerpc sys filesdrahn8-0/+368
2020-06-25PowerPC64 libc string/net filesdrahn2-0/+178
2020-06-25*** empty log message ***drahn1-0/+1
2020-06-25PowerPC64 libc/arch/powerpc/gdtoa filesdrahn3-0/+20
2020-06-25Committed wrong version of file, atomic_lock is 32 bit.drahn1-6/+6
2020-06-25PowerPC64 libc gen filesdrahn14-0/+812
2020-06-25PowerPC64 libc (libc powerpc top)drahn4-0/+176
2020-03-13Anthony Steinhauser reports that 32-bit arm cpus have the same speculationderaadt1-3/+3
2020-03-11Anthony Steinhauser reports that 32-bit arm cpus have the same speculationderaadt1-3/+5
2020-02-18Now that the kernel skips the two instructions immediately followingkettenis1-3/+3
2020-01-26Insert two nop instructions after each svc #0 instruction in userland.kettenis1-2/+4
2019-11-10Mark as 'protected' all the routines from the quad/ and softfloat/ subdirs,guenther1-1/+4