diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /ReferenceCode/Haswell/Guid/TxtOneTouch/TxtOneTouch.h | |
download | zprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz |
Diffstat (limited to 'ReferenceCode/Haswell/Guid/TxtOneTouch/TxtOneTouch.h')
-rw-r--r-- | ReferenceCode/Haswell/Guid/TxtOneTouch/TxtOneTouch.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ReferenceCode/Haswell/Guid/TxtOneTouch/TxtOneTouch.h b/ReferenceCode/Haswell/Guid/TxtOneTouch/TxtOneTouch.h new file mode 100644 index 0000000..a99b42e --- /dev/null +++ b/ReferenceCode/Haswell/Guid/TxtOneTouch/TxtOneTouch.h @@ -0,0 +1,53 @@ +/** @file + This file contains definitions required for One-Touch function. + +@copyright + Copyright (c) 1999 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains an 'Intel Peripheral Driver' and uniquely + identified as "Intel Reference Module" and is + licensed for Intel CPUs and chipsets under the terms of your + license agreement with Intel or your vendor. This file may + be modified by the user, subject to additional terms of the + license agreement +**/ +#ifndef _TXT_ONE_TOUCH_H_ +#define _TXT_ONE_TOUCH_H_ + +#define TXT_ONE_TOUCH_GUID \ + { \ + 0x3D989471, 0xCFAC, 0x46B7, 0x9B, 0x1C, 0x8, 0x43, 0x1, 0x9, 0x40, 0x2D \ + } + +extern EFI_GUID gTxtOneTouchGuid; + +// +// Operation +// +#define ENABLE_VT 128 +#define DISABLE_VT_TXT 129 +#define ENABLE_VTD 130 +#define DISABLE_VTD_TXT 131 +#define ENABLE_ACTTPM_VT_VTD_TXT_DISABLE_STM 132 +#define ENABLE_ACTTPM_VT_VTD_TXT_STM 133 +#define DISABLE_STM 134 +#define DISABLE_TXT_STM 135 +#define DISABLE_SENTER_VMX 136 ///< optional +#define ENABLE_VMX_SMX_ONLY 137 ///< optional +#define ENABLE_VMX_OUTSIDE_SMX 138 ///< optional +#define ENABLE_VMX 139 ///< optional +#define ENABLE_SENTER_ONLY 140 ///< optional +#define ENABLE_SENTER_VMX_IN_SMX 141 ///< optional +#define ENABLE_SENTER_VMX_OUTSIDE_SMX 142 ///< optional +#define ENABLE_SENTER_VMX 143 ///< optional +#define SET_NO_TXT_MAINTENANCE_FALSE 159 +#define SET_NO_TXT_MAINTENANCE_TRUE 160 + +#endif |