|
|
@ -48,6 +48,7 @@ public: |
|
|
~DeviceMemoryManager(); |
|
|
~DeviceMemoryManager(); |
|
|
|
|
|
|
|
|
static constexpr bool HAS_FLUSH_INVALIDATION = true; |
|
|
static constexpr bool HAS_FLUSH_INVALIDATION = true; |
|
|
|
|
|
static constexpr size_t AS_BITS = Traits::device_virtual_bits; |
|
|
|
|
|
|
|
|
void BindInterface(DeviceInterface* device_inter); |
|
|
void BindInterface(DeviceInterface* device_inter); |
|
|
|
|
|
|
|
|
@ -128,8 +129,6 @@ private: |
|
|
// Internal helper that performs the update assuming the caller already holds the necessary lock. |
|
|
// Internal helper that performs the update assuming the caller already holds the necessary lock. |
|
|
void UpdatePagesCachedCountNoLock(DAddr addr, size_t size, s32 delta); |
|
|
void UpdatePagesCachedCountNoLock(DAddr addr, size_t size, s32 delta); |
|
|
|
|
|
|
|
|
static constexpr size_t AS_BITS = Traits::device_virtual_bits; |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
private: |
|
|
static constexpr size_t device_virtual_bits = Traits::device_virtual_bits; |
|
|
static constexpr size_t device_virtual_bits = Traits::device_virtual_bits; |
|
|
static constexpr size_t device_as_size = 1ULL << device_virtual_bits; |
|
|
static constexpr size_t device_as_size = 1ULL << device_virtual_bits; |
|
|
|