/* $Id: config.h 44528 2013-02-04 14:27:54Z vboxsync $ */ /** @file * Sun config - Maintained by hand */ /* * Copyright (C) 2006-2011 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) as published by the Free Software * Foundation, in version 2 as it comes in the "COPYING" file of the * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ #include "config-host.h" #define CONFIG_QEMU_PREFIX "/usr/gnemul/qemu-i386" #define TARGET_ARCH "i386" #define TARGET_I386 1 #define CONFIG_SOFTMMU 1 #define TARGET_PHYS_ADDR_BITS 64 #ifdef VBOX_WITH_64_BITS_GUESTS # if defined(__x86_64__) || defined (VBOX_ENABLE_VBOXREM64) # define TARGET_X86_64 # endif #endif /* Uncomment to see all phys memory accesses */ /* #define VBOX_DEBUG_PHYS */ /* Uncomment to see emulated CPU state changes */ /* #define VBOX_DUMP_STATE */ /* Uncomment to see QEMU logging, goes to /tmp/vbox-qemu.log */ /* #define DEBUG_ALL_LOGGING */ /* Uncomment to see generated code */ /* #define DEBUG_DISAS */ #if 0 /*defined(RT_ARCH_AMD64) && defined(VBOX_STRICT)*/ # define VBOX_CHECK_ADDR(ptr) do { if ((uintptr_t)(ptr) >= _4G) __asm__("int3"); } while (0) #else # define VBOX_CHECK_ADDR(ptr) do { } while (0) #endif