VirtualBox

source: vbox/trunk/src/recompiler_new/Sun/config.h@ 14812

Last change on this file since 14812 was 14277, checked in by vboxsync, 16 years ago

Implemented support for virtual addresses in TLB, improves performance greatly,
but not fully functional as breaks some sync checks, so disabled.
To enable - comment out $(REM_MOD)_DEFS += REM_PHYS_ADDR_IN_TLB
in Makefile.kmk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/* $Id: config.h 14277 2008-11-18 09:10:18Z vboxsync $ */
2/** @file
3 * Sun config - Maintained by hand
4 */
5
6/*
7 * Copyright (C) 2006-2007 Sun Microsystems, Inc.
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 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18 * Clara, CA 95054 USA or visit http://www.sun.com if you need
19 * additional information or have any questions.
20 */
21
22#include "config-host.h"
23#define CONFIG_QEMU_PREFIX "/usr/gnemul/qemu-i386"
24#define TARGET_ARCH "i386"
25#define TARGET_I386 1
26#define CONFIG_SOFTMMU 1
27
28#ifdef VBOX_WITH_64_BITS_GUESTS
29#define TARGET_X86_64
30#endif
31
32/* Uncomment to see all phys memory accesses */
33/* #define VBOX_DEBUG_PHYS */
34/* Uncomment to see emulated CPU state changes */
35/* #define VBOX_DUMP_STATE */
36/* Uncomment to see QEMU logging, goes to /tmp/vbox-qemu.log */
37/* #define DEBUG_ALL_LOGGING */
38/* Uncomment to see generated code */
39/* #define DEBUG_DISAS */
40
41#if 0 /*defined(RT_ARCH_AMD64) && defined(VBOX_STRICT)*/
42# define VBOX_CHECK_ADDR(ptr) do { if ((uintptr_t)(ptr) >= _4G) __asm__("int3"); } while (0)
43#else
44# define VBOX_CHECK_ADDR(ptr) do { } while (0)
45#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