VirtualBox

Ignore:
Timestamp:
May 29, 2008 9:41:45 PM (17 years ago)
Author:
vboxsync
Message:

Implemented RTTime for the linux kernel (not used yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r8837 r9236  
     1/* $Rev:$ */
    12/** @file
    23 * The VirtualBox Support Driver - Linux hosts.
     
    154155#endif
    155156
    156 
    157 /** @def ONE_MSEC_IN_JIFFIES
    158  * The number of jiffies that make up 1 millisecond. Must be at least 1! */
    159 #if HZ <= 1000
    160 # define ONE_MSEC_IN_JIFFIES       1
    161 #elif !(HZ % 1000)
    162 # define ONE_MSEC_IN_JIFFIES       (HZ / 1000)
    163 #else
    164 # define ONE_MSEC_IN_JIFFIES       ((HZ + 999) / 1000)
    165 # error "HZ is not a multiple of 1000, the GIP stuff won't work right!"
    166 #endif
    167 
    168 /** @def TICK_NSEC
    169  * The time between ticks in nsec */
    170 #ifndef TICK_NSEC
    171 # define TICK_NSEC (1000000UL / HZ)
    172 #endif
    173157
    174158#ifdef CONFIG_X86_LOCAL_APIC
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