RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
Loading...
Searching...
No Matches
l2ctrl.h File Reference
#include "type.h"
#include "soc.h"

Go to the source code of this file.

Overview

L2 controller driver API definitions.

Author
Efinix Inc

This file provides data structures and APIs for controlling the L2 controller to flush the data cache.

Definition in file l2ctrl.h.

Data Structures

struct  l2ctrl_hwreg_t
 L2CTRL hardware register map. More...

Functions

void l2cache_waitFlush ()
 Wait until Flush is completed.
void l2cache_flush (void *address, u64 size)
 Use the L2 cache registers to flush a range of memory, using physical address.
void l2cache_flushBlocking (void *address, u64 size)
 Use the L2 cache registers to flush a range of memory, using physical address and wait until the flush is completed.
void l2cache_setFlushInterrupt (u64 mask)
 Set L2 Cache Flush Interrupt.