]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
MdePkg/BaseMemoryLib*: check for zero length in ZeroMem ()
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformGopPolicy / PlatformGopPolicy.c
index 0abe1b27d942e9396766ee9ffefcbba172d27f0c..035f7b520f48655dead2fed45f6bdcfb0134cefc 100644 (file)
@@ -23,11 +23,9 @@ Copyright (c)  1999  - 2014, Intel Corporation. All rights reserved
 \r
 #include <Guid/SetupVariable.h>\r
 #include <SetupMode.h>\r
+#include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/UefiRuntimeServicesTableLib.h>\r
 \r
-EFI_BOOT_SERVICES   *gBS;\r
-\r
-\r
 PLATFORM_GOP_POLICY_PROTOCOL  mPlatformGOPPolicy;\r
 \r
 //\r
@@ -35,7 +33,7 @@ PLATFORM_GOP_POLICY_PROTOCOL  mPlatformGOPPolicy;
 //\r
 \r
 /**\r
-  The function will excute with as the platform policy, and gives\r
+  The function will execute with as the platform policy, and gives\r
   the Platform Lid Status. IBV/OEM can customize this code for their specific\r
   policy action.\r
 \r
@@ -56,7 +54,7 @@ GetPlatformLidStatus (
 }\r
 \r
 /**\r
-  The function will excute and gives the Video Bios Table Size and Address.\r
+  The function will execute and gives the Video Bios Table Size and Address.\r
 \r
   @param VbtAddress  Gives the Physical Address of Video BIOS Table\r
 \r