1207753Smm/*	$NetBSD: drv0.h,v 1.1.1.1 2018/08/16 18:17:47 jmcneill Exp $	*/
2207753Smm
3207753Smm#ifndef _GNU_EFI_APPS_DRV0_H_
4207753Smm#define _GNU_EFI_APPS_DRV0_H_
5207753Smm
6207753Smm#ifdef __cplusplus
7207753Smmextern "C" {
8207753Smm#endif
9207753Smm
10207753Smm/* UEFI naming conventions */
11207753Smm#define GNU_EFI_APPS_DRV0_PROTOCOL_GUID \
12207753Smm{ 0xe4dcafd0, 0x586c, 0x4b3d, {0x86, 0xe7, 0x28, 0xde, 0x7f, 0xcc, 0x04, 0xb9} }
13207753Smm
14207753SmmINTERFACE_DECL(_GNU_EFI_APPS_DRV0_PROTOCOL);
15207753Smm
16207753Smmtypedef
17207753SmmEFI_STATUS
18207753Smm(EFIAPI *GNU_EFI_APPS_DRV0_SAY_HELLO) (
19207753Smm    IN const CHAR16 *HelloWho
20207753Smm    );
21207753Smm
22207753Smmtypedef
23207753SmmEFI_STATUS
24207753Smm(EFIAPI *GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO) (
25207753Smm    OUT UINTN *NumberOfHello
26207753Smm    );
27207753Smm
28207753Smmtypedef struct _GNU_EFI_APPS_DRV0_PROTOCOL {
29207753Smm  GNU_EFI_APPS_DRV0_SAY_HELLO           SayHello;
30207753Smm  GNU_EFI_APPS_DRV0_GET_NUMBER_OF_HELLO GetNumberOfHello;
31207753Smm} GNU_EFI_APPS_DRV0_PROTOCOL;
32207753Smm
33207753Smm#ifdef __cplusplus
34207753Smm}
35207753Smm#endif
36207753Smm
37207753Smm#endif
38207753Smm