Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: arm_sync_icache on aarch64
Hello,
On Sun, 2 Dec 2018 18:55:36 +0000
Alexander Nasonov <alnsn%yandex.ru@localhost> wrote:
> The following program can't be linked on my Pinebbook:
>
> #include <machine/sysarch.h>
>
> int main()
> {
> return arm_sync_icache(0, 4096);
> }
>
> and I can't find an equivalent of libarm on aarch64.
>
> The kernel side has aarch64_icache_sync_range() and it's not an empty
> stub:
>
> $ nm -S /netbsd | grep aarch64_icache_sync_range
> ffffffc00005f5e0 0000000000000054 T aarch64_icache_sync_range
>
> I need this function for rump stubs to sljit. I think I can use
> sysarch(ARM_SYNC_ICACHE) but I'm not sure which approach is better.
I think WebKit needs something like that as well.
have fun
Michael
Home |
Main Index |
Thread Index |
Old Index