Compare commits
No commits in common. "f3d06a12fbe38585bee2bbf5bafa66b2aedef2e4" and "c7115993cb25b9b4b00799edf260d3a34e57de5c" have entirely different histories.
f3d06a12fb
...
c7115993cb
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -7,12 +7,7 @@
|
||||||
*.opendb
|
*.opendb
|
||||||
*.db*
|
*.db*
|
||||||
*.*db*
|
*.*db*
|
||||||
*.pdb
|
|
||||||
*.tlog
|
|
||||||
*.obj
|
|
||||||
*.log
|
|
||||||
x86_32
|
x86_32
|
||||||
image/
|
image
|
||||||
.vs/
|
x64
|
||||||
x64/
|
.vs
|
||||||
*.vbs
|
|
3
.vs/ProjectSettings.json
Normal file
3
.vs/ProjectSettings.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"CurrentProjectSetting": "No Configurations"
|
||||||
|
}
|
9
.vs/VSWorkspaceState.json
Normal file
9
.vs/VSWorkspaceState.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"ExpandedNodes": [
|
||||||
|
"",
|
||||||
|
"\\arch",
|
||||||
|
"\\arch\\uefi"
|
||||||
|
],
|
||||||
|
"SelectedNode": "\\.gitignore",
|
||||||
|
"PreviewInSolutionExplorer": false
|
||||||
|
}
|
428
.vs/msvc/gnu-efi.vcxproj
Normal file
428
.vs/msvc/gnu-efi.vcxproj
Normal file
|
@ -0,0 +1,428 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|ARM">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>ARM</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|ARM64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|ARM">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>ARM</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|ARM64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{3135D563-9596-4584-9ED6-616ADEC52974}</ProjectGuid>
|
||||||
|
<RootNamespace>gnuefi</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<OutDir>$(SolutionDir)x64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<OutDir>$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||||
|
<OutDir>$(SolutionDir)arm\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||||
|
<OutDir>$(SolutionDir)aa64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<OutDir>$(SolutionDir)x64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<OutDir>$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||||
|
<OutDir>$(SolutionDir)arm\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
||||||
|
<OutDir>$(SolutionDir)aa64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\x86_64;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\ia32;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\arm;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\aarch64;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;__SIZE_TYPE__=uint64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\x86_64;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\ia32;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\arm;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\aarch64;$(SolutionDir)\gnu-efi\inc\protocol;$(SolutionDir)\gnu-efi\lib</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;__SIZE_TYPE__=uint64_t;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4312</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||||
|
<AdditionalOptions>/Oi-</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\aarch64\initplat.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\aarch64\math.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\arm\initplat.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\arm\math.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\boxdraw.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\cmdline.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\console.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\crc.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\data.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\debug.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\dpath.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\error.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\event.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\guid.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\hand.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\hw.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\ia32\initplat.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\ia32\math.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\init.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\lock.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\misc.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\print.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\efirtlib.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\rtdata.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\rtlock.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\rtstr.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\vm.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\smbios.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\sread.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\str.c" />
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\x86_64\initplat.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\x86_64\math.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
123
.vs/msvc/gnu-efi.vcxproj.filters
Normal file
123
.vs/msvc/gnu-efi.vcxproj.filters
Normal file
|
@ -0,0 +1,123 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\arm">
|
||||||
|
<UniqueIdentifier>{20c8e9bd-0fa8-46d3-b825-e3eebd64ab3d}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\x86_64">
|
||||||
|
<UniqueIdentifier>{87122940-e80f-416d-a840-5e32f703f3ff}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\ia32">
|
||||||
|
<UniqueIdentifier>{e6e3d25a-4fce-4036-bef9-3cfbafc4baaf}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\aarch64">
|
||||||
|
<UniqueIdentifier>{cf7e7031-77e5-4827-9aa6-f996fc4b3d06}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\console.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\print.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\init.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\str.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\guid.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\misc.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\boxdraw.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\smbios.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\crc.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\data.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\debug.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\dpath.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\event.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\hand.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\hw.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\lock.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\sread.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\cmdline.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\rtlock.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\efirtlib.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\rtstr.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\vm.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\runtime\rtdata.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\error.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\arm\math.c">
|
||||||
|
<Filter>Source Files\arm</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\x86_64\math.c">
|
||||||
|
<Filter>Source Files\x86_64</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\ia32\math.c">
|
||||||
|
<Filter>Source Files\ia32</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\x86_64\initplat.c">
|
||||||
|
<Filter>Source Files\x86_64</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\ia32\initplat.c">
|
||||||
|
<Filter>Source Files\ia32</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\arm\initplat.c">
|
||||||
|
<Filter>Source Files\arm</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\aarch64\initplat.c">
|
||||||
|
<Filter>Source Files\aarch64</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\gnu-efi\lib\aarch64\math.c">
|
||||||
|
<Filter>Source Files\aarch64</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
4
.vs/msvc/gnu-efi.vcxproj.user
Normal file
4
.vs/msvc/gnu-efi.vcxproj.user
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup />
|
||||||
|
</Project>
|
404
.vs/msvc/uefi-simple.vcxproj
Normal file
404
.vs/msvc/uefi-simple.vcxproj
Normal file
|
@ -0,0 +1,404 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|ARM">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>ARM</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|ARM64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|ARM">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>ARM</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|ARM64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>ARM64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{DFA0BA98-D0BA-4176-9A34-B5BA6355B1DE}</ProjectGuid>
|
||||||
|
<RootNamespace>uefi-simple</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)x64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)arm\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)aa64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)x64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)arm\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
||||||
|
<TargetExt>.efi</TargetExt>
|
||||||
|
<GenerateManifest>false</GenerateManifest>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)aa64\$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(OutDir)$(ProjectName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)inc;$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\x86_64</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmtd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\ia32</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmtd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\arm</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmtd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\aarch64</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmtd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\x86_64</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\ia32</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\arm</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\gnu-efi\inc;$(SolutionDir)\gnu-efi\inc\aarch64</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_UNICODE;UNICODE;HAVE_USE_MS_ABI;GNU_EFI_USE_EXTERNAL_STDARG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ExceptionHandling>false</ExceptionHandling>
|
||||||
|
<CompileAs>CompileAsC</CompileAs>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<DisableSpecificWarnings>4091</DisableSpecificWarnings>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
<AdditionalOptions>/Oi- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ClCompile>
|
||||||
|
<Lib>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
<Link>
|
||||||
|
<DataExecutionPrevention>false</DataExecutionPrevention>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
<EntryPointSymbol>efi_main</EntryPointSymbol>
|
||||||
|
<SubSystem>EFI Application</SubSystem>
|
||||||
|
<AdditionalDependencies>gnu-efi.lib;libcmt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<RandomizedBaseAddress />
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\src\bootloader.c" />
|
||||||
|
<ClCompile Include="..\..\src\gfx.c" />
|
||||||
|
<ClCompile Include="..\..\src\main.c" />
|
||||||
|
<ClCompile Include="..\..\src\memory.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\..\debug.vbs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\inc\ELF.h" />
|
||||||
|
<ClInclude Include="BL.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
43
.vs/msvc/uefi-simple.vcxproj.filters
Normal file
43
.vs/msvc/uefi-simple.vcxproj.filters
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{b1c3b304-e868-4b07-988c-36ad7bc57300}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="..\..\debug.vbs">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\src\bootloader.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\gfx.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\main.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\memory.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="BL.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\inc\ELF.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
51
.vs/msvc/uefi-simple.vcxproj.user
Normal file
51
.vs/msvc/uefi-simple.vcxproj.user
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
||||||
|
<LocalDebuggerCommand>$(SystemRoot)\System32\wscript</LocalDebuggerCommand>
|
||||||
|
<LocalDebuggerCommandArguments>//d debug.vbs "$(TargetPath)" "$(PlatformShortName)"</LocalDebuggerCommandArguments>
|
||||||
|
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||||
|
<LocalDebuggerWorkingDirectory>$(SolutionDir)</LocalDebuggerWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
BIN
.vs/red/v15/ipch/AutoPCH/1f7ce03d182abcf7/SYS_CLOCK.ipch
Normal file
BIN
.vs/red/v15/ipch/AutoPCH/1f7ce03d182abcf7/SYS_CLOCK.ipch
Normal file
Binary file not shown.
BIN
.vs/red/v15/ipch/AutoPCH/349d759258598ef9/ENTRY.ipch
Normal file
BIN
.vs/red/v15/ipch/AutoPCH/349d759258598ef9/ENTRY.ipch
Normal file
Binary file not shown.
BIN
.vs/red/v15/ipch/AutoPCH/434b3cd0330f060/TTY.ipch
Normal file
BIN
.vs/red/v15/ipch/AutoPCH/434b3cd0330f060/TTY.ipch
Normal file
Binary file not shown.
BIN
.vs/red/v15/ipch/AutoPCH/89012f5cd6e4fc25/ENTRY.ipch
Normal file
BIN
.vs/red/v15/ipch/AutoPCH/89012f5cd6e4fc25/ENTRY.ipch
Normal file
Binary file not shown.
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
BIN
.vs/uefi-simple/v15/ipch/AutoPCH/87c6e8ee158dd2c4/MAIN.ipch
Normal file
BIN
.vs/uefi-simple/v15/ipch/AutoPCH/87c6e8ee158dd2c4/MAIN.ipch
Normal file
Binary file not shown.
BIN
.vs/uefi-simple/v15/ipch/AutoPCH/96875102a9e1e354/MAIN.ipch
Normal file
BIN
.vs/uefi-simple/v15/ipch/AutoPCH/96875102a9e1e354/MAIN.ipch
Normal file
Binary file not shown.
|
@ -9,7 +9,7 @@
|
||||||
' Modify these variables as needed
|
' Modify these variables as needed
|
||||||
QEMU_PATH = "C:\Program Files\qemu\"
|
QEMU_PATH = "C:\Program Files\qemu\"
|
||||||
' You can add something like "-S -gdb tcp:127.0.0.1:1234" if you plan to use gdb to debug
|
' You can add something like "-S -gdb tcp:127.0.0.1:1234" if you plan to use gdb to debug
|
||||||
QEMU_OPTS = "-net none -vga std -display sdl -serial file:qemu.log -parallel none"
|
QEMU_OPTS = "-net none -monitor none -parallel none"
|
||||||
' Set to True if you need to download a file that might be cached locally
|
' Set to True if you need to download a file that might be cached locally
|
||||||
NO_CACHE = False
|
NO_CACHE = False
|
||||||
|
|
||||||
|
|
BIN
efi/docs/Platform Initialization 1.7.pdf
Normal file
BIN
efi/docs/Platform Initialization 1.7.pdf
Normal file
Binary file not shown.
BIN
efi/docs/UEFI Shell 2.8.pdf
Normal file
BIN
efi/docs/UEFI Shell 2.8.pdf
Normal file
Binary file not shown.
BIN
efi/docs/UEFI Spec 2.8.pdf
Normal file
BIN
efi/docs/UEFI Spec 2.8.pdf
Normal file
Binary file not shown.
|
@ -1,164 +0,0 @@
|
||||||
/*
|
|
||||||
* Copright (C) 2014 - 2015 Linaro Ltd.
|
|
||||||
* Author: Ard Biesheuvel <ard.biesheuvel@linaro.org>
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice and this list of conditions, without modification.
|
|
||||||
* 2. The name of the author may not be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* Alternatively, this software may be distributed under the terms of the
|
|
||||||
* GNU General Public License as published by the Free Software Foundation;
|
|
||||||
* either version 2 of the License, or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if !defined(_MSC_VER) && (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L ))
|
|
||||||
|
|
||||||
// ANSI C 1999/2000 stdint.h integer width declarations
|
|
||||||
|
|
||||||
typedef unsigned long long uint64_t;
|
|
||||||
typedef long long int64_t;
|
|
||||||
typedef unsigned int uint32_t;
|
|
||||||
typedef int int32_t;
|
|
||||||
typedef unsigned short uint16_t;
|
|
||||||
typedef short int16_t;
|
|
||||||
typedef unsigned char uint8_t;
|
|
||||||
typedef signed char int8_t; // unqualified 'char' is unsigned on ARM
|
|
||||||
|
|
||||||
#else
|
|
||||||
#include <stdint.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* This prevents GCC from emitting GOT based relocations, and use R_ARM_REL32
|
|
||||||
* relative relocations instead, which are more suitable for static binaries.
|
|
||||||
*/
|
|
||||||
#ifdef __GNUC__
|
|
||||||
#pragma GCC visibility push (hidden)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
|
||||||
// Basic EFI types of various widths
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef __WCHAR_TYPE__
|
|
||||||
# define __WCHAR_TYPE__ short
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef uint64_t UINT64;
|
|
||||||
typedef int64_t INT64;
|
|
||||||
|
|
||||||
typedef uint32_t UINT32;
|
|
||||||
typedef int32_t INT32;
|
|
||||||
|
|
||||||
typedef uint16_t UINT16;
|
|
||||||
typedef int16_t INT16;
|
|
||||||
typedef uint8_t UINT8;
|
|
||||||
typedef int8_t INT8;
|
|
||||||
typedef __WCHAR_TYPE__ WCHAR;
|
|
||||||
|
|
||||||
#undef VOID
|
|
||||||
#define VOID void
|
|
||||||
|
|
||||||
typedef int32_t INTN;
|
|
||||||
typedef uint32_t UINTN;
|
|
||||||
|
|
||||||
#define EFIERR(a) (0x80000000 | a)
|
|
||||||
#define EFI_ERROR_MASK 0x80000000
|
|
||||||
#define EFIERR_OEM(a) (0xc0000000 | a)
|
|
||||||
|
|
||||||
#define BAD_POINTER 0xFBFBFBFB
|
|
||||||
#define MAX_ADDRESS 0xFFFFFFFF
|
|
||||||
|
|
||||||
#define BREAKPOINT() while (TRUE);
|
|
||||||
|
|
||||||
//
|
|
||||||
// Pointers must be aligned to these address to function
|
|
||||||
//
|
|
||||||
|
|
||||||
#define MIN_ALIGNMENT_SIZE 4
|
|
||||||
|
|
||||||
#define ALIGN_VARIABLE(Value ,Adjustment) \
|
|
||||||
(UINTN)Adjustment = 0; \
|
|
||||||
if((UINTN)Value % MIN_ALIGNMENT_SIZE) \
|
|
||||||
(UINTN)Adjustment = MIN_ALIGNMENT_SIZE - ((UINTN)Value % MIN_ALIGNMENT_SIZE); \
|
|
||||||
Value = (UINTN)Value + (UINTN)Adjustment
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Define macros to build data structure signatures from characters.
|
|
||||||
//
|
|
||||||
|
|
||||||
#define EFI_SIGNATURE_16(A,B) ((A) | (B<<8))
|
|
||||||
#define EFI_SIGNATURE_32(A,B,C,D) (EFI_SIGNATURE_16(A,B) | (EFI_SIGNATURE_16(C,D) << 16))
|
|
||||||
#define EFI_SIGNATURE_64(A,B,C,D,E,F,G,H) (EFI_SIGNATURE_32(A,B,C,D) | ((UINT64)(EFI_SIGNATURE_32(E,F,G,H)) << 32))
|
|
||||||
|
|
||||||
//
|
|
||||||
// EFIAPI - prototype calling convention for EFI function pointers
|
|
||||||
// BOOTSERVICE - prototype for implementation of a boot service interface
|
|
||||||
// RUNTIMESERVICE - prototype for implementation of a runtime service interface
|
|
||||||
// RUNTIMEFUNCTION - prototype for implementation of a runtime function that is not a service
|
|
||||||
// RUNTIME_CODE - pragma macro for declaring runtime code
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef EFIAPI // Forces EFI calling conventions reguardless of compiler options
|
|
||||||
#define EFIAPI // Substitute expresion to force C calling convention
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define BOOTSERVICE
|
|
||||||
#define RUNTIMESERVICE
|
|
||||||
#define RUNTIMEFUNCTION
|
|
||||||
|
|
||||||
|
|
||||||
#define RUNTIME_CODE(a) alloc_text("rtcode", a)
|
|
||||||
#define BEGIN_RUNTIME_DATA() data_seg("rtdata")
|
|
||||||
#define END_RUNTIME_DATA() data_seg("")
|
|
||||||
|
|
||||||
#define VOLATILE volatile
|
|
||||||
|
|
||||||
#define MEMORY_FENCE __sync_synchronize
|
|
||||||
|
|
||||||
//
|
|
||||||
// When build similiar to FW, then link everything together as
|
|
||||||
// one big module. For the MSVC toolchain, we simply tell the
|
|
||||||
// linker what our driver init function is using /ENTRY.
|
|
||||||
//
|
|
||||||
#if defined(_MSC_EXTENSIONS)
|
|
||||||
#define EFI_DRIVER_ENTRY_POINT(InitFunction) \
|
|
||||||
__pragma(comment(linker, "/ENTRY:" # InitFunction))
|
|
||||||
#else
|
|
||||||
#define EFI_DRIVER_ENTRY_POINT(InitFunction) \
|
|
||||||
UINTN \
|
|
||||||
InitializeDriver ( \
|
|
||||||
VOID *ImageHandle, \
|
|
||||||
VOID *SystemTable \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
return InitFunction(ImageHandle, \
|
|
||||||
SystemTable); \
|
|
||||||
} \
|
|
||||||
\
|
|
||||||
EFI_STATUS efi_main( \
|
|
||||||
EFI_HANDLE image, \
|
|
||||||
EFI_SYSTEM_TABLE *systab \
|
|
||||||
) __attribute__((weak, \
|
|
||||||
alias ("InitializeDriver")));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define LOAD_INTERNAL_DRIVER(_if, type, name, entry) \
|
|
||||||
(_if)->LoadInternal(type, name, entry)
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Some compilers don't support the forward reference construct:
|
|
||||||
// typedef struct XXXXX
|
|
||||||
//
|
|
||||||
// The following macro provide a workaround for such cases.
|
|
||||||
|
|
||||||
#define INTERFACE_DECL(x) struct x
|
|
||||||
|
|
||||||
#define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
|
|
||||||
#define EFI_FUNCTION
|
|
|
@ -1,25 +0,0 @@
|
||||||
/*++
|
|
||||||
|
|
||||||
Copyright (c) 1998 Intel Corporation
|
|
||||||
|
|
||||||
Module Name:
|
|
||||||
|
|
||||||
efilibplat.h
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
EFI to compile bindings
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Revision History
|
|
||||||
|
|
||||||
--*/
|
|
||||||
|
|
||||||
VOID
|
|
||||||
InitializeLibPlatform (
|
|
||||||
IN EFI_HANDLE ImageHandle,
|
|
||||||
IN EFI_SYSTEM_TABLE *SystemTable
|
|
||||||
);
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
#ifndef GNU_EFI_ARM_SETJMP_H
|
|
||||||
#define GNU_EFI_ARM_SETJMP_H
|
|
||||||
|
|
||||||
#define JMPBUF_ALIGN 4
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
UINT32 R3; // A copy of R13
|
|
||||||
UINT32 R4;
|
|
||||||
UINT32 R5;
|
|
||||||
UINT32 R6;
|
|
||||||
UINT32 R7;
|
|
||||||
UINT32 R8;
|
|
||||||
UINT32 R9;
|
|
||||||
UINT32 R10;
|
|
||||||
UINT32 R11;
|
|
||||||
UINT32 R12;
|
|
||||||
UINT32 R13;
|
|
||||||
UINT32 R14;
|
|
||||||
} ALIGN(JMPBUF_ALIGN) jmp_buf;
|
|
||||||
|
|
||||||
#endif /* GNU_EFI_ARM_SETJMP_H */
|
|
|
@ -1,155 +0,0 @@
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Copyright (c) 2011, ARM. All rights reserved.<BR>
|
|
||||||
#
|
|
||||||
# This program and the accompanying materials
|
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
|
||||||
# which accompanies this distribution. The full text of the license may be found at
|
|
||||||
# http://opensource.org/licenses/bsd-license.php
|
|
||||||
#
|
|
||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "edk2asm.h"
|
|
||||||
|
|
||||||
.text
|
|
||||||
.align 2
|
|
||||||
GCC_ASM_EXPORT(__aeabi_uidiv)
|
|
||||||
GCC_ASM_EXPORT(__aeabi_uidivmod)
|
|
||||||
GCC_ASM_EXPORT(__aeabi_idiv)
|
|
||||||
GCC_ASM_EXPORT(__aeabi_idivmod)
|
|
||||||
|
|
||||||
# AREA Math, CODE, READONLY
|
|
||||||
|
|
||||||
#
|
|
||||||
#UINT32
|
|
||||||
#EFIAPI
|
|
||||||
#__aeabi_uidivmode (
|
|
||||||
# IN UINT32 Dividen
|
|
||||||
# IN UINT32 Divisor
|
|
||||||
# );
|
|
||||||
#
|
|
||||||
|
|
||||||
ASM_PFX(__aeabi_uidiv):
|
|
||||||
ASM_PFX(__aeabi_uidivmod):
|
|
||||||
rsbs r12, r1, r0, LSR #4
|
|
||||||
mov r2, #0
|
|
||||||
bcc ASM_PFX(__arm_div4)
|
|
||||||
rsbs r12, r1, r0, LSR #8
|
|
||||||
bcc ASM_PFX(__arm_div8)
|
|
||||||
mov r3, #0
|
|
||||||
b ASM_PFX(__arm_div_large)
|
|
||||||
|
|
||||||
#
|
|
||||||
#INT32
|
|
||||||
#EFIAPI
|
|
||||||
#__aeabi_idivmode (
|
|
||||||
# IN INT32 Dividen
|
|
||||||
# IN INT32 Divisor
|
|
||||||
# );
|
|
||||||
#
|
|
||||||
ASM_PFX(__aeabi_idiv):
|
|
||||||
ASM_PFX(__aeabi_idivmod):
|
|
||||||
orrs r12, r0, r1
|
|
||||||
bmi ASM_PFX(__arm_div_negative)
|
|
||||||
rsbs r12, r1, r0, LSR #1
|
|
||||||
mov r2, #0
|
|
||||||
bcc ASM_PFX(__arm_div1)
|
|
||||||
rsbs r12, r1, r0, LSR #4
|
|
||||||
bcc ASM_PFX(__arm_div4)
|
|
||||||
rsbs r12, r1, r0, LSR #8
|
|
||||||
bcc ASM_PFX(__arm_div8)
|
|
||||||
mov r3, #0
|
|
||||||
b ASM_PFX(__arm_div_large)
|
|
||||||
ASM_PFX(__arm_div8):
|
|
||||||
rsbs r12, r1, r0, LSR #7
|
|
||||||
subcs r0, r0, r1, LSL #7
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0,LSR #6
|
|
||||||
subcs r0, r0, r1, LSL #6
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #5
|
|
||||||
subcs r0, r0, r1, LSL #5
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #4
|
|
||||||
subcs r0, r0, r1, LSL #4
|
|
||||||
adc r2, r2, r2
|
|
||||||
ASM_PFX(__arm_div4):
|
|
||||||
rsbs r12, r1, r0, LSR #3
|
|
||||||
subcs r0, r0, r1, LSL #3
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #2
|
|
||||||
subcs r0, r0, r1, LSL #2
|
|
||||||
adcs r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #1
|
|
||||||
subcs r0, r0, r1, LSL #1
|
|
||||||
adc r2, r2, r2
|
|
||||||
ASM_PFX(__arm_div1):
|
|
||||||
subs r1, r0, r1
|
|
||||||
movcc r1, r0
|
|
||||||
adc r0, r2, r2
|
|
||||||
bx r14
|
|
||||||
ASM_PFX(__arm_div_negative):
|
|
||||||
ands r2, r1, #0x80000000
|
|
||||||
rsbmi r1, r1, #0
|
|
||||||
eors r3, r2, r0, ASR #32
|
|
||||||
rsbcs r0, r0, #0
|
|
||||||
rsbs r12, r1, r0, LSR #4
|
|
||||||
bcc label1
|
|
||||||
rsbs r12, r1, r0, LSR #8
|
|
||||||
bcc label2
|
|
||||||
ASM_PFX(__arm_div_large):
|
|
||||||
lsl r1, r1, #6
|
|
||||||
rsbs r12, r1, r0, LSR #8
|
|
||||||
orr r2, r2, #0xfc000000
|
|
||||||
bcc label2
|
|
||||||
lsl r1, r1, #6
|
|
||||||
rsbs r12, r1, r0, LSR #8
|
|
||||||
orr r2, r2, #0x3f00000
|
|
||||||
bcc label2
|
|
||||||
lsl r1, r1, #6
|
|
||||||
rsbs r12, r1, r0, LSR #8
|
|
||||||
orr r2, r2, #0xfc000
|
|
||||||
orrcs r2, r2, #0x3f00
|
|
||||||
lslcs r1, r1, #6
|
|
||||||
rsbs r12, r1, #0
|
|
||||||
bcs ASM_PFX(__aeabi_idiv0)
|
|
||||||
label3:
|
|
||||||
lsrcs r1, r1, #6
|
|
||||||
label2:
|
|
||||||
rsbs r12, r1, r0, LSR #7
|
|
||||||
subcs r0, r0, r1, LSL #7
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #6
|
|
||||||
subcs r0, r0, r1, LSL #6
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #5
|
|
||||||
subcs r0, r0, r1, LSL #5
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #4
|
|
||||||
subcs r0, r0, r1, LSL #4
|
|
||||||
adc r2, r2, r2
|
|
||||||
label1:
|
|
||||||
rsbs r12, r1, r0, LSR #3
|
|
||||||
subcs r0, r0, r1, LSL #3
|
|
||||||
adc r2, r2, r2
|
|
||||||
rsbs r12, r1, r0, LSR #2
|
|
||||||
subcs r0, r0, r1, LSL #2
|
|
||||||
adcs r2, r2, r2
|
|
||||||
bcs label3
|
|
||||||
rsbs r12, r1, r0, LSR #1
|
|
||||||
subcs r0, r0, r1, LSL #1
|
|
||||||
adc r2, r2, r2
|
|
||||||
subs r1, r0, r1
|
|
||||||
movcc r1, r0
|
|
||||||
adc r0, r2, r2
|
|
||||||
asrs r3, r3, #31
|
|
||||||
rsbmi r0, r0, #0
|
|
||||||
rsbcs r1, r1, #0
|
|
||||||
bx r14
|
|
||||||
|
|
||||||
@ What to do about division by zero? For now, just return.
|
|
||||||
ASM_PFX(__aeabi_idiv0):
|
|
||||||
bx r14
|
|
|
@ -1,6 +0,0 @@
|
||||||
|
|
||||||
#define ASM_PFX(x) x
|
|
||||||
#define GCC_ASM_EXPORT(x) \
|
|
||||||
.globl x ; \
|
|
||||||
.type x, %function
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
/* This stub is a stub to make the build happy */
|
|
|
@ -1,34 +0,0 @@
|
||||||
/*
|
|
||||||
* Copright (C) 2014 Linaro Ltd.
|
|
||||||
* Author: Ard Biesheuvel <ard.biesheuvel@linaro.org>
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice and this list of conditions, without modification.
|
|
||||||
* 2. The name of the author may not be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* Alternatively, this software may be distributed under the terms of the
|
|
||||||
* GNU General Public License as published by the Free Software Foundation;
|
|
||||||
* either version 2 of the License, or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "lib.h"
|
|
||||||
|
|
||||||
VOID
|
|
||||||
InitializeLibPlatform (
|
|
||||||
IN EFI_HANDLE ImageHandle EFI_UNUSED,
|
|
||||||
IN EFI_SYSTEM_TABLE *SystemTable EFI_UNUSED
|
|
||||||
)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
void __div0(void)
|
|
||||||
{
|
|
||||||
// TODO handle divide by zero fault
|
|
||||||
while (1);
|
|
||||||
}
|
|
||||||
#endif
|
|
|
@ -1,61 +0,0 @@
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
|
||||||
//
|
|
||||||
// This program and the accompanying materials
|
|
||||||
// are licensed and made available under the terms and conditions of the BSD License
|
|
||||||
// which accompanies this distribution. The full text of the license may be found at
|
|
||||||
// http://opensource.org/licenses/bsd-license.php
|
|
||||||
//
|
|
||||||
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
//
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
#include "edk2asm.h"
|
|
||||||
|
|
||||||
.text
|
|
||||||
.align 2
|
|
||||||
GCC_ASM_EXPORT(__aeabi_ldivmod)
|
|
||||||
|
|
||||||
//
|
|
||||||
// A pair of (unsigned) long longs is returned in {{r0, r1}, {r2, r3}},
|
|
||||||
// the quotient in {r0, r1}, and the remainder in {r2, r3}.
|
|
||||||
//
|
|
||||||
//__value_in_regs lldiv_t
|
|
||||||
//EFIAPI
|
|
||||||
//__aeabi_ldivmod (
|
|
||||||
// IN UINT64 Dividen
|
|
||||||
// IN UINT64 Divisor
|
|
||||||
// )//
|
|
||||||
//
|
|
||||||
|
|
||||||
ASM_PFX(__aeabi_ldivmod):
|
|
||||||
push {r4,lr}
|
|
||||||
asrs r4,r1,#1
|
|
||||||
eor r4,r4,r3,LSR #1
|
|
||||||
bpl L_Test1
|
|
||||||
rsbs r0,r0,#0
|
|
||||||
rsc r1,r1,#0
|
|
||||||
L_Test1:
|
|
||||||
tst r3,r3
|
|
||||||
bpl L_Test2
|
|
||||||
rsbs r2,r2,#0
|
|
||||||
rsc r3,r3,#0
|
|
||||||
L_Test2:
|
|
||||||
bl ASM_PFX(__aeabi_uldivmod)
|
|
||||||
tst r4,#0x40000000
|
|
||||||
beq L_Test3
|
|
||||||
rsbs r0,r0,#0
|
|
||||||
rsc r1,r1,#0
|
|
||||||
L_Test3:
|
|
||||||
tst r4,#0x80000000
|
|
||||||
beq L_Exit
|
|
||||||
rsbs r2,r2,#0
|
|
||||||
rsc r3,r3,#0
|
|
||||||
L_Exit:
|
|
||||||
pop {r4,pc}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Copyright (c) 2013, ARM. All rights reserved.<BR>
|
|
||||||
#
|
|
||||||
# This program and the accompanying materials
|
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
|
||||||
# which accompanies this distribution. The full text of the license may be found at
|
|
||||||
# http://opensource.org/licenses/bsd-license.php
|
|
||||||
#
|
|
||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "edk2asm.h"
|
|
||||||
|
|
||||||
.text
|
|
||||||
.align 2
|
|
||||||
GCC_ASM_EXPORT(__aeabi_llsl)
|
|
||||||
|
|
||||||
#
|
|
||||||
#VOID
|
|
||||||
#EFIAPI
|
|
||||||
#__aeabi_llsl (
|
|
||||||
# IN VOID *Destination,
|
|
||||||
# IN VOID *Source,
|
|
||||||
# IN UINT32 Size
|
|
||||||
# );
|
|
||||||
#
|
|
||||||
ASM_PFX(__aeabi_llsl):
|
|
||||||
subs r3,r2,#0x20
|
|
||||||
bpl 1f
|
|
||||||
rsb r3,r2,#0x20
|
|
||||||
lsl r1,r1,r2
|
|
||||||
orr r1,r1,r0,lsr r3
|
|
||||||
lsl r0,r0,r2
|
|
||||||
bx lr
|
|
||||||
1:
|
|
||||||
lsl r1,r0,r3
|
|
||||||
mov r0,#0
|
|
||||||
bx lr
|
|
|
@ -1,41 +0,0 @@
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Copyright (c) 2013, ARM. All rights reserved.<BR>
|
|
||||||
#
|
|
||||||
# This program and the accompanying materials
|
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
|
||||||
# which accompanies this distribution. The full text of the license may be found at
|
|
||||||
# http://opensource.org/licenses/bsd-license.php
|
|
||||||
#
|
|
||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "edk2asm.h"
|
|
||||||
|
|
||||||
.text
|
|
||||||
.align 2
|
|
||||||
GCC_ASM_EXPORT(__aeabi_llsr)
|
|
||||||
|
|
||||||
#
|
|
||||||
#VOID
|
|
||||||
#EFIAPI
|
|
||||||
#__aeabi_llsr (
|
|
||||||
# IN VOID *Destination,
|
|
||||||
# IN VOID *Source,
|
|
||||||
# IN UINT32 Size
|
|
||||||
# );
|
|
||||||
#
|
|
||||||
ASM_PFX(__aeabi_llsr):
|
|
||||||
subs r3,r2,#0x20
|
|
||||||
bpl 1f
|
|
||||||
rsb r3,r2,#0x20
|
|
||||||
lsr r0,r0,r2
|
|
||||||
orr r0,r0,r1,lsl r3
|
|
||||||
lsr r1,r1,r2
|
|
||||||
bx lr
|
|
||||||
1:
|
|
||||||
lsr r0,r1,r3
|
|
||||||
mov r1,#0
|
|
||||||
bx lr
|
|
|
@ -1,67 +0,0 @@
|
||||||
/*
|
|
||||||
* Copright (C) 2014 Linaro Ltd.
|
|
||||||
* Author: Ard Biesheuvel <ard.biesheuvel@linaro.org>
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice and this list of conditions, without modification.
|
|
||||||
* 2. The name of the author may not be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* Alternatively, this software may be distributed under the terms of the
|
|
||||||
* GNU General Public License as published by the Free Software Foundation;
|
|
||||||
* either version 2 of the License, or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "lib.h"
|
|
||||||
|
|
||||||
UINT64
|
|
||||||
LShiftU64 (
|
|
||||||
IN UINT64 Operand,
|
|
||||||
IN UINTN Count
|
|
||||||
)
|
|
||||||
// Left shift 64bit by 32bit and get a 64bit result
|
|
||||||
{
|
|
||||||
return Operand << Count;
|
|
||||||
}
|
|
||||||
|
|
||||||
UINT64
|
|
||||||
RShiftU64 (
|
|
||||||
IN UINT64 Operand,
|
|
||||||
IN UINTN Count
|
|
||||||
)
|
|
||||||
// Right shift 64bit by 32bit and get a 64bit result
|
|
||||||
{
|
|
||||||
return Operand >> Count;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
UINT64
|
|
||||||
MultU64x32 (
|
|
||||||
IN UINT64 Multiplicand,
|
|
||||||
IN UINTN Multiplier
|
|
||||||
)
|
|
||||||
// Multiply 64bit by 32bit and get a 64bit result
|
|
||||||
{
|
|
||||||
return Multiplicand * Multiplier;
|
|
||||||
}
|
|
||||||
|
|
||||||
UINT64
|
|
||||||
DivU64x32 (
|
|
||||||
IN UINT64 Dividend,
|
|
||||||
IN UINTN Divisor,
|
|
||||||
OUT UINTN *Remainder OPTIONAL
|
|
||||||
)
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* GCC turns a division into a multiplication and shift with precalculated
|
|
||||||
* constants if the divisor is constant and the dividend fits into a 32 bit
|
|
||||||
* variable. Otherwise, it will turn this into calls into the 32-bit div
|
|
||||||
* library functions.
|
|
||||||
*/
|
|
||||||
if (Remainder)
|
|
||||||
*Remainder = Dividend % Divisor;
|
|
||||||
return Dividend / Divisor;
|
|
||||||
}
|
|
|
@ -1,33 +0,0 @@
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
|
||||||
#
|
|
||||||
# This program and the accompanying materials
|
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
|
||||||
# which accompanies this distribution. The full text of the license may be found at
|
|
||||||
# http://opensource.org/licenses/bsd-license.php
|
|
||||||
#
|
|
||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "edk2asm.h"
|
|
||||||
|
|
||||||
.text
|
|
||||||
GCC_ASM_EXPORT(__aeabi_lmul)
|
|
||||||
#
|
|
||||||
#INT64
|
|
||||||
#EFIAPI
|
|
||||||
#__aeabi_lmul (
|
|
||||||
# IN INT64 Multiplicand
|
|
||||||
# IN INT64 Multiplier
|
|
||||||
# );
|
|
||||||
#
|
|
||||||
ASM_PFX(__aeabi_lmul):
|
|
||||||
stmdb sp!, {lr}
|
|
||||||
mov lr, r0
|
|
||||||
umull r0, ip, r2, lr
|
|
||||||
mla r1, r2, r1, ip
|
|
||||||
mla r1, r3, lr, r1
|
|
||||||
ldmia sp!, {pc}
|
|
|
@ -1,25 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
|
|
||||||
* This program and the accompanying materials are licensed and made
|
|
||||||
* available under the terms and conditions of the BSD License which
|
|
||||||
* accompanies this distribution. The full text of the license may
|
|
||||||
* be found at http://opensource.org/licenses/bsd-license.php.
|
|
||||||
*
|
|
||||||
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS"
|
|
||||||
* BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER
|
|
||||||
* EXPRESS OR IMPLIED.
|
|
||||||
*/
|
|
||||||
.text
|
|
||||||
.arm
|
|
||||||
.globl setjmp
|
|
||||||
.type setjmp, %function
|
|
||||||
setjmp:
|
|
||||||
mov r3, r13
|
|
||||||
stmia r0, {r3-r12,r14}
|
|
||||||
eor r0, r0, r0
|
|
||||||
bx lr
|
|
||||||
|
|
||||||
.globl longjmp
|
|
||||||
.type longjmp, %function
|
|
||||||
longjmp:
|
|
||||||
ldmia r0, {r3-r12,r14}
|
|
|
@ -1,267 +0,0 @@
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
//
|
|
||||||
// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
|
||||||
//
|
|
||||||
// This program and the accompanying materials
|
|
||||||
// are licensed and made available under the terms and conditions of the BSD License
|
|
||||||
// which accompanies this distribution. The full text of the license may be found at
|
|
||||||
// http://opensource.org/licenses/bsd-license.php
|
|
||||||
//
|
|
||||||
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
||||||
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
||||||
//
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#include "edk2asm.h"
|
|
||||||
|
|
||||||
.text
|
|
||||||
.align 2
|
|
||||||
GCC_ASM_EXPORT(__aeabi_uldivmod)
|
|
||||||
|
|
||||||
//
|
|
||||||
//UINT64
|
|
||||||
//EFIAPI
|
|
||||||
//__aeabi_uldivmod (
|
|
||||||
// IN UINT64 Dividend
|
|
||||||
// IN UINT64 Divisor
|
|
||||||
// )
|
|
||||||
//
|
|
||||||
ASM_PFX(__aeabi_uldivmod):
|
|
||||||
stmdb sp!, {r4, r5, r6, lr}
|
|
||||||
mov r4, r1
|
|
||||||
mov r5, r0
|
|
||||||
mov r6, #0 // 0x0
|
|
||||||
orrs ip, r3, r2, lsr #31
|
|
||||||
bne ASM_PFX(__aeabi_uldivmod_label1)
|
|
||||||
tst r2, r2
|
|
||||||
beq ASM_PFX(_ll_div0)
|
|
||||||
movs ip, r2, lsr #15
|
|
||||||
addeq r6, r6, #16 // 0x10
|
|
||||||
mov ip, r2, lsl r6
|
|
||||||
movs lr, ip, lsr #23
|
|
||||||
moveq ip, ip, lsl #8
|
|
||||||
addeq r6, r6, #8 // 0x8
|
|
||||||
movs lr, ip, lsr #27
|
|
||||||
moveq ip, ip, lsl #4
|
|
||||||
addeq r6, r6, #4 // 0x4
|
|
||||||
movs lr, ip, lsr #29
|
|
||||||
moveq ip, ip, lsl #2
|
|
||||||
addeq r6, r6, #2 // 0x2
|
|
||||||
movs lr, ip, lsr #30
|
|
||||||
moveq ip, ip, lsl #1
|
|
||||||
addeq r6, r6, #1 // 0x1
|
|
||||||
b ASM_PFX(_ll_udiv_small)
|
|
||||||
ASM_PFX(__aeabi_uldivmod_label1):
|
|
||||||
tst r3, #-2147483648 // 0x80000000
|
|
||||||
bne ASM_PFX(__aeabi_uldivmod_label2)
|
|
||||||
movs ip, r3, lsr #15
|
|
||||||
addeq r6, r6, #16 // 0x10
|
|
||||||
mov ip, r3, lsl r6
|
|
||||||
movs lr, ip, lsr #23
|
|
||||||
moveq ip, ip, lsl #8
|
|
||||||
addeq r6, r6, #8 // 0x8
|
|
||||||
movs lr, ip, lsr #27
|
|
||||||
moveq ip, ip, lsl #4
|
|
||||||
addeq r6, r6, #4 // 0x4
|
|
||||||
movs lr, ip, lsr #29
|
|
||||||
moveq ip, ip, lsl #2
|
|
||||||
addeq r6, r6, #2 // 0x2
|
|
||||||
movs lr, ip, lsr #30
|
|
||||||
addeq r6, r6, #1 // 0x1
|
|
||||||
rsb r3, r6, #32 // 0x20
|
|
||||||
moveq ip, ip, lsl #1
|
|
||||||
orr ip, ip, r2, lsr r3
|
|
||||||
mov lr, r2, lsl r6
|
|
||||||
b ASM_PFX(_ll_udiv_big)
|
|
||||||
ASM_PFX(__aeabi_uldivmod_label2):
|
|
||||||
mov ip, r3
|
|
||||||
mov lr, r2
|
|
||||||
b ASM_PFX(_ll_udiv_ginormous)
|
|
||||||
|
|
||||||
ASM_PFX(_ll_udiv_small):
|
|
||||||
cmp r4, ip, lsl #1
|
|
||||||
mov r3, #0 // 0x0
|
|
||||||
subcs r4, r4, ip, lsl #1
|
|
||||||
addcs r3, r3, #2 // 0x2
|
|
||||||
cmp r4, ip
|
|
||||||
subcs r4, r4, ip
|
|
||||||
adcs r3, r3, #0 // 0x0
|
|
||||||
add r2, r6, #32 // 0x20
|
|
||||||
cmp r2, #32 // 0x20
|
|
||||||
rsb ip, ip, #0 // 0x0
|
|
||||||
bcc ASM_PFX(_ll_udiv_small_label1)
|
|
||||||
orrs r0, r4, r5, lsr #30
|
|
||||||
moveq r4, r5
|
|
||||||
moveq r5, #0 // 0x0
|
|
||||||
subeq r2, r2, #32 // 0x20
|
|
||||||
ASM_PFX(_ll_udiv_small_label1):
|
|
||||||
mov r1, #0 // 0x0
|
|
||||||
cmp r2, #16 // 0x10
|
|
||||||
bcc ASM_PFX(_ll_udiv_small_label2)
|
|
||||||
movs r0, r4, lsr #14
|
|
||||||
moveq r4, r4, lsl #16
|
|
||||||
addeq r1, r1, #16 // 0x10
|
|
||||||
ASM_PFX(_ll_udiv_small_label2):
|
|
||||||
sub lr, r2, r1
|
|
||||||
cmp lr, #8 // 0x8
|
|
||||||
bcc ASM_PFX(_ll_udiv_small_label3)
|
|
||||||
movs r0, r4, lsr #22
|
|
||||||
moveq r4, r4, lsl #8
|
|
||||||
addeq r1, r1, #8 // 0x8
|
|
||||||
ASM_PFX(_ll_udiv_small_label3):
|
|
||||||
rsb r0, r1, #32 // 0x20
|
|
||||||
sub r2, r2, r1
|
|
||||||
orr r4, r4, r5, lsr r0
|
|
||||||
mov r5, r5, lsl r1
|
|
||||||
cmp r2, #1 // 0x1
|
|
||||||
bcc ASM_PFX(_ll_udiv_small_label5)
|
|
||||||
sub r2, r2, #1 // 0x1
|
|
||||||
and r0, r2, #7 // 0x7
|
|
||||||
eor r0, r0, #7 // 0x7
|
|
||||||
adds r0, r0, r0, lsl #1
|
|
||||||
add pc, pc, r0, lsl #2
|
|
||||||
nop // (mov r0,r0)
|
|
||||||
ASM_PFX(_ll_udiv_small_label4):
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, ip, r4, lsl #1
|
|
||||||
sub r2, r2, #8 // 0x8
|
|
||||||
tst r2, r2
|
|
||||||
rsbcc r4, ip, r4
|
|
||||||
bpl ASM_PFX(_ll_udiv_small_label4)
|
|
||||||
ASM_PFX(_ll_udiv_small_label5):
|
|
||||||
mov r2, r4, lsr r6
|
|
||||||
bic r4, r4, r2, lsl r6
|
|
||||||
adcs r0, r5, r5
|
|
||||||
adc r1, r4, r4
|
|
||||||
add r1, r1, r3, lsl r6
|
|
||||||
mov r3, #0 // 0x0
|
|
||||||
ldmia sp!, {r4, r5, r6, pc}
|
|
||||||
|
|
||||||
ASM_PFX(_ll_udiv_big):
|
|
||||||
subs r0, r5, lr
|
|
||||||
mov r3, #0 // 0x0
|
|
||||||
sbcs r1, r4, ip
|
|
||||||
movcs r5, r0
|
|
||||||
movcs r4, r1
|
|
||||||
adcs r3, r3, #0 // 0x0
|
|
||||||
subs r0, r5, lr
|
|
||||||
sbcs r1, r4, ip
|
|
||||||
movcs r5, r0
|
|
||||||
movcs r4, r1
|
|
||||||
adcs r3, r3, #0 // 0x0
|
|
||||||
subs r0, r5, lr
|
|
||||||
sbcs r1, r4, ip
|
|
||||||
movcs r5, r0
|
|
||||||
movcs r4, r1
|
|
||||||
adcs r3, r3, #0 // 0x0
|
|
||||||
mov r1, #0 // 0x0
|
|
||||||
rsbs lr, lr, #0 // 0x0
|
|
||||||
rsc ip, ip, #0 // 0x0
|
|
||||||
cmp r6, #16 // 0x10
|
|
||||||
bcc ASM_PFX(_ll_udiv_big_label1)
|
|
||||||
movs r0, r4, lsr #14
|
|
||||||
moveq r4, r4, lsl #16
|
|
||||||
addeq r1, r1, #16 // 0x10
|
|
||||||
ASM_PFX(_ll_udiv_big_label1):
|
|
||||||
sub r2, r6, r1
|
|
||||||
cmp r2, #8 // 0x8
|
|
||||||
bcc ASM_PFX(_ll_udiv_big_label2)
|
|
||||||
movs r0, r4, lsr #22
|
|
||||||
moveq r4, r4, lsl #8
|
|
||||||
addeq r1, r1, #8 // 0x8
|
|
||||||
ASM_PFX(_ll_udiv_big_label2):
|
|
||||||
rsb r0, r1, #32 // 0x20
|
|
||||||
sub r2, r6, r1
|
|
||||||
orr r4, r4, r5, lsr r0
|
|
||||||
mov r5, r5, lsl r1
|
|
||||||
cmp r2, #1 // 0x1
|
|
||||||
bcc ASM_PFX(_ll_udiv_big_label4)
|
|
||||||
sub r2, r2, #1 // 0x1
|
|
||||||
and r0, r2, #3 // 0x3
|
|
||||||
rsb r0, r0, #3 // 0x3
|
|
||||||
adds r0, r0, r0, lsl #1
|
|
||||||
add pc, pc, r0, lsl #3
|
|
||||||
nop // (mov r0,r0)
|
|
||||||
ASM_PFX(_ll_udiv_big_label3):
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, r4, r4
|
|
||||||
adcs r0, lr, r5
|
|
||||||
adcs r1, ip, r4
|
|
||||||
movcs r5, r0
|
|
||||||
movcs r4, r1
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, r4, r4
|
|
||||||
adcs r0, lr, r5
|
|
||||||
adcs r1, ip, r4
|
|
||||||
movcs r5, r0
|
|
||||||
movcs r4, r1
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, r4, r4
|
|
||||||
adcs r0, lr, r5
|
|
||||||
adcs r1, ip, r4
|
|
||||||
movcs r5, r0
|
|
||||||
movcs r4, r1
|
|
||||||
sub r2, r2, #4 // 0x4
|
|
||||||
adcs r5, r5, r5
|
|
||||||
adcs r4, r4, r4
|
|
||||||
adcs r0, lr, r5
|
|
||||||
adcs r1, ip, r4
|
|
||||||
tst r2, r2
|
|
||||||
movcs r5, r0
|
|
||||||
movcs r4, r1
|
|
||||||
bpl ASM_PFX(_ll_udiv_big_label3)
|
|
||||||
ASM_PFX(_ll_udiv_big_label4):
|
|
||||||
mov r1, #0 // 0x0
|
|
||||||
mov r2, r5, lsr r6
|
|
||||||
bic r5, r5, r2, lsl r6
|
|
||||||
adcs r0, r5, r5
|
|
||||||
adc r1, r1, #0 // 0x0
|
|
||||||
movs lr, r3, lsl r6
|
|
||||||
mov r3, r4, lsr r6
|
|
||||||
bic r4, r4, r3, lsl r6
|
|
||||||
adc r1, r1, #0 // 0x0
|
|
||||||
adds r0, r0, lr
|
|
||||||
orr r2, r2, r4, ror r6
|
|
||||||
adc r1, r1, #0 // 0x0
|
|
||||||
ldmia sp!, {r4, r5, r6, pc}
|
|
||||||
|
|
||||||
ASM_PFX(_ll_udiv_ginormous):
|
|
||||||
subs r2, r5, lr
|
|
||||||
mov r1, #0 // 0x0
|
|
||||||
sbcs r3, r4, ip
|
|
||||||
adc r0, r1, r1
|
|
||||||
movcc r2, r5
|
|
||||||
movcc r3, r4
|
|
||||||
ldmia sp!, {r4, r5, r6, pc}
|
|
||||||
|
|
||||||
ASM_PFX(_ll_div0):
|
|
||||||
ldmia sp!, {r4, r5, r6, lr}
|
|
||||||
mov r0, #0 // 0x0
|
|
||||||
mov r1, #0 // 0x0
|
|
||||||
b ASM_PFX(__aeabi_ldiv0)
|
|
||||||
|
|
||||||
ASM_PFX(__aeabi_ldiv0):
|
|
||||||
bx r14
|
|
||||||
|
|
||||||
|
|
2
makefile
2
makefile
|
@ -144,7 +144,7 @@ else
|
||||||
@rm -f $*.elf
|
@rm -f $*.elf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.o: src/%.c
|
%.o: %.c
|
||||||
@echo [CC] $(notdir $@)
|
@echo [CC] $(notdir $@)
|
||||||
@$(CC) $(CFLAGS) -ffreestanding -c $<
|
@$(CC) $(CFLAGS) -ffreestanding -c $<
|
||||||
|
|
||||||
|
|
BIN
x64/Debug/gnu-efi.lib
Normal file
BIN
x64/Debug/gnu-efi.lib
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi.pdb
Normal file
BIN
x64/Debug/gnu-efi.pdb
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/boxdraw.obj
Normal file
BIN
x64/Debug/gnu-efi/boxdraw.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/cmdline.obj
Normal file
BIN
x64/Debug/gnu-efi/cmdline.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/console.obj
Normal file
BIN
x64/Debug/gnu-efi/console.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/crc.obj
Normal file
BIN
x64/Debug/gnu-efi/crc.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/data.obj
Normal file
BIN
x64/Debug/gnu-efi/data.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/debug.obj
Normal file
BIN
x64/Debug/gnu-efi/debug.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/dpath.obj
Normal file
BIN
x64/Debug/gnu-efi/dpath.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/efirtlib.obj
Normal file
BIN
x64/Debug/gnu-efi/efirtlib.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/error.obj
Normal file
BIN
x64/Debug/gnu-efi/error.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/event.obj
Normal file
BIN
x64/Debug/gnu-efi/event.obj
Normal file
Binary file not shown.
31
x64/Debug/gnu-efi/gnu-efi.log
Normal file
31
x64/Debug/gnu-efi/gnu-efi.log
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
boxdraw.c
|
||||||
|
cmdline.c
|
||||||
|
console.c
|
||||||
|
crc.c
|
||||||
|
data.c
|
||||||
|
debug.c
|
||||||
|
dpath.c
|
||||||
|
error.c
|
||||||
|
event.c
|
||||||
|
guid.c
|
||||||
|
hand.c
|
||||||
|
hw.c
|
||||||
|
init.c
|
||||||
|
lock.c
|
||||||
|
misc.c
|
||||||
|
print.c
|
||||||
|
efirtlib.c
|
||||||
|
rtdata.c
|
||||||
|
rtlock.c
|
||||||
|
rtstr.c
|
||||||
|
Generating Code...
|
||||||
|
Compiling...
|
||||||
|
vm.c
|
||||||
|
smbios.c
|
||||||
|
sread.c
|
||||||
|
str.c
|
||||||
|
Generating Code...
|
||||||
|
initplat.c
|
||||||
|
math.c
|
||||||
|
Generating Code...
|
||||||
|
gnu-efi.vcxproj -> C:\Users\Gem\Documents\red\x64\Debug\gnu-efi.lib
|
BIN
x64/Debug/gnu-efi/gnu-efi.pdb
Normal file
BIN
x64/Debug/gnu-efi/gnu-efi.pdb
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/CL.command.1.tlog
Normal file
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/CL.command.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/CL.read.1.tlog
Normal file
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/CL.write.1.tlog
Normal file
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/CL.write.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/Lib-link.read.1.tlog
Normal file
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/Lib-link.read.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/Lib-link.write.1.tlog
Normal file
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/Lib-link.write.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/Lib.command.1.tlog
Normal file
BIN
x64/Debug/gnu-efi/gnu-efi.tlog/Lib.command.1.tlog
Normal file
Binary file not shown.
2
x64/Debug/gnu-efi/gnu-efi.tlog/gnu-efi.lastbuildstate
Normal file
2
x64/Debug/gnu-efi/gnu-efi.tlog/gnu-efi.lastbuildstate
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native64Bit:WindowsTargetPlatformVersion=10.0.17763.0
|
||||||
|
Debug|x64|C:\Users\Gem\Documents\red\|
|
BIN
x64/Debug/gnu-efi/guid.obj
Normal file
BIN
x64/Debug/gnu-efi/guid.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/hand.obj
Normal file
BIN
x64/Debug/gnu-efi/hand.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/hw.obj
Normal file
BIN
x64/Debug/gnu-efi/hw.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/init.obj
Normal file
BIN
x64/Debug/gnu-efi/init.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/initplat.obj
Normal file
BIN
x64/Debug/gnu-efi/initplat.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/lock.obj
Normal file
BIN
x64/Debug/gnu-efi/lock.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/math.obj
Normal file
BIN
x64/Debug/gnu-efi/math.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/misc.obj
Normal file
BIN
x64/Debug/gnu-efi/misc.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/print.obj
Normal file
BIN
x64/Debug/gnu-efi/print.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/rtdata.obj
Normal file
BIN
x64/Debug/gnu-efi/rtdata.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/rtlock.obj
Normal file
BIN
x64/Debug/gnu-efi/rtlock.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/rtstr.obj
Normal file
BIN
x64/Debug/gnu-efi/rtstr.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/smbios.obj
Normal file
BIN
x64/Debug/gnu-efi/smbios.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/sread.obj
Normal file
BIN
x64/Debug/gnu-efi/sread.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/str.obj
Normal file
BIN
x64/Debug/gnu-efi/str.obj
Normal file
Binary file not shown.
BIN
x64/Debug/gnu-efi/vm.obj
Normal file
BIN
x64/Debug/gnu-efi/vm.obj
Normal file
Binary file not shown.
BIN
x64/Debug/uefi-simple.pdb
Normal file
BIN
x64/Debug/uefi-simple.pdb
Normal file
Binary file not shown.
BIN
x64/Debug/uefi-simple/main.obj
Normal file
BIN
x64/Debug/uefi-simple/main.obj
Normal file
Binary file not shown.
14
x64/Debug/uefi-simple/uefi-simple.log
Normal file
14
x64/Debug/uefi-simple/uefi-simple.log
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
bootloader.c
|
||||||
|
c:\users\gem\documents\red\src\bootloader.c(221): warning C4022: 'Compare': pointer mismatch for actual parameter 2
|
||||||
|
c:\users\gem\documents\red\src\bootloader.c(226): warning C4022: 'Compare': pointer mismatch for actual parameter 2
|
||||||
|
c:\users\gem\documents\red\src\bootloader.c(373): warning C4133: 'function': incompatible types - from 'char [43]' to 'CHAR16 *'
|
||||||
|
c:\users\gem\documents\red\src\bootloader.c(641): warning C4013: 'FindFreeAddress_ByPage' undefined; assuming extern returning int
|
||||||
|
gfx.c
|
||||||
|
c:\users\gem\documents\red\src\gfx.c(642): warning C4047: 'function': 'BOOLEAN' differs in levels of indirection from 'void *'
|
||||||
|
c:\users\gem\documents\red\src\gfx.c(642): warning C4024: 'function through pointer': different types for formal and actual parameter 2
|
||||||
|
c:\users\gem\documents\red\src\gfx.c(645): warning C4047: 'function': 'BOOLEAN' differs in levels of indirection from 'void *'
|
||||||
|
c:\users\gem\documents\red\src\gfx.c(645): warning C4024: 'function through pointer': different types for formal and actual parameter 2
|
||||||
|
c:\users\gem\documents\red\src\gfx.c(45): warning C4101: 'GfxInfoSize': unreferenced local variable
|
||||||
|
Generating Code...
|
||||||
|
c:\users\gem\documents\red\src\bootloader.c(1445): warning C4700: uninitialized local variable 'LoaderBlock' used
|
||||||
|
uefi-simple.vcxproj -> C:\Users\Gem\Documents\red\x64\Debug\uefi-simple.efi
|
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/CL.command.1.tlog
Normal file
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/CL.command.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/CL.read.1.tlog
Normal file
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/CL.write.1.tlog
Normal file
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/CL.write.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/link.command.1.tlog
Normal file
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/link.command.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/link.read.1.tlog
Normal file
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/link.read.1.tlog
Normal file
Binary file not shown.
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/link.write.1.tlog
Normal file
BIN
x64/Debug/uefi-simple/uefi-simple.tlog/link.write.1.tlog
Normal file
Binary file not shown.
|
@ -0,0 +1,2 @@
|
||||||
|
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native64Bit:WindowsTargetPlatformVersion=10.0.17763.0
|
||||||
|
Debug|x64|C:\Users\Gem\Documents\red\|
|
BIN
x64/Debug/uefi-simple/vc141.pdb
Normal file
BIN
x64/Debug/uefi-simple/vc141.pdb
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user