mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-07 16:36:28 +00:00
Ranged cache invalidation
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <dynarmic/callbacks.h>
|
||||
|
||||
@@ -38,6 +38,13 @@ public:
|
||||
*/
|
||||
void ClearCache();
|
||||
|
||||
/**
|
||||
* Invalidate the code cache at a range of addresses.
|
||||
* @param start_address The starting address of the range to invalidate.
|
||||
* @param length The length (in bytes) of the range to invalidate.
|
||||
*/
|
||||
void InvalidateCacheRange(std::uint32_t start_address, std::size_t length);
|
||||
|
||||
/**
|
||||
* Reset CPU state to state at startup. Does not clear code cache.
|
||||
* Cannot be called from a callback.
|
||||
|
||||
Reference in New Issue
Block a user