pub type KS_LogicalMemoryType = i32;