1 2 3 4 5 6 7 8 9 10 11 12
use basic_components::CacheDynParam; use cacti::cacti_interface::powerDef; #[derive(Clone, Copy, Debug)] #[repr(C)] pub struct SharedCache; extern "C" { pub fn SharedCache_power(this: *mut SharedCache) -> *mut powerDef; pub fn SharedCache_rt_power(this: *mut SharedCache) -> *mut powerDef; pub fn SharedCache_cachep(this: *mut SharedCache) -> *mut CacheDynParam; }