VirtualBox

Changeset 36203 in vbox


Ignore:
Timestamp:
Mar 8, 2011 1:02:03 PM (14 years ago)
Author:
vboxsync
Message:

don't use doxygen comments to document code sections, they'll end up in the function description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r36153 r36203  
    11/* $Id$ */
    22/** @file
    3  * DevPCI - ICH9 southbridge PCI bus emulation Device.
     3 * DevPCI - ICH9 southbridge PCI bus emulation device.
    44 */
    55
    66/*
    7  * Copyright (C) 2010 Oracle Corporation
     7 * Copyright (C) 2010-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    1717
    1818/*******************************************************************************
    19  *   Header Files                                                              *
    20  *******************************************************************************/
     19*   Header Files                                                               *
     20*******************************************************************************/
    2121#define LOG_GROUP LOG_GROUP_DEV_PCI
    2222/* Hack to get PCIDEVICEINT declare at the right point - include "PCIInternal.h". */
     
    3636#include "MsiCommon.h"
    3737
     38
     39/*******************************************************************************
     40*   Structures and Typedefs                                                    *
     41*******************************************************************************/
    3842/**
    3943 * PCI Bus instance.
     
    118122
    119123
    120 typedef struct {
     124typedef struct
     125{
    121126    uint8_t  iBus;
    122127    uint8_t  iDeviceFunc;
     
    124129} PciAddress;
    125130
     131
    126132/*******************************************************************************
    127  *   Defined Constants And Macros                                              *
    128  *******************************************************************************/
     133*   Defined Constants And Macros                                               *
     134*******************************************************************************/
    129135
    130136/** @def VBOX_ICH9PCI_SAVED_STATE_VERSION
     
    141147/** Converts a device instance pointer to a PCIBUS pointer. */
    142148#define DEVINS_2_PCIBUS(pDevIns)        ((PPCIBUS)(&PDMINS_2_DATA(pDevIns, PPCIGLOBALS)->aPciBus))
    143 /** Converts a pointer to a PCI root bus instance to a PCIGLOBALS pointer.
    144  */
     149/** Converts a pointer to a PCI root bus instance to a PCIGLOBALS pointer. */
    145150#define PCIROOTBUS_2_PCIGLOBALS(pPciBus)    ( (PPCIGLOBALS)((uintptr_t)(pPciBus) - RT_OFFSETOF(PCIGLOBALS, aPciBus)) )
    146151
     
    553558        if ((iLevel & PDM_IRQ_LEVEL_FLIP_FLOP) == PDM_IRQ_LEVEL_FLIP_FLOP)
    554559        {
    555             /**
     560            /*
    556561             *  we raised it few lines above, as PDM_IRQ_LEVEL_FLIP_FLOP has
    557562             * PDM_IRQ_LEVEL_HIGH bit set
     
    18501855    pGlobals->uBus = 0;
    18511856
    1852     /**
     1857    /*
    18531858     * Assign bridge topology, for further routing to work.
    18541859     */
     
    18561861    ich9pciInitBridgeTopology(pGlobals, pBus);
    18571862
    1858     /**
     1863    /*
    18591864     * Init the devices.
    18601865     */
     
    19411946    PCIDevSetByte(aDev, uAddr, u8Val);
    19421947}
     1948
    19431949/**
    19441950 * See paragraph 7.5 of PCI Express specification (p. 349) for definition of
     
    22782284            printIndent(pHlp, iIndent);
    22792285
    2280             /**
     2286            /*
    22812287             * For passthrough devices MSI/MSI-X mostly reflects the way interrupts delivered to the guest,
    22822288             * as host driver handles real devices interrupts.
     
    24932499     */
    24942500
    2495     /**
     2501    /*
    24962502     * We emulate 82801IB ICH9 IO chip used in Q35,
    24972503     * see http://ark.intel.com/Product.aspx?id=31892
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