-#/** @file\r
+## @file\r
# Module entry point library for UEFI driver.\r
#\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# http://opensource.org/licenses/bsd-license.php.\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
FILE_GUID = 331deb15-454b-48d8-9b74-70d01f3f3556\r
MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = UefiDriverEntryPoint|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_DRIVER \r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
+ LIBRARY_CLASS = UefiDriverEntryPoint|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_DRIVER SMM_CORE DXE_SMM_DRIVER\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
DriverEntryPoint.c\r
\r
\r
[LibraryClasses]\r
UefiBootServicesTableLib\r
DebugLib\r
+ BaseLib\r
\r
\r
[Protocols]\r
- gEfiLoadedImageProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiLoadedImageProtocolGuid ## CONSUMES\r
+\r
+\r
+#\r
+# For UEFI drivers, these architectural protocols defined in PI 1.0 spec need\r
+# to be appended and merged to the final dependency section.\r
+#\r
+[Depex.common.UEFI_DRIVER]\r
+ gEfiBdsArchProtocolGuid AND\r
+ gEfiCpuArchProtocolGuid AND\r
+ gEfiMetronomeArchProtocolGuid AND\r
+ gEfiMonotonicCounterArchProtocolGuid AND\r
+ gEfiRealTimeClockArchProtocolGuid AND\r
+ gEfiResetArchProtocolGuid AND\r
+ gEfiRuntimeArchProtocolGuid AND\r
+ gEfiSecurityArchProtocolGuid AND\r
+ gEfiTimerArchProtocolGuid AND\r
+ gEfiVariableWriteArchProtocolGuid AND\r
+ gEfiVariableArchProtocolGuid AND\r
+ gEfiWatchdogTimerArchProtocolGuid\r
\r