forked from Imagelibrary/rtems
Prototypes for cache manager support functions now agree.
This commit is contained in:
@@ -58,15 +58,11 @@ void _CPU_invalidate_1_inst_cache_line ( const void *d_addr ) {}
|
||||
void _CPU_freeze_inst_cache(void) {}
|
||||
void _CPU_unfreeze_inst_cache(void) {}
|
||||
|
||||
void _CPU_flush_entire_data_cache(
|
||||
const void * d_addr
|
||||
)
|
||||
void _CPU_flush_entire_data_cache(void)
|
||||
{
|
||||
asm volatile ("wbinvd");
|
||||
}
|
||||
void _CPU_invalidate_entire_data_cache(
|
||||
const void * d_addr
|
||||
)
|
||||
void _CPU_invalidate_entire_data_cache(void)
|
||||
{
|
||||
asm volatile ("invd");
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#define _CPU_DATA_CACHE_ALIGNMENT I386_CACHE_ALIGNMENT
|
||||
#define _CPU_INST_CACHE_ALIGNEMNT I386_CACHE_ALIGNMENT
|
||||
|
||||
#include <libcpu/cache_.h>
|
||||
#include <libcpu/cache.h>
|
||||
|
||||
#endif
|
||||
/* end of include file */
|
||||
|
||||
Reference in New Issue
Block a user