VirtualBox

Ignore:
Timestamp:
Dec 31, 2014 3:33:55 PM (10 years ago)
Author:
vboxsync
Message:

Test I/O and MMIO performance when we need to go to ring-3 to service the request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDevTesting.h

    r42585 r53625  
    55
    66/*
    7  * Copyright (C) 2010-2012 Oracle Corporation
     7 * Copyright (C) 2010-2015 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3737/** The size of the MMIO range used for testing.  */
    3838#define VMMDEV_TESTING_MMIO_SIZE        UINT32_C(0x00001000)
    39 /** The NOP MMIO register - 124 RW. */
     39/** The NOP MMIO register - 1248 RW. */
    4040#define VMMDEV_TESTING_MMIO_NOP         (VMMDEV_TESTING_MMIO_BASE + 0x000)
    41 /** The XXX MMIO register - 124 RW. */
    42 #define VMMDEV_TESTING_MMIO_TODO        (VMMDEV_TESTING_MMIO_BASE + 0x004)
     41/** The go-to-ring-3-NOP MMIO register - 1248 RW. */
     42#define VMMDEV_TESTING_MMIO_NOP_R3      (VMMDEV_TESTING_MMIO_BASE + 0x008)
    4343/** The real mode selector to use.
    4444 * @remarks Requires that the A20 gate is enabled. */
     
    6161/** Data register which use depends on the current command - 1s, 4 WO. */
    6262#define VMMDEV_TESTING_IOPORT_DATA      (VMMDEV_TESTING_IOPORT_BASE + 4)
     63/** The go-to-ring-3-NOP I/O port - 1,2,4 RW. */
     64#define VMMDEV_TESTING_IOPORT_NOP_R3    (VMMDEV_TESTING_IOPORT_BASE + 5)
    6365
    6466/** @name Commands.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette