VirtualBox

source: vbox/trunk/src/recompiler/Sun/config.h@ 42844

Last change on this file since 42844 was 36175, checked in by vboxsync, 14 years ago

rem: Synced up to v0.11.1 (35bfc7324e2e6946c4113ada5db30553a1a7c40b) from git://git.savannah.nongnu.org/qemu.git.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1/* $Id: config.h 36175 2011-03-04 16:21:09Z vboxsync $ */
2/** @file
3 * Sun config - Maintained by hand
4 */
5
6/*
7 * Copyright (C) 2006-2007 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#include "config-host.h"
19#define CONFIG_QEMU_PREFIX "/usr/gnemul/qemu-i386"
20#define TARGET_ARCH "i386"
21#define TARGET_I386 1
22#define CONFIG_SOFTMMU 1
23#define TARGET_PHYS_ADDR_BITS 64
24
25#ifdef VBOX_WITH_64_BITS_GUESTS
26# if defined(__x86_64__) || defined (VBOX_ENABLE_VBOXREM64)
27# define TARGET_X86_64
28# endif
29#endif
30
31/* Uncomment to see all phys memory accesses */
32/* #define VBOX_DEBUG_PHYS */
33/* Uncomment to see emulated CPU state changes */
34/* #define VBOX_DUMP_STATE */
35/* Uncomment to see QEMU logging, goes to /tmp/vbox-qemu.log */
36/* #define DEBUG_ALL_LOGGING */
37/* Uncomment to see generated code */
38/* #define DEBUG_DISAS */
39
40#if 0 /*defined(RT_ARCH_AMD64) && defined(VBOX_STRICT)*/
41# define VBOX_CHECK_ADDR(ptr) do { if ((uintptr_t)(ptr) >= _4G) __asm__("int3"); } while (0)
42#else
43# define VBOX_CHECK_ADDR(ptr) do { } while (0)
44#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette