VirtualBox

Ignore:
Timestamp:
Dec 9, 2009 1:52:52 AM (15 years ago)
Author:
vboxsync
Message:

SUPDrv: Sketched out support for native module loading. (OS parts are all stubs and the IOC interface changes disabled.)

File:
1 edited

Legend:

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

    r22678 r25258  
    9292/** Declare the module as a pseudo device. */
    9393DECLARE_MODULE(vboxdrv,     g_VBoxDrvFreeBSDModule, SI_SUB_PSEUDO, SI_ORDER_ANY);
    94 MODULE_VERSION(vboxdrv, 1); 
     94MODULE_VERSION(vboxdrv, 1);
    9595
    9696/**
     
    600600}
    601601
     602#ifdef SUPDRV_USE_NATIVE_LOADER
     603
     604int  VBOXCALL   supdrvOSLdrOpen(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, const char *pszFilename)
     605{
     606    NOREF(pDevExt); NOREF(pImage); NOREF(pszFilename);
     607    return VERR_NOT_SUPPORTED;
     608}
     609
     610
     611int  VBOXCALL   supdrvOSLdrValidatePointer(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, void *pv, const uint8_t *pbImageBits)
     612{
     613    NOREF(pDevExt); NOREF(pImage); NOREF(pv); NOREF(pbImageBits);
     614    return VERR_NOT_SUPPORTED;
     615}
     616
     617
     618int  VBOXCALL   supdrvOSLdrLoad(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, const uint8_t *pbImageBits)
     619{
     620    NOREF(pDevExt); NOREF(pImage); NOREF(pbImageBits);
     621    return VERR_NOT_SUPPORTED;
     622}
     623
     624
     625void VBOXCALL   supdrvOSLdrUnload(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage)
     626{
     627    NOREF(pDevExt); NOREF(pImage);
     628}
     629
     630#endif /* SUPDRV_USE_NATIVE_LOADER */
    602631
    603632SUPR0DECL(int) SUPR0Printf(const char *pszFormat, ...)
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