VirtualBox

Changeset 18135 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 23, 2009 12:59:11 PM (16 years ago)
Author:
vboxsync
Message:

VBoxVideo.h: added () around constants.

File:
1 edited

Legend:

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

    r17705 r18135  
    3434#include <iprt/types.h>
    3535
    36 /* 
     36/*
    3737 * The last 4096 bytes of the guest VRAM contains the generic info for all
    3838 * DualView chunks: sizes and offsets of chunks. This is filled by miniport.
     
    4141 * etc. This is used exclusively by the corresponding instance of a display driver.
    4242 *
    43  * The VRAM layout: 
     43 * The VRAM layout:
    4444 *     Last 4096 bytes - Adapter information area.
    4545 *     4096 bytes aligned miniport heap (value specified in the config rouded up).
     
    6969 * VBE_DISPI_INDEX_VBOX_VIDEO is used to read the configuration information
    7070 * from the host and issue commands to the host.
    71  * 
     71 *
    7272 * The guest writes the VBE_DISPI_INDEX_VBOX_VIDEO index register, the the
    7373 * following operations with the VBE data register can be performed:
    74  * 
     74 *
    7575 * Operation            Result
    7676 * write 16 bit value   NOP
     
    9393 * The minimum HGSMI heap size is PAGE_SIZE (4096 bytes) and is a restriction of the
    9494 * runtime heapsimple API. Use minimum 2 pages here, because the info area also may
    95  * contain other data (for example HGSMIHOSTFLAGS structure). 
    96  */
    97 #define VBVA_ADAPTER_INFORMATION_SIZE  8*_1K
    98 #define VBVA_DISPLAY_INFORMATION_SIZE  8*_1K
    99 #define VBVA_MIN_BUFFER_SIZE           64*_1K
     95 * contain other data (for example HGSMIHOSTFLAGS structure).
     96 */
     97#define VBVA_ADAPTER_INFORMATION_SIZE  (8*_1K)
     98#define VBVA_DISPLAY_INFORMATION_SIZE  (8*_1K)
     99#define VBVA_MIN_BUFFER_SIZE           (64*_1K)
    100100#endif /* VBOX_WITH_HGSMI */
    101101
     
    108108
    109109/* The value for port IO to let the adapter to interpret the display memory.
    110  * The display number is encoded in low 16 bits. 
     110 * The display number is encoded in low 16 bits.
    111111 */
    112112#define VBOX_VIDEO_INTERPRET_DISPLAY_MEMORY_BASE 0x00010000
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