Debian Codegraph @

gnu-efi/apps/drv0.h

raw
1 #ifndef _GNU_EFI_APPS_DRV0_H_
2 #define _GNU_EFI_APPS_DRV0_H_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 /* UEFI naming conventions */
9 #define GNU_EFI_APPS_DRV0_PROTOCOL_GUID \
10 { 0xe4dcafd0, 0x586c, 0x4b3d, {0x86, 0xe7, 0x28, 0xde, 0x7f, 0xcc, 0x04, 0xb9} }
11
12 INTERFACE_DECL(_GNU_EFI_APPS_DRV0_PROTOCOL);
13
14 typedef
15 EFI_STATUS
16 (EFIAPI *GNU_EFI_APPS_DRV0_SAY_HELLO) (
17 IN const CHAR16 *HelloWho
18 );
19
20 typedef
21 EFI_STATUS
22 (EFIAPI *GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO) (
23 OUT UINTN *NumberOfHello
24 );
25
26 typedef struct _GNU_EFI_APPS_DRV0_PROTOCOL {
27 GNU_EFI_APPS_DRV0_SAY_HELLO SayHello;
28 GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO GetNumberOfHello;
29 } GNU_EFI_APPS_DRV0_PROTOCOL;
30
31 #ifdef __cplusplus
32 }
33 #endif
34
35 #endif