forked from Imagelibrary/rtems
@@ -16,10 +16,9 @@
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/bootcard.h>
|
||||
#include <libcpu/cache.h>
|
||||
|
||||
void bsp_start( void )
|
||||
{
|
||||
_CPU_cache_enable_instruction();
|
||||
_CPU_cache_enable_data();
|
||||
rtems_cache_enable_instruction();
|
||||
rtems_cache_enable_data();
|
||||
}
|
||||
|
||||
3
c/src/lib/libcpu/or1k/shared/cache/cache.c
vendored
3
c/src/lib/libcpu/or1k/shared/cache/cache.c
vendored
@@ -18,8 +18,7 @@
|
||||
#include <rtems/score/interr.h>
|
||||
#include <rtems/score/or1k-utility.h>
|
||||
#include <rtems/score/percpu.h>
|
||||
#include <libcpu/cache.h>
|
||||
#include <cache_.h>
|
||||
#include "cache_.h"
|
||||
|
||||
static inline void _CPU_OR1K_Cache_data_block_prefetch(const void *d_addr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user