]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r349891, r349972
authorIan Lepore <ian@FreeBSD.org>
Sun, 11 Aug 2019 22:46:58 +0000 (22:46 +0000)
committerIan Lepore <ian@FreeBSD.org>
Sun, 11 Aug 2019 22:46:58 +0000 (22:46 +0000)
commitc4ea767bd9d84b02c77e5a0308dd2bdf13f54c8d
treeed0721fe695d13d84d0e70bb2db065aa5f8c73a1
parent57aedf1434d428359e799737eded1cc90fd767ee
MFC r349891, r349972

r349891:
Reorganize the SRCS lists as one file per line, and then alphabetize them.
No functional changes.

r349972:
Add arm_sync_icache() and arm_drain_writebuf() sysarch syscall wrappers.

NetBSD and OpenBSD have libc wrapper functions for the ARM_SYNC_ICACHE and
ARM_DRAIN_WRITEBUF sysarch operations. This change adds compatible functions
to our library. This should make it easier for various upstream sources to
support *BSD operating systems with a single variation of cache maintence
code in tools like interpreters and JIT compilers.

I consider the argument types passed to arm_sync_icache() to be especially
unfortunate, but this is intended to match the other BSDs.

Differential Revision: https://reviews.freebsd.org/D20906
lib/libc/arm/Symbol.map
lib/libc/arm/gen/Makefile.inc
lib/libc/arm/gen/arm_drain_writebuf.2 [new file with mode: 0644]
lib/libc/arm/gen/arm_drain_writebuf.c [new file with mode: 0644]
lib/libc/arm/gen/arm_sync_icache.2 [new file with mode: 0644]
lib/libc/arm/gen/arm_sync_icache.c [new file with mode: 0644]
sys/sys/param.h