mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
target-ppc: Add XML files for PowerPC registers
These files are nearly identical to the XML files provided with GDB. The only difference is that power-{fpu,spe}.xml do not assign register numbers; the internal QEMU machinery takes care of that. Define gdb_xml_files for ppc targets in configure as well. Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6420 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
0ccff151b4
commit
c8b3532d8a
6 changed files with 248 additions and 0 deletions
4
configure
vendored
4
configure
vendored
|
@ -1638,6 +1638,7 @@ case "$target_cpu" in
|
|||
echo "TARGET_ARCH=ppc" >> $config_mak
|
||||
echo "#define TARGET_ARCH \"ppc\"" >> $config_h
|
||||
echo "#define TARGET_PPC 1" >> $config_h
|
||||
gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
|
||||
;;
|
||||
ppcemb)
|
||||
echo "TARGET_ARCH=ppcemb" >> $config_mak
|
||||
|
@ -1650,6 +1651,7 @@ case "$target_cpu" in
|
|||
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
|
||||
echo "#define CONFIG_KVM 1" >> $config_h
|
||||
fi
|
||||
gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
|
||||
;;
|
||||
ppc64)
|
||||
echo "TARGET_ARCH=ppc64" >> $config_mak
|
||||
|
@ -1657,6 +1659,7 @@ case "$target_cpu" in
|
|||
echo "#define TARGET_ARCH \"ppc64\"" >> $config_h
|
||||
echo "#define TARGET_PPC 1" >> $config_h
|
||||
echo "#define TARGET_PPC64 1" >> $config_h
|
||||
gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
|
||||
;;
|
||||
ppc64abi32)
|
||||
echo "TARGET_ARCH=ppc64" >> $config_mak
|
||||
|
@ -1666,6 +1669,7 @@ case "$target_cpu" in
|
|||
echo "#define TARGET_PPC 1" >> $config_h
|
||||
echo "#define TARGET_PPC64 1" >> $config_h
|
||||
echo "#define TARGET_ABI32 1" >> $config_h
|
||||
gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
|
||||
;;
|
||||
sh4|sh4eb)
|
||||
echo "TARGET_ARCH=sh4" >> $config_mak
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue