VirtualBox

Changeset 13323 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 16, 2008 9:48:12 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38002
Message:

vbi: fixes to vbi_stimer_begin.

Location:
trunk/src/VBox/Runtime/r0drv/solaris/vbi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/i86pc/os/vbi.c

    r12945 r13323  
    7979
    8080static struct modlmisc vbi_modlmisc = {
    81         &mod_miscops, "Vbox Interfaces Ver 3"
     81        &mod_miscops, "VirtualBox Interfaces V3"
    8282};
    8383
     
    910910        ASSERT(interval < INT64_MAX);
    911911        ASSERT(interval + when < INT64_MAX);
     912        ASSERT(on_cpu == VBI_ANY_CPU || on_cpu < ncpus);
    912913
    913914        t->s_handler.cyh_func = vbi_stimer_func;
     
    919920
    920921        mutex_enter(&cpu_lock);
    921         if (on_cpu != VBI_ANY_CPU && !vbi_cpu_online(on_cpu)) {
     922        if (on_cpu != VBI_ANY_CPU && !cpu_is_online(cpu[on_cpu])) {
    922923                t = NULL;
    923924                goto done;
     
    10421043 * This is revision 3 of the interface. As more functions are added,
    10431044 * they should go after this point in the file and the revision level
    1044  * increased.
     1045 * increased. Also change vbi_modlmisc at the top of the file.
    10451046 */
    10461047uint_t vbi_revision_level = 3;
Note: See TracChangeset for help on using the changeset viewer.

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