Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dude719 committed Nov 10, 2016
1 parent 065441d commit 4d91926
Show file tree
Hide file tree
Showing 7 changed files with 954 additions and 43 deletions.
6 changes: 6 additions & 0 deletions UefiApplication/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ EFI_STATUS EFIAPI UefiMain( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE* Syst
EFI_DEVICE_PATH* RuntimeDriverDevicePath = NULL;
EFI_HANDLE RuntimeDriverHandle = NULL;

//
// Clear screen and make pretty
//
gST->ConOut->ClearScreen( gST->ConOut );
gST->ConOut->SetAttribute( gST->ConOut, EFI_GREEN | EFI_BACKGROUND_LIGHTGRAY );

//
// Locate the runtime driver
//
Expand Down
4 changes: 4 additions & 0 deletions UefiDriver/UefiDriver.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
<Link>
<AdditionalDependencies>UefiDriverEntryPoint.lib;BaseCryptLib.lib;IntrinsicLib.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem Condition="'$(Configuration)|$(Platform)'=='Release|x64'">EFI Runtime</SubSystem>
<GenerateDebugInformation Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateDebugInformation>
<GenerateMapFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateMapFile>
</Link>
<PostBuildEvent>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">copy /Y "$(TargetDir)$(TargetName).efi" "G:\efi\boot\rtdriver.efi"</Command>
Expand All @@ -40,6 +42,7 @@
<ClCompile>
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">__UD_STANDALONE__;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|x64'">4706;4055;4054</DisableSpecificWarnings>
<Optimization Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Disabled</Optimization>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
Expand All @@ -58,6 +61,7 @@
<ClCompile Include="utils.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="arc.h" />
<ClInclude Include="bootloader.h" />
<ClInclude Include="drv.h" />
<ClInclude Include="drvproto.h" />
Expand Down
3 changes: 3 additions & 0 deletions UefiDriver/UefiDriver.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
<ClInclude Include="bootloader.h">
<Filter>include</Filter>
</ClInclude>
<ClInclude Include="arc.h">
<Filter>include</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="src">
Expand Down
Loading

0 comments on commit 4d91926

Please sign in to comment.