mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge branch 'upstream' of git://qemu.weilnetz.de/qemu
* 'upstream' of git://qemu.weilnetz.de/qemu: Move definition of HOST_LONG_BITS to qemu-common.h target-xtensa: Clean includes target-unicore32: Clean includes target-sh4: Clean includes target-s390x: Clean includes target-ppc: Clean includes target-mips: Clean includes target-microblaze: Clean includes target-m68k: Clean includes target-lm32: Clean includes target-i386: Clean includes target-cris: Clean includes target-arm: Clean includes target-alpha: Clean includes Remove macro HOST_LONG_SIZE
This commit is contained in:
@@ -1291,17 +1291,6 @@ esac
|
||||
|
||||
fi
|
||||
|
||||
# host long bits test, actually a pointer size test
|
||||
cat > $TMPC << EOF
|
||||
int sizeof_pointer_is_8[sizeof(void *) == 8 ? 1 : -1];
|
||||
EOF
|
||||
if compile_object; then
|
||||
hostlongbits=64
|
||||
else
|
||||
hostlongbits=32
|
||||
fi
|
||||
|
||||
|
||||
##########################################
|
||||
# NPTL probe
|
||||
|
||||
@@ -2988,7 +2977,6 @@ fi
|
||||
if test "$bigendian" = "yes" ; then
|
||||
echo "HOST_WORDS_BIGENDIAN=y" >> $config_host_mak
|
||||
fi
|
||||
echo "HOST_LONG_BITS=$hostlongbits" >> $config_host_mak
|
||||
if test "$mingw32" = "yes" ; then
|
||||
echo "CONFIG_WIN32=y" >> $config_host_mak
|
||||
rc_version=`cat $source_path/VERSION`
|
||||
|
||||
@@ -60,8 +60,6 @@ typedef uint64_t target_ulong __attribute__((aligned(TARGET_LONG_ALIGNMENT)));
|
||||
#error TARGET_LONG_SIZE undefined
|
||||
#endif
|
||||
|
||||
#define HOST_LONG_SIZE (HOST_LONG_BITS / 8)
|
||||
|
||||
#define EXCP_INTERRUPT 0x10000 /* async interruption */
|
||||
#define EXCP_HLT 0x10001 /* hlt instruction reached */
|
||||
#define EXCP_DEBUG 0x10002 /* cpu stopped after a breakpoint or singlestep */
|
||||
|
||||
@@ -65,6 +65,15 @@ typedef struct Monitor Monitor;
|
||||
#define TIME_MAX LONG_MAX
|
||||
#endif
|
||||
|
||||
/* HOST_LONG_BITS is the size of a native pointer in bits. */
|
||||
#if UINTPTR_MAX == UINT32_MAX
|
||||
# define HOST_LONG_BITS 32
|
||||
#elif UINTPTR_MAX == UINT64_MAX
|
||||
# define HOST_LONG_BITS 64
|
||||
#else
|
||||
# error Unknown pointer size
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_IOVEC
|
||||
#define CONFIG_IOVEC
|
||||
struct iovec {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#define __CPU_ALPHA_H__
|
||||
|
||||
#include "config.h"
|
||||
#include "qemu-common.h"
|
||||
|
||||
#define TARGET_LONG_BITS 64
|
||||
|
||||
|
||||
@@ -17,15 +17,10 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "disas.h"
|
||||
#include "host-utils.h"
|
||||
#include "tcg-op.h"
|
||||
#include "qemu-common.h"
|
||||
|
||||
#include "helper.h"
|
||||
#define GEN_HELPER 1
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "gdbstub.h"
|
||||
#include "helper.h"
|
||||
#include "qemu-common.h"
|
||||
#include "host-utils.h"
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
#include "hw/loader.h"
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
#ifndef CPU_CRIS_H
|
||||
#define CPU_CRIS_H
|
||||
|
||||
#include "config.h"
|
||||
#include "qemu-common.h"
|
||||
|
||||
#define TARGET_LONG_BITS 32
|
||||
|
||||
#define CPUState struct CPUCRISState
|
||||
|
||||
@@ -18,10 +18,6 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#include "mmu.h"
|
||||
#include "host-utils.h"
|
||||
|
||||
@@ -20,11 +20,6 @@
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#include "mmu.h"
|
||||
|
||||
|
||||
@@ -23,19 +23,12 @@
|
||||
* The condition code translation is in need of attention.
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "disas.h"
|
||||
#include "tcg-op.h"
|
||||
#include "helper.h"
|
||||
#include "mmu.h"
|
||||
#include "crisv32-decode.h"
|
||||
#include "qemu-common.h"
|
||||
|
||||
#define GEN_HELPER 1
|
||||
#include "helper.h"
|
||||
|
||||
@@ -16,14 +16,8 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "qemu-common.h"
|
||||
#include "kvm.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "sysemu.h"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include "dyngen-exec.h"
|
||||
#include "host-utils.h"
|
||||
#include "ioport.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qemu-log.h"
|
||||
#include "cpu-defs.h"
|
||||
#include "helper.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#define CPUState struct CPULM32State
|
||||
|
||||
#include "config.h"
|
||||
#include "qemu-common.h"
|
||||
#include "cpu-defs.h"
|
||||
struct CPULM32State;
|
||||
|
||||
@@ -17,11 +17,6 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#include "host-utils.h"
|
||||
|
||||
|
||||
@@ -17,18 +17,10 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "disas.h"
|
||||
#include "helper.h"
|
||||
#include "tcg-op.h"
|
||||
#include "qemu-common.h"
|
||||
|
||||
#include "hw/lm32_pic.h"
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#define CPUState struct CPUM68KState
|
||||
|
||||
#include "config.h"
|
||||
#include "qemu-common.h"
|
||||
#include "cpu-defs.h"
|
||||
|
||||
|
||||
@@ -18,12 +18,7 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#include "qemu-common.h"
|
||||
#include "gdbstub.h"
|
||||
|
||||
#include "helpers.h"
|
||||
|
||||
@@ -17,13 +17,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#include "disas.h"
|
||||
#include "tcg-op.h"
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
#ifndef CPU_MICROBLAZE_H
|
||||
#define CPU_MICROBLAZE_H
|
||||
|
||||
#include "config.h"
|
||||
#include "qemu-common.h"
|
||||
|
||||
#define TARGET_LONG_BITS 32
|
||||
|
||||
#define CPUState struct CPUMBState
|
||||
|
||||
@@ -17,11 +17,6 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "cpu.h"
|
||||
#include "host-utils.h"
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user