[CPU] Add some more docs to MMIO handler functions

This commit is contained in:
DrChat 2018-02-09 18:26:12 -06:00
parent 7da973d9e6
commit 190108dab6
1 changed files with 4 additions and 0 deletions

View File

@ -73,7 +73,11 @@ class MMIOHandler {
WatchType type, AccessWatchCallback callback, WatchType type, AccessWatchCallback callback,
void* callback_context, void* callback_data); void* callback_context, void* callback_data);
void CancelAccessWatch(uintptr_t watch_handle); void CancelAccessWatch(uintptr_t watch_handle);
// Fires and clears any access watches that overlap this range.
void InvalidateRange(uint32_t physical_address, size_t length); void InvalidateRange(uint32_t physical_address, size_t length);
// Returns true if /any/ part of this range is watched.
bool IsRangeWatched(uint32_t physical_address, size_t length); bool IsRangeWatched(uint32_t physical_address, size_t length);
protected: protected: