]>
Commit | Line | Data |
---|---|---|
949f388f | 1 | /** @file\r |
2 | Emulator Thunk to abstract OS services from pure EFI code\r | |
3 | \r | |
4 | Copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR>\r | |
d18d8a1d | 5 | \r |
949f388f | 6 | This program and the accompanying materials\r |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #include <Uefi.h>\r | |
17 | #include <Protocol/EmuIoThunk.h>\r | |
18 | \r | |
19 | \r | |
20 | EFI_STATUS\r | |
21 | EFIAPI\r | |
22 | AddThunkProtocol (\r | |
d18d8a1d | 23 | IN EMU_IO_THUNK_PROTOCOL *ThunkIo,\r |
949f388f | 24 | IN CHAR16 *ConfigString,\r |
25 | IN BOOLEAN EmuBusDriver\r | |
26 | );\r | |
27 | \r | |
28 | EFI_STATUS\r | |
29 | EFIAPI\r | |
30 | GetNextThunkProtocol (\r | |
31 | IN BOOLEAN EmuBusDriver,\r | |
d18d8a1d | 32 | OUT EMU_IO_THUNK_PROTOCOL **Instance\r |
949f388f | 33 | );\r |
d18d8a1d | 34 | \r |
949f388f | 35 | \r |