VirtualBox

Changeset 45023 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 13, 2013 3:29:58 PM (12 years ago)
Author:
vboxsync
Message:

DevVGA.cpp: nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r44877 r45023  
    56265626
    56275627    /*
    5628      * Register I/O ports, ROM and save state.
     5628     * Register I/O ports.
    56295629     */
    56305630    rc = PDMDevHlpIOPortRegister(pDevIns,  0x3c0, 16, NULL, vgaIOPortWrite,       vgaIOPortRead, NULL, NULL,      "VGA - 3c0");
     
    57685768    }
    57695769
    5770     const uint8_t *pu8VgaBiosBinary = NULL;
    5771     uint64_t cbVgaBiosBinary;
    57725770    /*
    57735771     * Determine the VGA BIOS ROM size, open specified ROM file in the process.
     
    58345832    /* If we were unable to get the data from file for whatever reason, fall
    58355833       back to the built-in ROM image. */
    5836     uint32_t fFlags = 0;
     5834    const uint8_t  *pu8VgaBiosBinary;
     5835    uint64_t        cbVgaBiosBinary;
     5836    uint32_t        fFlags = 0;
    58375837    if (pThis->pu8VgaBios == NULL)
    58385838    {
     
    58555855        return rc;
    58565856
    5857     /* save */
     5857    /*
     5858     * Saved state.
     5859     */
    58585860    rc = PDMDevHlpSSMRegisterEx(pDevIns, VGA_SAVEDSTATE_VERSION, sizeof(*pThis), NULL,
    58595861                                NULL,          vgaR3LiveExec, NULL,
     
    58635865        return rc;
    58645866
    5865     /* PCI */
     5867    /*
     5868     * PCI device registration.
     5869     */
    58665870    rc = PDMDevHlpPCIRegister(pDevIns, &pThis->Dev);
    58675871    if (RT_FAILURE(rc))
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