mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
Prototypes for cache manager support functions now agree.
This commit is contained in:
1 parent
7d52750d9c
commit
8358faa427
2 files changed
+3
-7
No files matched your search
@@ -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