Prototypes for cache manager support functions now agree.

This commit is contained in:
Joel Sherrill
2000-06-13 22:25:28 +00:00
parent 7d52750d9c
commit 8358faa427
2 changed files with 3 additions and 7 deletions

View File

@@ -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");
}

View File

@@ -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 */