]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Guid/PeiFlushInstructionCache/PeiFlushInstructionCache.h
Removed extra typedefs on structures to fix error generated by gcc.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Guid / PeiFlushInstructionCache / PeiFlushInstructionCache.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 PeiFlushInstructionCache.h\r
15 \r
16Abstract:\r
17\r
18 GUID for the Instruction Cache Flushing APIs shared between PEI and DXE\r
19\r
20--*/\r
21\r
22#ifndef _PEI_FLUSH_INSTRUCTION_CACHE_GUID_H_\r
23#define _PEI_FLUSH_INSTRUCTION_CACHE_GUID_H_\r
24\r
25#define EFI_PEI_FLUSH_INSTRUCTION_CACHE_GUID \\r
26 { 0xd8117cfc, 0x94a6, 0x11d4, 0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }\r
27\r
28EFI_FORWARD_DECLARATION (EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL);\r
29\r
30typedef \r
31EFI_STATUS\r
32(EFIAPI *EFI_PEI_FLUSH_INSTRUCTION_CACHE_FLUSH) (\r
33 IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL *This,\r
34 IN EFI_PHYSICAL_ADDRESS Start,\r
35 IN UINT64 Length\r
36 );\r
37\r
b9bbec4f 38struct _EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL {\r
3eb9473e 39 EFI_PEI_FLUSH_INSTRUCTION_CACHE_FLUSH Flush;\r
b9bbec4f 40};\r
3eb9473e 41\r
42extern EFI_GUID gEfiPeiFlushInstructionCacheGuid;\r
43\r
44#endif\r