]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add Internal.h to UefiUsbLib
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Jul 2007 03:22:35 +0000 (03:22 +0000)
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 13 Jul 2007 03:22:35 +0000 (03:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3222 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiUsbLib/UefiUsbLibInternal.h [new file with mode: 0644]
MdePkg/Library/UefiUsbLib/UsbDxeLib.c
MdePkg/Library/UefiUsbLib/hid.c

diff --git a/MdePkg/Library/UefiUsbLib/UefiUsbLibInternal.h b/MdePkg/Library/UefiUsbLib/UefiUsbLibInternal.h
new file mode 100644 (file)
index 0000000..9d7be04
--- /dev/null
@@ -0,0 +1,22 @@
+/**@file\r
+  Common header file shared by all source files.\r
+\r
+  This file includes package header files, library classes and protocol, PPI & GUID definitions.\r
+\r
+  Copyright (c) 2006, Intel Corporation.\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
+   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
+#ifndef __UEFI_USB_LIB_INTERNAL_H_\r
+#define __UEFI_USB_LIB_INTERNAL_H_\r
+\r
+#include <PiDxe.h>\r
+#include <Library/UsbLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+\r
+#endif\r
index 9da8005fc28048e3e236aef0becfdb708ea7bf14..c8c89acc127ba5b5d4d09b942084f6d7f5847f2c 100644 (file)
@@ -13,9 +13,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
-#include <PiDxe.h>\r
-#include <Library/BaseMemoryLib.h>\r
-#include <Library/UsbLib.h>\r
+#include <UefiUsbLibInternal.h>\r
+\r
 \r
 /**\r
   Usb Get Descriptor\r
index 185fc7b7f57e65a3e61cb0f25e1fe441527090b4..7c0ee14284c5edc2456dca2a6b56ead46c34c99b 100644 (file)
@@ -11,12 +11,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 \r
 **/\r
-#include <PiDxe.h>\r
-#include <Library/UsbLib.h>\r
 \r
-//\r
-// Function to get HID descriptor\r
-//\r
+#include <UefiUsbLibInternal.h>\r
+\r
 \r
 /**\r
   Get Hid Descriptor\r