Port-sh3 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysarch(2) syscall to sync icache

On Fri, Oct 20, 2017 at 11:55:21 +0000, Christos Zoulas wrote:

> In article <20171020010932.GK6729%pony.stderr.spb.ru@localhost>,
> Valery Ushakov  <uwe%stderr.spb.ru@localhost> wrote:
> >-=-=-=-=-=-
> >
> >Re http://gnats.netbsd.org/52260
> >
> >Does attached patch look ok?  This is only the kernel part, the
> >lib/libarch counterpart is mechanical.
> Why not make the address argument void *? Isn't it more natural for
> userland?

I was just copy-pasting arm :)

MIPS uses vaddr_t and doesn't seem to have the C wrapper in libarch.

PPC has __syncicache(void *from, size_t len) in libc that doesn't use
a syscall.


Home | Main Index | Thread Index | Old Index