From 3492279f78d4470caf157a834ef5216bc319d799 Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 28 May 2021 22:47:37 +0200 Subject: kvm_sys: remove Rflags type --- src/kvm_sys.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/kvm_sys.rs') diff --git a/src/kvm_sys.rs b/src/kvm_sys.rs index 8179a8f..0add602 100644 --- a/src/kvm_sys.rs +++ b/src/kvm_sys.rs @@ -5,10 +5,6 @@ // Generated by `build.rs`. include!(concat!(env!("OUT_DIR"), "/kvm_constants.rs")); -#[repr(C)] -#[derive(Default, Debug)] -pub struct Rflags(pub u64); - #[repr(C)] #[derive(Default, Debug)] pub struct kvm_regs { @@ -29,7 +25,7 @@ pub struct kvm_regs { pub r14: u64, pub r15: u64, pub rip: u64, - pub rflags: Rflags, + pub rflags: u64, } #[repr(C)] -- cgit v1.2.3