mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 15:49:48 -04:00
Add cache+tlb functions
This commit is contained in:
parent
a800c3c2e7
commit
0cc2cf0dc0
2 changed files with 249 additions and 0 deletions
20
exosphere/cache.h
Normal file
20
exosphere/cache.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef EXOSPHERE_CACHE_H
|
||||
#define EXOSPHERE_CACHE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void tlb_invalidate_all(void);
|
||||
void tlb_invalidate_all_inner_shareable(void);
|
||||
|
||||
void tlb_invalidate_page(const void *page);
|
||||
void tlb_invalidate_page_inner_shareable(const void *page);
|
||||
|
||||
void flush_dcache_all(void);
|
||||
void invalidate_dcache_all(void);
|
||||
|
||||
void flush_dcache_range(const void *start, const void *end);
|
||||
void invalidate_dcache_range(const void *start, const void *end);
|
||||
|
||||
void invalidate_icache_all(void);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue