Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattiwatti committed Mar 25, 2019
0 parents commit 0be8f44
Show file tree
Hide file tree
Showing 49 changed files with 19,541 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
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
29 changes: 29 additions & 0 deletions .gitignore
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
4 changes: 4 additions & 0 deletions .gitmodules
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 added Application/EfiDSEFix/lib/x64/ntdllp.lib
Binary file not shown.
Binary file added Application/EfiDSEFix/lib/x86/ntdllp.lib
Binary file not shown.
29 changes: 29 additions & 0 deletions Application/EfiDSEFix/src/EfiCompat.h
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>
Loading

0 comments on commit 0be8f44

Please sign in to comment.