This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added #[deny(missing_docs)] and added documentation everywhere - Divided VcpuExits by platform (conditionally compiled) and reordered by definition in platform-specific headers - Fixed licenses
- Loading branch information
1 parent
8f775bd
commit ec9817b
Showing
7 changed files
with
234 additions
and
63 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Default owners for everything in the repo. Later matches take precedence. | ||
* @jennymankin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
// Copyright 2018-2019 CrowdStrike, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 OR MIT | ||
|
||
#![allow(unused)] | ||
#![deny(missing_docs)] | ||
|
||
//! A generic abstraction around virtual CPU (vCPU) functionality | ||
//! | ||
//! This crate offers a trait abstraction for vCPUs, as well as architecture | ||
//! and platform-dependent structure definitions necessary for vCPU functions. | ||
//! | ||
//! # Platform support | ||
//! | ||
//! - x86_64 | ||
//! - arm64 (experimental) | ||
//! | ||
|
||
/// Module defining vCPU trait and required data structures | ||
pub mod vcpu; | ||
|
||
#[cfg(unix)] | ||
extern crate kvm_bindings; | ||
|
||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] | ||
/// Module defining x86_64 architecture-dependent structures | ||
pub mod x86_64; | ||
|
||
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))] | ||
mod arm; | ||
/// Module defining arm architecture-dependent structures | ||
pub mod arm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.