diff options
Diffstat (limited to 'EDK/Foundation/Include/TianoCommon.h')
-rw-r--r-- | EDK/Foundation/Include/TianoCommon.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/EDK/Foundation/Include/TianoCommon.h b/EDK/Foundation/Include/TianoCommon.h new file mode 100644 index 0000000..b588ee3 --- /dev/null +++ b/EDK/Foundation/Include/TianoCommon.h @@ -0,0 +1,51 @@ +/*++ + +Copyright (c) 2004, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + TianoCommon.h + +Abstract: + + Tiano specific common definitions besides EfiCommon.h + +--*/ + +#ifndef _TIANO_COMMON_H_ +#define _TIANO_COMMON_H_ + +#include "TianoBind.h" +#include "TianoTypes.h" +#include "EfiStdArg.h" +#include "TianoError.h" +#include "EfiStatusCode.h" +#include "EfiCommon.h" + +// +// Define macros for including Architectural Protocols and PPIs +// +#define EFI_ARCH_PROTOCOL_DEFINITION(a) EFI_STRINGIZE (ArchProtocol/a/a.h) +#define EFI_PPI_DEFINITION(a) EFI_STRINGIZE (Ppi/a/a.h) + +// +// These should be used to include protocols. If they are followed, +// intelligent build tools can be created to check dependencies at build +// time. +// +#define EFI_ARCH_PROTOCOL_PRODUCER(a) EFI_ARCH_PROTOCOL_DEFINITION (a) +#define EFI_ARCH_PROTOCOL_CONSUMER(a) EFI_ARCH_PROTOCOL_DEFINITION (a) +#define EFI_ARCH_PROTOCOL_DEPENDENCY(a) EFI_ARCH_PROTOCOL_DEFINITION (a) + +#define EFI_PPI_PRODUCER(a) EFI_PPI_DEFINITION (a) +#define EFI_PPI_CONSUMER(a) EFI_PPI_DEFINITION (a) +#define EFI_PPI_DEPENDENCY(a) EFI_PPI_DEFINITION (a) + +#endif |