This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// Represents the activity state of a logical processor in VMX operation. | ||
#[repr(u32)] | ||
#[derive(Debug, Copy, Clone, PartialEq, Eq)] | ||
pub enum GuestActivityState { | ||
/// The logical processor is executing instructions normally. | ||
Active = 0x00000000, | ||
|
||
/// The logical processor is inactive because it executed the HLT instruction. | ||
Hlt = 0x00000001, | ||
|
||
/// The logical processor is inactive because it incurred a triple fault | ||
/// or some other serious error. | ||
Shutdown = 0x00000002, | ||
|
||
/// The logical processor is inactive because it is waiting for a startup-IPI (SIPI). | ||
WaitForSipi = 0x00000003, | ||
} |
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