]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Include/EfiCommon.h
fixed memcpy link issue.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Include / EfiCommon.h
CommitLineData
3eb9473e 1/*++\r
2\r
3Copyright (c) 2004, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13 \r
14 EfiCommon.h\r
15\r
16Abstract:\r
17\r
18--*/\r
19\r
20#ifndef _EFI_COMMON_H_\r
21#define _EFI_COMMON_H_\r
22\r
23#include "EfiBind.h"\r
24#include "EfiTypes.h"\r
25#include "EfiStdArg.h"\r
26#include "EfiError.h"\r
27\r
28//\r
29// Define macros for including Protocols and Guids.\r
30//\r
31#define EFI_STRINGIZE(a) #a\r
32#define EFI_PROTOCOL_DEFINITION(a) EFI_STRINGIZE (Protocol/a/a.h)\r
33#define EFI_GUID_DEFINITION(a) EFI_STRINGIZE (Guid/a/a.h)\r
34\r
35//\r
36// These should be used to include protocols. If they are followed,\r
37// intelligent build tools can be created to check dependencies at build\r
38// time.\r
39//\r
40#define EFI_PROTOCOL_PRODUCER(a) EFI_PROTOCOL_DEFINITION (a)\r
41#define EFI_PROTOCOL_CONSUMER(a) EFI_PROTOCOL_DEFINITION (a)\r
42#define EFI_PROTOCOL_DEPENDENCY(a) EFI_PROTOCOL_DEFINITION (a)\r
43\r
44//\r
45// Mechanism to associate a short and long ascii string with a GUID.\r
46// For normal builds the strings are not included. A build utility\r
47// can be constructed to extract the strings and build a table. It may\r
48// be possible to add a build opption to automatically generate a GUID\r
49// string table for a GUID to string utility build.\r
50//\r
51#define EFI_GUID_STRING(guidpointer, shortstring, longstring)\r
52\r
53#endif\r