-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0be8f44
Showing
49 changed files
with
19,541 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Sorry if this conflicts with your preferred editorconfig, this file is only | ||
# really here to fix Github's insane default of 8 spaces wide tab characters | ||
# | ||
# https://github.com/isaacs/github/issues/170 | ||
# https://github.com/isaacs/github/issues/1490 | ||
|
||
[*.{c,cpp,cc,cxx,h,hpp,rc,manifest,asm,nasm,s,inc}] | ||
charset = utf-8 | ||
end_of_line = crlf | ||
indent_style = tab | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Directories | ||
bin/ | ||
obj/ | ||
ipch/ | ||
Win32/ | ||
x86/ | ||
x64/ | ||
Debug/ | ||
Release/ | ||
Misc/ | ||
.svn/ | ||
.hg/ | ||
.vs/ | ||
|
||
# File types | ||
*.dll | ||
*.exe | ||
*.sys | ||
*.efi | ||
*.pdb | ||
*.lnk | ||
*.aps | ||
*.sdf | ||
*.user | ||
*.obj | ||
*.opensdf | ||
*.suo | ||
*.VC.db | ||
*.VC.opendb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "EfiGuardDxe/Zydis"] | ||
path = EfiGuardDxe/Zydis | ||
url = https://github.com/zyantific/zydis.git | ||
branch = master |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
// We can't include all of <Uefi/UefiBaseType.h> because MSVC will give some very angry errors, especially w.r.t. GUID types which come from the retarded guiddef.h. | ||
// Instead define the minimum subset required to include <Protocol/EfiGuard.h> | ||
#define EFIAPI __cdecl | ||
|
||
typedef ULONG_PTR UINTN; | ||
typedef UINTN RETURN_STATUS; | ||
typedef RETURN_STATUS EFI_STATUS; | ||
typedef GUID EFI_GUID; | ||
typedef CHAR CHAR8; | ||
typedef WCHAR CHAR16; | ||
typedef struct | ||
{ | ||
UINT16 Year; | ||
UINT8 Month; | ||
UINT8 Day; | ||
UINT8 Hour; | ||
UINT8 Minute; | ||
UINT8 Second; | ||
UINT8 Pad1; | ||
UINT32 Nanosecond; | ||
INT16 TimeZone; | ||
UINT8 Daylight; | ||
UINT8 Pad2; | ||
} EFI_TIME; | ||
|
||
// For EFI variable attributes | ||
#include <Uefi/UefiMultiPhase.h> |
Oops, something went wrong.