diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-03-26 19:21:20 +0000 |
|---|---|---|
| committer | <> | 2014-05-08 15:03:54 +0000 |
| commit | fb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch) | |
| tree | c2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Main/include/Nvram.h | |
| parent | 58ed4748338f9466599adfc8a9171280ed99e23f (diff) | |
| download | VirtualBox-master.tar.gz | |
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Main/include/Nvram.h')
| -rw-r--r-- | src/VBox/Main/include/Nvram.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/VBox/Main/include/Nvram.h b/src/VBox/Main/include/Nvram.h index 4f95e71d..0a444b7b 100644 --- a/src/VBox/Main/include/Nvram.h +++ b/src/VBox/Main/include/Nvram.h @@ -30,16 +30,21 @@ class Nvram public: Nvram(Console *console); virtual ~Nvram(); - static const PDMDRVREG DrvReg; + Console *getParent(void) { return mParent; } - struct NVRAM *mpDrv; + + static const PDMDRVREG DrvReg; private: static DECLCALLBACK(void *) drvNvram_QueryInterface(PPDMIBASE pInterface, const char *pszIID); static DECLCALLBACK(int) drvNvram_Construct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags); static DECLCALLBACK(void) drvNvram_Destruct(PPDMDRVINS pDrvIns); + /** Pointer to the parent object. */ Console * const mParent; + /** Pointer to the driver instance data. + * Can be NULL during init and termination. */ + struct NVRAM *mpDrv; }; #endif /* !____H_NVRAM */ |
