VirtualBox

Ignore:
Timestamp:
Jan 8, 2008 2:19:00 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27130
Message:

Guest Additions: added a ring 3 library function to set the interrupt filter and the corresponding Linux kernel code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp

    r6246 r6280  
    269269 * @returns IPRT status code
    270270 *
    271  * @remakes This currently does not accept more than 255 bytes of data at
     271 * @remarks This currently does not accept more than 255 bytes of data at
    272272 *          one time. It should probably be rewritten to use pass a pointer
    273273 *          in the IOCtl.
     
    290290}
    291291
     292/**
     293 * Change the IRQ filter mask.
     294 *
     295 * @returns IPRT status code
     296 */
     297VBGLR3DECL(int) VbglR3CtlFilterMask(uint32_t u32OrMask, uint32_t u32NotMask)
     298{
     299    VBoxGuestFilterMaskInfo info;
     300
     301    info.u32OrMask = u32OrMask;
     302    info.u32NotMask = u32NotMask;
     303    return vbglR3DoIOCtl(VBOXGUEST_IOCTL_CTL_FILTER_MASK, &info, sizeof(info));
     304}
     305
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