@@ -1916,6 +1916,7 @@ pub const hv_message_type_HVMSG_X64_IOMMU_PRQ: hv_message_type = 2147549190;
1916
1916
pub const hv_message_type_HVMSG_X64_HALT: hv_message_type = 2147549191;
1917
1917
pub const hv_message_type_HVMSG_X64_INTERRUPTION_DELIVERABLE: hv_message_type = 2147549192;
1918
1918
pub const hv_message_type_HVMSG_X64_SIPI_INTERCEPT: hv_message_type = 2147549193;
1919
+ pub const hv_message_type_HVMSG_ARM64_RESET_INTERCEPT: hv_message_type = 2147549196;
1919
1920
pub const hv_message_type_HVMSG_X64_SEV_VMGEXIT_INTERCEPT: hv_message_type = 2147549203;
1920
1921
pub type hv_message_type = ::std::os::raw::c_uint;
1921
1922
#[repr(C)]
@@ -10816,6 +10817,41 @@ impl Default for hv_arm64_memory_intercept_message {
10816
10817
}
10817
10818
}
10818
10819
}
10820
+ pub const hv_arm64_reset_type_HV_ARM64_RESET_TYPE_POWER_OFF: hv_arm64_reset_type = 0;
10821
+ pub const hv_arm64_reset_type_HV_ARM64_RESET_TYPE_REBOOT: hv_arm64_reset_type = 1;
10822
+ pub const hv_arm64_reset_type_HV_ARM64_RESET_TYPE_SYSTEM_RESET2: hv_arm64_reset_type = 2;
10823
+ pub const hv_arm64_reset_type_HV_ARM64_RESET_TYPE_HIBERNATE: hv_arm64_reset_type = 3;
10824
+ pub const hv_arm64_reset_type_HV_ARM64_RESET_TYPE_MAX: hv_arm64_reset_type = 4;
10825
+ pub type hv_arm64_reset_type = ::std::os::raw::c_uint;
10826
+ #[repr(C)]
10827
+ #[derive(Copy, Clone)]
10828
+ pub struct hv_arm64_reset_intercept_message {
10829
+ pub header: hv_arm64_intercept_message_header,
10830
+ pub reset_type: __u32,
10831
+ pub reset_code: __u32,
10832
+ }
10833
+ #[allow(clippy::unnecessary_operation, clippy::identity_op)]
10834
+ const _: () = {
10835
+ ["Size of hv_arm64_reset_intercept_message"]
10836
+ [::std::mem::size_of::<hv_arm64_reset_intercept_message>() - 32usize];
10837
+ ["Alignment of hv_arm64_reset_intercept_message"]
10838
+ [::std::mem::align_of::<hv_arm64_reset_intercept_message>() - 4usize];
10839
+ ["Offset of field: hv_arm64_reset_intercept_message::header"]
10840
+ [::std::mem::offset_of!(hv_arm64_reset_intercept_message, header) - 0usize];
10841
+ ["Offset of field: hv_arm64_reset_intercept_message::reset_type"]
10842
+ [::std::mem::offset_of!(hv_arm64_reset_intercept_message, reset_type) - 24usize];
10843
+ ["Offset of field: hv_arm64_reset_intercept_message::reset_code"]
10844
+ [::std::mem::offset_of!(hv_arm64_reset_intercept_message, reset_code) - 28usize];
10845
+ };
10846
+ impl Default for hv_arm64_reset_intercept_message {
10847
+ fn default() -> Self {
10848
+ let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
10849
+ unsafe {
10850
+ ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
10851
+ s.assume_init()
10852
+ }
10853
+ }
10854
+ }
10819
10855
#[repr(C, packed)]
10820
10856
#[derive(Debug, Default, Copy, Clone, PartialOrd, Ord, PartialEq, Eq)]
10821
10857
pub struct hv_input_translate_virtual_address {
0 commit comments