VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/Include/VBoxPkg.h@ 65710

Last change on this file since 65710 was 62500, checked in by vboxsync, 8 years ago

(C) 2016

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1/* $Id: VBoxPkg.h 62500 2016-07-22 19:06:59Z vboxsync $ */
2/** @file
3 * VBoxPkg.h - Common header, must be include before IPRT and VBox headers.
4 */
5
6/*
7 * Copyright (C) 2009-2016 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 * The contents of this file may alternatively be used under the terms
18 * of the Common Development and Distribution License Version 1.0
19 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20 * VirtualBox OSE distribution, in which case the provisions of the
21 * CDDL are applicable instead of those of the GPL.
22 *
23 * You may elect to license modified versions of this file under the
24 * terms and conditions of either the GPL or the CDDL or both.
25 */
26
27#ifndef ___VBoxPkg_h
28#define ___VBoxPkg_h
29
30/*
31 * IPRT configuration.
32 */
33#define IN_RING0
34/** @todo detect this */
35//#include <iprt/cdefs.h>
36#if !defined(ARCH_BITS) || !defined(HC_ARCH_BITS)
37//# error "please add right bitness"
38#endif
39
40/*
41 * VBox and IPRT headers.
42 */
43#include <VBox/version.h>
44#include <iprt/types.h>
45#ifdef _MSC_VER
46# pragma warning(disable: 4389)
47# pragma warning(disable: 4245)
48# pragma warning(disable: 4244)
49#endif
50#include <iprt/asm.h>
51#include <iprt/asm-amd64-x86.h>
52#ifdef _MSC_VER
53# pragma warning(default: 4244)
54# pragma warning(default: 4245)
55# pragma warning(default: 4389)
56#endif
57
58#endif
59
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