]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.c
PI 1.1 SMM Feature Check-in
[mirror_edk2.git] / MdePkg / Library / UefiBootServicesTableLib / UefiBootServicesTableLib.c
index 26f62f6c953220601d28e933a843f7eaa9aad7b3..be128418e2d71e117e60ecf37becc10c8ea9a8ca 100644 (file)
@@ -1,7 +1,8 @@
 /** @file\r
-  UEFI Boot Services Table Library.\r
+  This library retrieve the EFI_BOOT_SERVICES pointer from EFI system table in \r
+  library's constructor.\r
 \r
-  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. 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
   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
-  Module Name:  UefiBootServicesTableLib.c\r
-\r
 **/\r
 \r
+\r
+#include <Uefi.h>\r
+\r
+#include <Library/UefiBootServicesTableLib.h>\r
+#include <Library/DebugLib.h>\r
+\r
 EFI_HANDLE         gImageHandle = NULL;\r
 EFI_SYSTEM_TABLE   *gST         = NULL;\r
 EFI_BOOT_SERVICES  *gBS         = NULL;\r
 \r
 /**\r
   The constructor function caches the pointer of Boot Services Table.\r
-  \r
+    \r
   The constructor function caches the pointer of Boot Services Table through System Table.\r
   It will ASSERT() if the pointer of System Table is NULL.\r
   It will ASSERT() if the pointer of Boot Services Table is NULL.\r