Home | History | Annotate | Line # | Download | only in apps
      1 /*	$NetBSD: drv0.h,v 1.1.1.1 2018/08/16 18:17:47 jmcneill Exp $	*/
      2 
      3 #ifndef _GNU_EFI_APPS_DRV0_H_
      4 #define _GNU_EFI_APPS_DRV0_H_
      5 
      6 #ifdef __cplusplus
      7 extern "C" {
      8 #endif
      9 
     10 /* UEFI naming conventions */
     11 #define GNU_EFI_APPS_DRV0_PROTOCOL_GUID \
     12 { 0xe4dcafd0, 0x586c, 0x4b3d, {0x86, 0xe7, 0x28, 0xde, 0x7f, 0xcc, 0x04, 0xb9} }
     13 
     14 INTERFACE_DECL(_GNU_EFI_APPS_DRV0_PROTOCOL);
     15 
     16 typedef
     17 EFI_STATUS
     18 (EFIAPI *GNU_EFI_APPS_DRV0_SAY_HELLO) (
     19     IN const CHAR16 *HelloWho
     20     );
     21 
     22 typedef
     23 EFI_STATUS
     24 (EFIAPI *GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO) (
     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