]>
git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Include/TianoCommon.h
3 Copyright (c) 2004, Intel Corporation
4 All rights reserved. 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
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.
18 Tiano specific common definitions besides EfiCommon.h
22 #ifndef _TIANO_COMMON_H_
23 #define _TIANO_COMMON_H_
25 #include "TianoBind.h"
26 #include "TianoTypes.h"
27 #include "EfiStdArg.h"
28 #include "TianoError.h"
29 #include "EfiStatusCode.h"
30 #include "EfiCommon.h"
33 // Define macros for including Architectural Protocols and PPIs
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)
39 // These should be used to include protocols. If they are followed,
40 // intelligent build tools can be created to check dependencies at build
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)
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)