sel4-sys 0.0.28

Rust interface to the seL4 kernel
/*
 * Copyright 2014, General Dynamics C4 Systems
 *
 * This software may be distributed and modified according to the terms of
 * the GNU General Public License version 2. Note that NO WARRANTY is provided.
 * See "LICENSE_GPLv2.txt" for details.
 *
 * @TAG(GD_GPL)
 */

#include <arch/machine/hardware.h>


void
clean_D_PoU(void)
{
    /* V6 has a single op to clean D-Cache */
    asm volatile("mcr p15, 0, %0, c7, c10, 0" : : "r"(0));
}


void
cleanInvalidate_D_PoC(void)
{
    /* V6 has a single op to clean+invalidate D-Cache */
    asm volatile("mcr p15, 0, %0, c7, c14, 0" : : "r"(0));
}