1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//! Rust FFI bindings to KVM, generated using [bindgen](https://crates.io/crates/bindgen).
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#[cfg(feature = "fam-wrappers")]
#[macro_use]
extern crate vmm_sys_util;
#[cfg(feature = "serde")]
extern crate serde;
#[cfg(feature = "serde")]
extern crate zerocopy;
#[cfg(feature = "serde")]
#[macro_use]
mod serialize;
#[cfg(target_arch = "x86_64")]
mod x86_64;
#[cfg(target_arch = "x86_64")]
pub use self::x86_64::*;
#[cfg(any(target_arch = "aarch64"))]
mod arm64;
#[cfg(any(target_arch = "aarch64"))]
pub use self::arm64::*;
#[cfg(target_arch = "riscv64")]
mod riscv64;
#[cfg(target_arch = "riscv64")]
pub use self::riscv64::*;
|