feat: Add ctl_context_mode to rust bindings
This commit is contained in:
@@ -281,10 +281,21 @@ pub enum ControlType {
|
||||
UC_CTL_TB_FLUSH = 10,
|
||||
UC_CTL_TLB_FLUSH = 11,
|
||||
UC_CTL_TLB_TYPE = 12,
|
||||
UC_CTL_TCG_BUFFER_SIZE = 13,
|
||||
UC_CTL_CONTEXT_MODE = 14,
|
||||
UC_CTL_IO_READ = 1 << 31,
|
||||
UC_CTL_IO_WRITE = 1 << 30,
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct ContextMode : u32 {
|
||||
const CPU = 1;
|
||||
const Memory = 2;
|
||||
}
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct TlbEntry {
|
||||
|
||||
Reference in New Issue
Block a user