From 57abba86083cd65d73e0df3bc12bd9560c178f21 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 18 Jul 2024 06:50:45 +0000 Subject: driver: allocate source data cache buffer as needed. --- src/internal/tpax_driver_impl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/internal/tpax_driver_impl.h') diff --git a/src/internal/tpax_driver_impl.h b/src/internal/tpax_driver_impl.h index bc3ffc2..02e0d84 100644 --- a/src/internal/tpax_driver_impl.h +++ b/src/internal/tpax_driver_impl.h @@ -120,6 +120,9 @@ struct tpax_driver_ctx_impl { size_t bufsize; void * mapaddr; size_t mapsize; + char * cacheaddr; + char * cachemark; + char * cachecap; size_t nqueued; off_t cpos; }; -- cgit v1.2.3