Home | History | Annotate | Download | only in apps
      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, 0xb8} }
     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 struct _GNU_EFI_APPS_DRV0_PROTOCOL *This,
     18     IN const CHAR16 *HelloWho
     19     );
     20 
     21 typedef
     22 EFI_STATUS
     23 (EFIAPI *GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO) (
     24     IN struct _GNU_EFI_APPS_DRV0_PROTOCOL *This,
     25     OUT UINTN *NumberOfHello
     26     );
     27 
     28 typedef struct _GNU_EFI_APPS_DRV0_PROTOCOL {
     29   GNU_EFI_APPS_DRV0_SAY_HELLO           SayHello;
     30   GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO GetNumberOfHello;
     31 } GNU_EFI_APPS_DRV0_PROTOCOL;
     32 
     33 #ifdef __cplusplus
     34 }
     35 #endif
     36 
     37 #endif
     38