VirtualBox

Changeset 76939 in vbox


Ignore:
Timestamp:
Jan 22, 2019 4:51:28 PM (6 years ago)
Author:
vboxsync
Message:

Reverted previous commit: merged too much.

Location:
trunk/src/VBox
Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_fb.c

    r76938 r76939  
    344344                               sizes->fb_height);
    345345
    346         info->screen_base = (char __iomem *)bo->kmap.virtual;
     346        info->screen_base = bo->kmap.virtual;
    347347        info->screen_size = size;
    348348
  • trunk/src/VBox/Additions/linux/drm/vbox_main.c

    r76938 r76939  
    6868                        continue;
    6969
    70                 vbva = (void __force *)vbox->vbva_buffers + i * VBVA_MIN_BUFFER_SIZE;
     70                vbva = (void *)vbox->vbva_buffers + i * VBVA_MIN_BUFFER_SIZE;
    7171                if (!VBoxVBVAEnable(&vbox->vbva_info[i],
    7272                                 vbox->guest_pool, vbva, i)) {
  • trunk/src/VBox/Additions/linux/sharedfolders/lnkops.c

    r76938 r76939  
    3636#  if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
    3737static const char *sf_follow_link(struct dentry *dentry, void **cookie)
    38 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
     38#  else
    3939static void *sf_follow_link(struct dentry *dentry, struct nameidata *nd)
    40 #else
    41 static int sf_follow_link(struct dentry *dentry, struct nameidata *nd)
    4240#  endif
    4341{
     
    6361#  else
    6462        nd_set_link(nd, error ? ERR_PTR(error) : path);
    65 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
    6663        return NULL;
    67 # else
    68         return 0;
    69 # endif
    70 #endif
     64#  endif
    7165}
    7266
    7367#  if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0)
    74 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
    7568static void sf_put_link(struct dentry *dentry, struct nameidata *nd,
    7669                        void *cookie)
    77 #else
    78 static void sf_put_link(struct dentry *dentry, struct nameidata *nd)
    79 #endif
    8070{
    8171        char *page = nd_get_link(nd);
  • trunk/src/VBox/Additions/linux/sharedfolders/utils.c

    r76938 r76939  
    853853        /* Each new shared folder map gets a new uint64_t identifier,
    854854         * allocated in sequence.  We ASSUME the sequence will not wrap. */
    855 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
    856855        static uint64_t s_u64Sequence = 0;
    857856        uint64_t u64CurrentSequence = ASMAtomicIncU64(&s_u64Sequence);
    858 #endif
    859857
    860858        sf_g->bdi.ra_pages = 0; /* No readahead */
  • trunk/src/VBox/Installer/linux/uninstall.sh

    r76938 r76939  
    6666rm -f \
    6767  /usr/bin/VirtualBox \
    68   /usr/bin/VirtualBoxVM \
    6968  /usr/bin/VBoxManage \
    7069  /usr/bin/VBoxSDL \
     
    8382  /usr/bin/VBoxTunctl \
    8483  /usr/bin/virtualbox \
    85   /usr/bin/virtualboxvm \
    8684  /usr/share/pixmaps/VBox.png \
    8785  /usr/share/pixmaps/virtualbox.png \
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r76938 r76939  
    127127create_hardlink VBoxTestOGL
    128128create_hardlink VirtualBox
    129 create_hardlink VirtualBoxVM
    130129create_hardlink vbox-img
    131130create_hardlink VBoxHeadless
  • trunk/src/VBox/ValidationKit/testdriver/base.py

    r76938 r76939  
    831831            if self.sHost == 'darwin':      self.sResourcePath = "/Volumes/testrsrc/";
    832832            elif self.sHost == 'freebsd':   self.sResourcePath = "/mnt/testrsrc/";
    833             elif self.sHost == 'linux':
    834                 self.sResourcePath = "/mnt/testrsrc/";
    835                 if not os.path.isdir(self.sResourcePath) and utils.isRunningFromCheckout():
    836                     self.sResourcePath = os.path.join(g_ksValidationKitDir, os.pardir, os.pardir, os.pardir, "testrsrc");
     833            elif self.sHost == 'linux':     self.sResourcePath = "/mnt/testrsrc/";
    837834            elif self.sHost == 'os2':       self.sResourcePath = "T:/";
    838835            elif self.sHost == 'solaris':   self.sResourcePath = "/mnt/testrsrc/";
    839836            elif self.sHost == 'win':       self.sResourcePath = "T:/";
    840837            else: raise GenError('unknown host OS "%s"' % (self.sHost));
    841         assert os.path.isdir(self.sResourcePath), 'Resource path not found: self.sResourcePath="%s"' % (self.sResourcePath);
    842838
    843839        # PID file for the testdriver.
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