mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 09:55:34 -05:00
19 lines
379 B
C++
19 lines
379 B
C++
#ifndef CORE_ARCH_CPU_FEATURE_H
|
|
#define CORE_ARCH_CPU_FEATURE_H
|
|
|
|
#include "common_header.h"
|
|
|
|
class CpuFeatures {
|
|
private:
|
|
static void FlushICache(void *start, int size) {
|
|
ClearCache(start, (void *)((addr_t)start + size));
|
|
}
|
|
|
|
static void FlushICache(void *start, void *end) {
|
|
ClearCache(start, end);
|
|
}
|
|
|
|
static void ClearCache(void *start, void *end);
|
|
};
|
|
|
|
#endif
|