Home | History | Annotate | Line # | Download | only in apps
drv0.h revision 1.1.1.1.6.2
      1  1.1.1.1.6.2  christos /*	$NetBSD: drv0.h,v 1.1.1.1.6.2 2019/06/10 22:08:34 christos Exp $	*/
      2  1.1.1.1.6.2  christos 
      3  1.1.1.1.6.2  christos #ifndef _GNU_EFI_APPS_DRV0_H_
      4  1.1.1.1.6.2  christos #define _GNU_EFI_APPS_DRV0_H_
      5  1.1.1.1.6.2  christos 
      6  1.1.1.1.6.2  christos #ifdef __cplusplus
      7  1.1.1.1.6.2  christos extern "C" {
      8  1.1.1.1.6.2  christos #endif
      9  1.1.1.1.6.2  christos 
     10  1.1.1.1.6.2  christos /* UEFI naming conventions */
     11  1.1.1.1.6.2  christos #define GNU_EFI_APPS_DRV0_PROTOCOL_GUID \
     12  1.1.1.1.6.2  christos { 0xe4dcafd0, 0x586c, 0x4b3d, {0x86, 0xe7, 0x28, 0xde, 0x7f, 0xcc, 0x04, 0xb9} }
     13  1.1.1.1.6.2  christos 
     14  1.1.1.1.6.2  christos INTERFACE_DECL(_GNU_EFI_APPS_DRV0_PROTOCOL);
     15  1.1.1.1.6.2  christos 
     16  1.1.1.1.6.2  christos typedef
     17  1.1.1.1.6.2  christos EFI_STATUS
     18  1.1.1.1.6.2  christos (EFIAPI *GNU_EFI_APPS_DRV0_SAY_HELLO) (
     19  1.1.1.1.6.2  christos     IN const CHAR16 *HelloWho
     20  1.1.1.1.6.2  christos     );
     21  1.1.1.1.6.2  christos 
     22  1.1.1.1.6.2  christos typedef
     23  1.1.1.1.6.2  christos EFI_STATUS
     24  1.1.1.1.6.2  christos (EFIAPI *GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO) (
     25  1.1.1.1.6.2  christos     OUT UINTN *NumberOfHello
     26  1.1.1.1.6.2  christos     );
     27  1.1.1.1.6.2  christos 
     28  1.1.1.1.6.2  christos typedef struct _GNU_EFI_APPS_DRV0_PROTOCOL {
     29  1.1.1.1.6.2  christos   GNU_EFI_APPS_DRV0_SAY_HELLO           SayHello;
     30  1.1.1.1.6.2  christos   GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO GetNumberOfHello;
     31  1.1.1.1.6.2  christos } GNU_EFI_APPS_DRV0_PROTOCOL;
     32  1.1.1.1.6.2  christos 
     33  1.1.1.1.6.2  christos #ifdef __cplusplus
     34  1.1.1.1.6.2  christos }
     35  1.1.1.1.6.2  christos #endif
     36  1.1.1.1.6.2  christos 
     37  1.1.1.1.6.2  christos #endif
     38