xref: /aosp_15_r20/external/crosvm/hypervisor/src/haxm/haxm_sys.rs (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1 // Copyright 2020 The ChromiumOS Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #![allow(non_upper_case_globals)]
6 #![allow(non_camel_case_types)]
7 #![allow(non_snake_case)]
8 #![allow(dead_code)]
9 
10 #[allow(clippy::all)]
11 pub mod bindings;
12 pub use bindings::*;
13 
14 pub mod msrs;
15 pub use msrs::*;
16 
17 pub mod cpuid;
18 pub use cpuid::*;
19 
20 #[cfg(windows)]
21 mod win;
22 #[cfg(windows)]
23 pub use win::*;
24 
25 #[cfg(any(target_os = "android", target_os = "linux"))]
26 mod posix;
27 #[cfg(any(target_os = "android", target_os = "linux"))]
28 pub use posix::*;
29