]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
f57387d5 HT |
3 | Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | TianoCommon.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Tiano specific common definitions besides EfiCommon.h\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _TIANO_COMMON_H_\r | |
23 | #define _TIANO_COMMON_H_\r | |
24 | \r | |
25 | #include "TianoBind.h"\r | |
26 | #include "TianoTypes.h"\r | |
27 | #include "EfiStdArg.h"\r | |
28 | #include "TianoError.h"\r | |
29 | #include "EfiStatusCode.h"\r | |
30 | #include "EfiCommon.h"\r | |
31 | \r | |
32 | //\r | |
33 | // Define macros for including Architectural Protocols and PPIs\r | |
34 | //\r | |
35 | #define EFI_ARCH_PROTOCOL_DEFINITION(a) EFI_STRINGIZE (ArchProtocol/a/a.h)\r | |
36 | #define EFI_PPI_DEFINITION(a) EFI_STRINGIZE (Ppi/a/a.h)\r | |
37 | \r | |
38 | //\r | |
39 | // These should be used to include protocols. If they are followed,\r | |
40 | // intelligent build tools can be created to check dependencies at build\r | |
41 | // time.\r | |
42 | //\r | |
43 | #define EFI_ARCH_PROTOCOL_PRODUCER(a) EFI_ARCH_PROTOCOL_DEFINITION (a)\r | |
44 | #define EFI_ARCH_PROTOCOL_CONSUMER(a) EFI_ARCH_PROTOCOL_DEFINITION (a)\r | |
45 | #define EFI_ARCH_PROTOCOL_DEPENDENCY(a) EFI_ARCH_PROTOCOL_DEFINITION (a)\r | |
46 | \r | |
47 | #define EFI_PPI_PRODUCER(a) EFI_PPI_DEFINITION (a)\r | |
48 | #define EFI_PPI_CONSUMER(a) EFI_PPI_DEFINITION (a)\r | |
49 | #define EFI_PPI_DEPENDENCY(a) EFI_PPI_DEFINITION (a)\r | |
50 | \r | |
51 | #endif\r |