diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2021-07-12 15:28:51 +0300 |
---|---|---|
committer | Konstantin Aladyshev <aladyshev22@gmail.com> | 2021-07-12 15:34:20 +0300 |
commit | ea49e59ed0fc50085716e55d66395b6afef8a554 (patch) | |
tree | 91089f5b20ede7ee53f7f613b2d5eb72a23a1017 /UefiLessonsPkg/Include | |
parent | f980e8c1e946285a212fad287164b0c9ef3b1625 (diff) | |
download | UEFI-Lessons-ea49e59ed0fc50085716e55d66395b6afef8a554.tar.gz UEFI-Lessons-ea49e59ed0fc50085716e55d66395b6afef8a554.tar.bz2 UEFI-Lessons-ea49e59ed0fc50085716e55d66395b6afef8a554.zip |
Update UefiLessonsPkg
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'UefiLessonsPkg/Include')
-rw-r--r-- | UefiLessonsPkg/Include/Library/SimpleLibrary.h | 2 | ||||
-rw-r--r-- | UefiLessonsPkg/Include/Protocol/SimpleClass.h | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/UefiLessonsPkg/Include/Library/SimpleLibrary.h b/UefiLessonsPkg/Include/Library/SimpleLibrary.h new file mode 100644 index 0000000..105bc87 --- /dev/null +++ b/UefiLessonsPkg/Include/Library/SimpleLibrary.h @@ -0,0 +1,2 @@ +UINTN Plus2(UINTN number); + 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 + |