VirtualBox

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

Last change on this file since 91229 was 89589, checked in by vboxsync, 3 years ago

Intel IOMMU: bugref:9967 Padding and avoid including iommu-intel.h in DevIommuIntel.h.

  • 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 89589 2021-06-10 08:41:38Z 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/** Intel vendor ID for the DMAR unit. */
25#define DMAR_PCI_VENDOR_ID 0x8086
26/** VirtualBox DMAR unit's device ID. */
27#define DMAR_PCI_DEVICE_ID 0xc0de
28/** VirtualBox DMAR unit's device revision ID. */
29#define DMAR_PCI_REVISION_ID 0x01
30
31/** Feature/capability flags exposed to the guest. */
32#define DMAR_ACPI_DMAR_FLAGS ACPI_DMAR_F_INTR_REMAP
33
34/** The MMIO base address of the DMAR unit (taken from real hardware). */
35#define DMAR_MMIO_BASE_PHYSADDR UINT64_C(0xfed90000)
36/** The size of the MMIO region (in bytes). */
37#define DMAR_MMIO_SIZE 4096
38
39#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