VirtualBox

Changeset 27121 in vbox for trunk/include


Ignore:
Timestamp:
Mar 5, 2010 6:13:57 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58456
Message:

HPET, RTC, PIT, PDM: implement API to disable legacy devices from HPET legacy modes

File:
1 edited

Legend:

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

    r26935 r27121  
    19371937#define PDMIVMMDEVPORT_IID                      "d7e52035-3b6c-422e-9215-2a75646a945d"
    19381938
     1939/** Pointer to a PIT port interface. */
     1940typedef struct PDMIPITPORT *PPDMIPITPORT;
     1941/**
     1942 * PIT port interface.
     1943 */
     1944typedef struct PDMIPITPORT
     1945{
     1946    /**
     1947     * Notify PIT about change of HPET legacy mode.
     1948     *
     1949     * @returns VBox status code
     1950     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     1951     * @param   fActivate       If HPET legacy mode activated or deactivated.
     1952     */
     1953    DECLR3CALLBACKMEMBER(int, pfnNotifyHpetLegacy,(PPDMIPITPORT pInterface, bool fActivate));
     1954} PDMIPITPORT;
     1955/** PDMIPITPORT interface ID. */
     1956#define PDMIPITPORT_IID                        "06127207-3182-4394-b16e-0ecfeb5cbb27"
     1957
     1958/** Pointer to a RTC port interface. */
     1959typedef struct PDMIRTCPORT *PPDMIRTCPORT;
     1960/**
     1961 * RTC port interface.
     1962 */
     1963typedef struct PDMIRTCPORT
     1964{
     1965    /**
     1966     * Notify RTC about change of HPET legacy mode.
     1967     *
     1968     * @returns VBox status code
     1969     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     1970     * @param   fActivate       If HPET legacy mode activated or deactivated.
     1971     */
     1972    DECLR3CALLBACKMEMBER(int, pfnNotifyHpetLegacy,(PPDMIRTCPORT pInterface, bool fActivate));
     1973} PDMIRTCPORT;
     1974/** PDMIRTCPORT interface ID. */
     1975#define PDMIRTCPORT_IID                        "b6af0d7c-56c7-4064-85aa-ba78b43a26e7"
     1976
     1977
    19391978/** @name Flags for PDMIVMMDEVPORT::pfnSetCredentials.
    19401979 * @{ */
Note: See TracChangeset for help on using the changeset viewer.

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