Is there a simple method to keep memory coherent between two different cpus

Arun Sudhilal getarunks at gmail.com
Mon Mar 27 02:07:02 EDT 2017


Hello Kipade,

On Sun, Mar 26, 2017 at 6:19 PM, kipade <kipade at 163.com> wrote:
> Here I want to share a block of physical memory between two different cpus.
Few questions.
Are they(cpus) running two separate operating systems?

> I want to simple use original real mode memory address.
Did you mean using with MMU disabled?

> Is there a simple way to invalid linux memory cache after writing to and
> before reading from it?
> ex. invalid_cache_range(u32 phy_address, u32 length).
>
> My cpu is arm. Thanks.

Provide more details need about your cpu.

Regards,
Arun

>
>
>
>
>
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



More information about the Kernelnewbies mailing list