|
The Pedigree Project 0.1
|
#include <Cache.h>
Collaboration diagram for Cache::DirectWritebackLease:Public Member Functions | |
| DirectWritebackLease (const DirectWritebackLease &)=delete | |
| DirectWritebackLease & | operator= (const DirectWritebackLease &)=delete |
| bool | acquire (Cache &cache, uintptr_t key, uintptr_t location) |
| void | release () |
| physical_uintptr_t | physical () const |
Private Attributes | |
| Cache * | m_Cache |
| CachePage * | m_Page |
| physical_uintptr_t | m_Physical |
Holds a published cache page stable for device reads while no writable loan exists. Writers arriving during the lease wait for DMA completion. The callback's writeback pin must outlive this lease.
|
inline |
|
inline |
| bool Cache::DirectWritebackLease::acquire | ( | Cache & | cache, |
| uintptr_t | key, | ||
| uintptr_t | location | ||
| ) |
|
inline |
|
private |