Skip to content

Commit

Permalink
Rename GVM to AEHD.
Browse files Browse the repository at this point in the history
AEHD stands for Android Emulator Hypervisor Driver.
  • Loading branch information
Taogle2018 committed Feb 11, 2023
1 parent f6b4923 commit f55daa7
Show file tree
Hide file tree
Showing 49 changed files with 1,328 additions and 1,318 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__asm.inc
gvm/.vs/*
gvm/DriverTest/*
aehd/.vs/*
aehd/DriverTest/*
**/x64/*
cscope*
Release
gvm/gvm.vcxproj.user
aehd/aehd.vcxproj.user
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Android Emulator Hypervisor Driver
# Android Emulator hypervisor driver

Android Emulator Hypervisor Driver is a hypervisor to accelerate
Android Emulator hypervisor driver is a hypervisor to accelerate
[Android Emulator][android-studio]. It is made by porting KVM to Windows
(Windows 7 or later, 64bit).

Android Emulator Hypervisor Driver runs as a Windows driver. User space
support for Android Emulator Hypervisor Driver is available from Android
Android Emulator hypervisor driver runs as a Windows driver. User space
support for Android Emulator hypervisor driver is available from Android
Emulator.

## Notice of the repository name change
Android Emulator Hypervisor Driver for AMD Processors has been renamed to
Android Emulator Hypervisor Driver to reflect the fact that it supports both
Android Emulator hypervisor driver for AMD Processors has been renamed to
Android Emulator hypervisor driver to reflect the fact that it supports both
Intel and AMD Processors. In fact, it supports Intel from version 1.0. The
old name was chosen because Intel users were expected to continue using Intel
HAXM.

## Download and Install
Android Emulator Hypervisor Driver is released through [android-studio].
Android Emulator hypervisor driver is released through [android-studio].
However, only Android Studio with version 4.0 canary 5 or above can both
download and install/update the driver. Otherwise, the Android
Studio will only download the driver package without performing installation.
Expand Down
10 changes: 5 additions & 5 deletions __asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

#pragma once
// assembly function declaration
#include <gvm_types.h>
#include <aehd_types.h>

extern u16 gvm_read_ldt(void);
extern void gvm_load_ldt(u16 sel);
extern u16 aehd_read_ldt(void);
extern void aehd_load_ldt(u16 sel);
extern void load_TR_desc(void);
extern u16 gvm_read_tr(void);
extern void gvm_load_tr(u16 sel);
extern u16 aehd_read_tr(void);
extern void aehd_load_tr(u16 sel);

#pragma warning(disable : 4210)
#define savesegment(seg, value) \
Expand Down
14 changes: 7 additions & 7 deletions gvm.rc → aehd.rc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* GNU General Public License for more details.
*/

#include <gvm_ver.h>
#include <aehd_ver.h>
#include <windows.h>

#define VER_DEBUG 2
Expand All @@ -24,18 +24,18 @@
#define VER_FILESUBTYPE VFT2_DRV_SYSTEM

#define VER_COMPANYNAME_STR "Google LLC"
#define VER_PRODUCTNAME_STR "Android Emulator Hypervisor Driver"
#define VER_PRODUCTNAME_STR "Android Emulator hypervisor driver"
#define VER_LEGALCOPYRIGHT_YEARS "2019"
#define VER_LEGALCOPYRIGHT_STR "Copyright (c) " VER_LEGALCOPYRIGHT_YEARS " " VER_COMPANYNAME_STR
#define VER_LEGALTRADEMARKS_STR VER_LEGALCOPYRIGHT_STR

#define VER_PRODUCTVERSION GVM_RC_VERSION
#define VER_PRODUCTVERSION_STR GVM_RC_VERSION_STR
#define VER_PRODUCTVERSION AEHD_RC_VERSION
#define VER_PRODUCTVERSION_STR AEHD_RC_VERSION_STR
#define VER_PRODUCTVERSION_W (0x0200)
#define VER_PRODUCTVERSION_DW (0x0200)
#define VER_FILEDESCRIPTION_STR "Android Emulator Hypervisor Driver"
#define VER_INTERNALNAME_STR "Android Emulator Hypervisor Driver"
#define VER_ORIGINALFILENAME_STR "gvm.sys"
#define VER_FILEDESCRIPTION_STR "Android Emulator hypervisor driver"
#define VER_INTERNALNAME_STR "Android Emulator hypervisor driver"
#define VER_ORIGINALFILENAME_STR "aehd.sys"

#include "common.ver"

4 changes: 2 additions & 2 deletions gvm/gvm.sln → aehd/aehd.sln
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.57
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gvm", "gvm.vcxproj", "{9CDEE243-5FEC-44CD-9C26-A6B8AE76245E}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "aehd", "aehd.vcxproj", "{9CDEE243-5FEC-44CD-9C26-A6B8AE76245E}"
ProjectSection(ProjectDependencies) = postProject
{07877F58-4EE6-4C6E-A6AA-AF42B477A5BE} = {07877F58-4EE6-4C6E-A6AA-AF42B477A5BE}
EndProjectSection
Expand Down
14 changes: 7 additions & 7 deletions gvm/gvm.vcxproj → aehd/aehd.vcxproj
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?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|Win32">
Expand All @@ -25,7 +25,7 @@
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
<Configuration>Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
<RootNamespace>gvm</RootNamespace>
<RootNamespace>aehd</RootNamespace>
<WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Expand Down Expand Up @@ -147,7 +147,7 @@
<ClCompile Include="..\arch\x86\kvm\svm.c" />
<ClCompile Include="..\arch\x86\kvm\vmx.c" />
<ClCompile Include="..\arch\x86\kvm\x86.c" />
<ClCompile Include="..\gvm-main.c" />
<ClCompile Include="..\aehd_main.c" />
<ClCompile Include="..\ntkrutils.c" />
<ClCompile Include="..\virt\kvm\irqchip.c" />
<ClCompile Include="..\virt\kvm\kvm_main.c" />
Expand All @@ -173,8 +173,8 @@
<ClInclude Include="..\arch\x86\kvm\pmu.h" />
<ClInclude Include="..\arch\x86\kvm\tss.h" />
<ClInclude Include="..\arch\x86\kvm\x86.h" />
<ClInclude Include="..\gvm-main.h" />
<ClInclude Include="..\gvm_types.h" />
<ClInclude Include="..\aehd_main.h" />
<ClInclude Include="..\aehd_types.h" />
<ClInclude Include="..\include\kvm\iodev.h" />
<ClInclude Include="..\include\linux\kvm_host.h" />
<ClInclude Include="..\include\linux\kvm_types.h" />
Expand All @@ -191,7 +191,7 @@
<MASM Include="..\assembly\x64\assembly.asm" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\gvm.rc" />
<ResourceCompile Include="..\aehd.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
</Project>
Loading

0 comments on commit f55daa7

Please sign in to comment.