Since the exception list is not a recommended way, we returns
EFI_UNSUPPORTED in the sample code.
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
// Uncomment to take affect and comment the sample codes for device scope\r
// based exception list.\r
//\r
+ /*\r
*DeviceInfo = AllocateZeroPool (sizeof(mExceptionPciDeviceIdList));\r
if (*DeviceInfo == NULL) {\r
return EFI_OUT_OF_RESOURCES;\r
CopyMem (*DeviceInfo, mExceptionPciDeviceIdList, sizeof(mExceptionPciDeviceIdList));\r
\r
*DeviceInfoCount = ARRAY_SIZE(mExceptionPciDeviceIdList);\r
-\r
- return EFI_SUCCESS;\r
+ */\r
+ return EFI_UNSUPPORTED;\r
}\r
\r
EDKII_PLATFORM_VTD_POLICY_PROTOCOL mPlatformVTdSample = {\r