int32_t increase_refcount();
int32_t decrease_refcount();
- int32_t lock(uint64_t flags, uint8_t *addr[DRV_MAX_PLANES]);
+ int32_t lock(const struct rectangle *rect, uint32_t map_flags,
+ uint8_t *addr[DRV_MAX_PLANES]);
int32_t unlock();
private:
int32_t lockcount_;
uint32_t num_planes_;
- struct map_info *lock_data_[DRV_MAX_PLANES];
+ struct mapping *lock_data_[DRV_MAX_PLANES];
};
#endif