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