Save copies of generated qapi files.

This commit is contained in:
xorstream 2017-01-21 00:30:50 +11:00
parent fac6a66860
commit 8840d5b42b
5 changed files with 24 additions and 1033 deletions

4
.gitignore vendored
View file

@ -24,8 +24,8 @@ sparc-softmmu/
sparc64-softmmu/ sparc64-softmmu/
m68k-softmmu/ m68k-softmmu/
qapi-types.h qemu/qapi-types.h
qapi-visit.h qemu/qapi-visit.h
x86_64-softmmu/ x86_64-softmmu/
tags tags
qemu/config-host.ld qemu/config-host.ld

View file

@ -24,8 +24,6 @@
<ClCompile Include="..\..\..\qemu\glib_compat.c" /> <ClCompile Include="..\..\..\qemu\glib_compat.c" />
<ClCompile Include="..\..\..\qemu\hw\core\machine.c" /> <ClCompile Include="..\..\..\qemu\hw\core\machine.c" />
<ClCompile Include="..\..\..\qemu\hw\core\qdev.c" /> <ClCompile Include="..\..\..\qemu\hw\core\qdev.c" />
<ClCompile Include="..\..\..\qemu\qapi-types.c" />
<ClCompile Include="..\..\..\qemu\qapi-visit.c" />
<ClCompile Include="..\..\..\qemu\qapi\qapi-dealloc-visitor.c" /> <ClCompile Include="..\..\..\qemu\qapi\qapi-dealloc-visitor.c" />
<ClCompile Include="..\..\..\qemu\qapi\qapi-visit-core.c" /> <ClCompile Include="..\..\..\qemu\qapi\qapi-visit-core.c" />
<ClCompile Include="..\..\..\qemu\qapi\qmp-input-visitor.c" /> <ClCompile Include="..\..\..\qemu\qapi\qmp-input-visitor.c" />
@ -60,6 +58,8 @@
<ClCompile Include="..\..\..\qemu\util\qemu-timer-common.c" /> <ClCompile Include="..\..\..\qemu\util\qemu-timer-common.c" />
<ClCompile Include="..\..\..\qemu\vl.c" /> <ClCompile Include="..\..\..\qemu\vl.c" />
<ClCompile Include="..\..\..\uc.c" /> <ClCompile Include="..\..\..\uc.c" />
<ClCompile Include="qapi-types.c" />
<ClCompile Include="qapi-visit.c" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\..\..\include\list.h" /> <ClInclude Include="..\..\..\include\list.h" />
@ -164,9 +164,9 @@
<ClInclude Include="..\..\..\qemu\include\sysemu\memory_mapping.h" /> <ClInclude Include="..\..\..\qemu\include\sysemu\memory_mapping.h" />
<ClInclude Include="..\..\..\qemu\include\sysemu\os-win32.h" /> <ClInclude Include="..\..\..\qemu\include\sysemu\os-win32.h" />
<ClInclude Include="..\..\..\qemu\include\sysemu\sysemu.h" /> <ClInclude Include="..\..\..\qemu\include\sysemu\sysemu.h" />
<ClInclude Include="..\..\..\qemu\qapi-types.h" />
<ClInclude Include="..\..\..\qemu\qapi-visit.h" />
<ClInclude Include="..\..\..\qemu\vl.h" /> <ClInclude Include="..\..\..\qemu\vl.h" />
<ClInclude Include="qapi-types.h" />
<ClInclude Include="qapi-visit.h" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}</ProjectGuid> <ProjectGuid>{B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}</ProjectGuid>

View file

@ -81,12 +81,6 @@
<ClCompile Include="..\..\..\qemu\glib_compat.c"> <ClCompile Include="..\..\..\qemu\glib_compat.c">
<Filter>qemu</Filter> <Filter>qemu</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\qemu\qapi-types.c">
<Filter>qemu</Filter>
</ClCompile>
<ClCompile Include="..\..\..\qemu\qapi-visit.c">
<Filter>qemu</Filter>
</ClCompile>
<ClCompile Include="..\..\..\qemu\qemu-log.c"> <ClCompile Include="..\..\..\qemu\qemu-log.c">
<Filter>qemu</Filter> <Filter>qemu</Filter>
</ClCompile> </ClCompile>
@ -193,6 +187,12 @@
<Filter>qemu\util</Filter> <Filter>qemu\util</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\uc.c" /> <ClCompile Include="..\..\..\uc.c" />
<ClCompile Include="qapi-types.c">
<Filter>qemu</Filter>
</ClCompile>
<ClCompile Include="qapi-visit.c">
<Filter>qemu</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\..\..\include\list.h"> <ClInclude Include="..\..\..\include\list.h">
@ -204,12 +204,6 @@
<ClInclude Include="..\..\..\include\uc_priv.h"> <ClInclude Include="..\..\..\include\uc_priv.h">
<Filter>priv</Filter> <Filter>priv</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\..\qemu\qapi-types.h">
<Filter>qemu</Filter>
</ClInclude>
<ClInclude Include="..\..\..\qemu\qapi-visit.h">
<Filter>qemu</Filter>
</ClInclude>
<ClInclude Include="..\..\..\qemu\vl.h"> <ClInclude Include="..\..\..\qemu\vl.h">
<Filter>qemu</Filter> <Filter>qemu</Filter>
</ClInclude> </ClInclude>
@ -494,5 +488,11 @@
<ClInclude Include="..\..\..\include\unicorn\unicorn.h" /> <ClInclude Include="..\..\..\include\unicorn\unicorn.h" />
<ClInclude Include="..\..\..\include\unicorn\x86.h" /> <ClInclude Include="..\..\..\include\unicorn\x86.h" />
<ClInclude Include="..\..\..\include\unicorn\platform.h" /> <ClInclude Include="..\..\..\include\unicorn\platform.h" />
<ClInclude Include="qapi-types.h">
<Filter>qemu</Filter>
</ClInclude>
<ClInclude Include="qapi-visit.h">
<Filter>qemu</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>

File diff suppressed because it is too large Load diff

View file

@ -377,8 +377,7 @@ fdecl.write(mcgen('''
#ifndef %(guard)s #ifndef %(guard)s
#define %(guard)s #define %(guard)s
#include <stdbool.h> #include "unicorn/platform.h"
#include <stdint.h>
''', ''',
guard=guardname(h_file))) guard=guardname(h_file)))