VirtualBox

vbox的更動 69075 路徑 trunk/src/VBox


忽略:
時間撮記:
2017-10-13 下午02:17:38 (7 年 以前)
作者:
vboxsync
訊息:

Additions/x11/vboxvideo: Several small clean-ups.
bugref:9017: Additions/x11: put vboxvideo into upstream X.Org

This change:

  • Removes a forgotten unneeded dependency.
  • Corrects the usage of quote and angular brackets with X.Org and X11

header files.

  • Removes an out-dated comment.
  • Removes the BOOL_STR macro which was only used in one place.
  • Removes the unneeded initialisation of the guest library, which is no

longer used in the driver at all.

位置:
trunk/src/VBox/Additions/x11/vboxvideo
檔案:
修改 5 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r69061 r69075  
    4141vboxvideo_override_INCLUDES = \
    4242    -include $(PATH_ROOT)/src/VBox/Additions/x11/vboxvideo/HGSMIMemAlloc.h
    43 
    44 vboxvideo.c_DEPS = $(VBOX_SVN_REV_HEADER)
    4543
    4644LIBRARIES += vboxvideo_drv_lib
  • trunk/src/VBox/Additions/x11/vboxvideo/edid.c

    r69058 r69075  
    3737 */
    3838
    39 #include <misc.h>
    40 #include <xf86DDC.h>
    41 #include <xf86Crtc.h>
     39#include "misc.h"
     40#include "xf86DDC.h"
     41#include "xf86Crtc.h"
    4242#include "vboxvideo.h"
    4343
  • trunk/src/VBox/Additions/x11/vboxvideo/pointer.c

    r69066 r69075  
    2929
    3030#ifndef PCIACCESS
    31 # include <xf86Pci.h>
     31# include "xf86Pci.h"
    3232# include <Pci.h>
    3333#endif
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r69066 r69075  
    7474/* For setting the root window property. */
    7575#include "property.h"
    76 #include "X11/Xatom.h"
     76#include <X11/Xatom.h>
    7777
    7878#ifdef XORG_7X
     
    491491{ RT_NOREF(output, mode, adjusted_mode); }
    492492
    493 /* A virtual monitor is always connected. */
    494493static xf86OutputStatus
    495494vbox_output_detect (xf86OutputPtr output)
     
    752751    }
    753752
    754     TRACE_LOG("returning %s\n", BOOL_STR(pScrn != NULL));
     753    TRACE_LOG("returning %s\n", pScrn == NULL ? "false" : "true");
    755754    return (pScrn != NULL);
    756755}
     
    10851084    TRACE_ENTRY();
    10861085
    1087     /* Initialise our guest library if possible: ignore failure. */
    1088     VbglR3Init();
    10891086    if (!VBOXMapVidMem(pScrn))
    10901087        return (FALSE);
     
    13411338    ret = pScreen->CloseScreen(pScreen);
    13421339#endif
    1343     VbglR3Term();
    13441340    return ret;
    13451341}
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h

    r69065 r69075  
    9393    vbvxAbortServer(); \
    9494}
    95 
    96 #define BOOL_STR(a) ((a) ? "TRUE" : "FALSE")
    9795
    9896#include <VBoxVideoVBE.h>
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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