From ea49e59ed0fc50085716e55d66395b6afef8a554 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Mon, 12 Jul 2021 15:28:51 +0300 Subject: Update UefiLessonsPkg Signed-off-by: Konstantin Aladyshev --- UefiLessonsPkg/Include/Protocol/SimpleClass.h | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 UefiLessonsPkg/Include/Protocol/SimpleClass.h (limited to 'UefiLessonsPkg/Include/Protocol') diff --git a/UefiLessonsPkg/Include/Protocol/SimpleClass.h b/UefiLessonsPkg/Include/Protocol/SimpleClass.h new file mode 100644 index 0000000..4ccf629 --- /dev/null +++ b/UefiLessonsPkg/Include/Protocol/SimpleClass.h @@ -0,0 +1,28 @@ +#ifndef __SIMPLE_CLASS_PROTOCOL_H__ +#define __SIMPLE_CLASS_PROTOCOL_H__ + + +typedef struct _SIMPLE_CLASS_PROTOCOL SIMPLE_CLASS_PROTOCOL; + +typedef +EFI_STATUS +(EFIAPI* SIMPLE_CLASS_GET_NUMBER)( + UINTN* Number + ); + + +typedef +EFI_STATUS +(EFIAPI* SIMPLE_CLASS_SET_NUMBER)( + UINTN Number + ); + + +struct _SIMPLE_CLASS_PROTOCOL { + SIMPLE_CLASS_GET_NUMBER GetNumber; + SIMPLE_CLASS_SET_NUMBER SetNumber; +}; + + +#endif + -- cgit v1.2.3-18-g5258