]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixThunkDxe/UnixThunk.c
Update this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER module...
[mirror_edk2.git] / UnixPkg / UnixThunkDxe / UnixThunk.c
index df3512ca45ae782e61aac9e79d3627021ce10974..d9a857d8a3767d24c83cf91dad983dc19bd2a6da 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\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
@@ -36,11 +36,12 @@ Abstract:
 #include <Library/UnixLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
+#include <Library/DevicePathLib.h>\r
 \r
 //\r
 // WinNtThunk Device Path Protocol Instance\r
 //\r
-static UNIX_THUNK_DEVICE_PATH mUnixThunkDevicePath = {\r
+UNIX_THUNK_DEVICE_PATH mUnixThunkDevicePath = {\r
   {\r
     {\r
       HARDWARE_DEVICE_PATH,\r