VirtualBox

source: vbox/trunk/src/VBox/Devices/Bus/DevIommuIntel.h@ 88327

Last change on this file since 88327 was 88327, checked in by vboxsync, 4 years ago

Intel IOMMU: bugref:9967 WIP.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1/* $Id: DevIommuIntel.h 88327 2021-03-31 03:00:55Z vboxsync $ */
2/** @file
3 * DevIommuIntel - I/O Memory Management Unit (Intel), header shared with the IOMMU, ACPI, chipset/firmware code.
4 */
5
6/*
7 * Copyright (C) 2021 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#ifndef VBOX_INCLUDED_SRC_Bus_DevIommuIntel_h
19#define VBOX_INCLUDED_SRC_Bus_DevIommuIntel_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24#include <VBox/iommu-intel.h>
25
26/** Intel vendor ID for the DMAR unit. */
27#define VTD_PCI_VENDOR_ID 0x8086
28/** VirtualBox DMAR unit's device ID. */
29#define VTD_PCI_DEVICE_ID 0xc0de
30/** VirtualBox DMAR unit's device revision ID. */
31#define VTD_PCI_REVISION_ID 0x01
32
33/** Feature/capability flags exposed to the guest (x2APIC Opt Out until we get
34 * regular APIC setup working). */
35#define VTD_ACPI_DMAR_FLAGS (ACPI_DMAR_F_INTR_REMAP | ACPI_DMAR_F_X2APIC_OPT_OUT)
36
37/** The MMIO base address of the DMAR unit (taken from real hardware). */
38#define VTD_MMIO_BASE_ADDR 0xfed90000
39
40
41#endif /* !VBOX_INCLUDED_SRC_Bus_DevIommuIntel_h */
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