~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/Main/include/MachineDebuggerImpl.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: MachineDebuggerImpl.h $ */
 
1
/* $Id: MachineDebuggerImpl.h 35506 2011-01-12 14:50:52Z vboxsync $ */
2
2
 
3
3
/** @file
4
4
 *
26
26
 
27
27
class ATL_NO_VTABLE MachineDebugger :
28
28
    public VirtualBoxBase,
29
 
    public VirtualBoxSupportErrorInfoImpl<MachineDebugger, IMachineDebugger>,
30
 
    public VirtualBoxSupportTranslation<MachineDebugger>,
31
29
    VBOX_SCRIPTABLE_IMPL(IMachineDebugger)
32
30
{
33
31
public:
34
32
 
35
 
    VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (MachineDebugger)
 
33
    VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (MachineDebugger, IMachineDebugger)
36
34
 
37
35
    DECLARE_NOT_AGGREGATABLE (MachineDebugger)
38
36
 
66
64
    STDMETHOD(COMSETTER(CSAMEnabled)) (BOOL aEnable);
67
65
    STDMETHOD(COMGETTER(LogEnabled)) (BOOL *aEnabled);
68
66
    STDMETHOD(COMSETTER(LogEnabled)) (BOOL aEnable);
 
67
    STDMETHOD(COMGETTER(LogFlags)) (BSTR *a_pbstrSettings);
 
68
    STDMETHOD(COMGETTER(LogGroups)) (BSTR *a_pbstrSettings);
 
69
    STDMETHOD(COMGETTER(LogDestinations)) (BSTR *a_pbstrSettings);
69
70
    STDMETHOD(COMGETTER(HWVirtExEnabled)) (BOOL *aEnabled);
70
71
    STDMETHOD(COMGETTER(HWVirtExNestedPagingEnabled)) (BOOL *aEnabled);
71
72
    STDMETHOD(COMGETTER(HWVirtExVPIDEnabled)) (BOOL *aEnabled);
72
73
    STDMETHOD(COMGETTER(PAEEnabled)) (BOOL *aEnabled);
 
74
    STDMETHOD(COMGETTER(OSName))(BSTR *a_pbstrName);
 
75
    STDMETHOD(COMGETTER(OSVersion))(BSTR *a_pbstrVersion);
73
76
    STDMETHOD(COMGETTER(VirtualTimeRate)) (ULONG *aPct);
74
77
    STDMETHOD(COMSETTER(VirtualTimeRate)) (ULONG aPct);
75
 
    STDMETHOD(COMGETTER(VM)) (ULONG64 *aVm);
 
78
    STDMETHOD(COMGETTER(VM)) (LONG64 *aVm);
 
79
 
 
80
    // IMachineDebugger methods
 
81
    STDMETHOD(DumpGuestCore)(IN_BSTR a_bstrFilename, IN_BSTR a_bstrCompression);
 
82
    STDMETHOD(DumpHostProcessCore)(IN_BSTR a_bstrFilename, IN_BSTR a_bstrCompression);
 
83
    STDMETHOD(Info)(IN_BSTR a_bstrName, IN_BSTR a_bstrArgs, BSTR *a_bstrInfo);
76
84
    STDMETHOD(InjectNMI)();
77
 
 
78
 
    // IMachineDebugger methods
79
 
    STDMETHOD(ResetStats (IN_BSTR aPattern));
80
 
    STDMETHOD(DumpStats (IN_BSTR aPattern));
81
 
    STDMETHOD(GetStats (IN_BSTR aPattern, BOOL aWithDescriptions, BSTR *aStats));
 
85
    STDMETHOD(ModifyLogFlags)(IN_BSTR a_bstrSettings);
 
86
    STDMETHOD(ModifyLogGroups)(IN_BSTR a_bstrSettings);
 
87
    STDMETHOD(ModifyLogDestinations)(IN_BSTR a_bstrSettings);
 
88
    STDMETHOD(ReadPhysicalMemory)(LONG64 a_Address, ULONG a_cbRead, ComSafeArrayOut(BYTE, a_abData));
 
89
    STDMETHOD(WritePhysicalMemory)(LONG64 a_Address, ULONG a_cbRead, ComSafeArrayIn(BYTE, a_abData));
 
90
    STDMETHOD(ReadVirtualMemory)(ULONG a_idCpu, LONG64 a_Address, ULONG a_cbRead, ComSafeArrayOut(BYTE, a_abData));
 
91
    STDMETHOD(WriteVirtualMemory)(ULONG a_idCpu, LONG64 a_Address, ULONG a_cbRead, ComSafeArrayIn(BYTE, a_abData));
 
92
    STDMETHOD(DetectOS)(BSTR *a_pbstrName);
 
93
    STDMETHOD(GetRegister)(ULONG a_idCpu, IN_BSTR a_bstrName, BSTR *a_pbstrValue);
 
94
    STDMETHOD(GetRegisters)(ULONG a_idCpu, ComSafeArrayOut(BSTR, a_bstrNames), ComSafeArrayOut(BSTR, a_bstrValues));
 
95
    STDMETHOD(SetRegister)(ULONG a_idCpu, IN_BSTR a_bstrName, IN_BSTR a_bstrValue);
 
96
    STDMETHOD(SetRegisters)(ULONG a_idCpu, ComSafeArrayIn(IN_BSTR, a_bstrNames), ComSafeArrayIn(IN_BSTR, a_bstrValues));
 
97
    STDMETHOD(DumpGuestStack)(ULONG a_idCpu, BSTR *a_pbstrStack);
 
98
    STDMETHOD(ResetStats)(IN_BSTR aPattern);
 
99
    STDMETHOD(DumpStats)(IN_BSTR aPattern);
 
100
    STDMETHOD(GetStats)(IN_BSTR aPattern, BOOL aWithDescriptions, BSTR *aStats);
82
101
 
83
102
 
84
103
    // "public-private methods"
85
104
    void flushQueuedSettings();
86
105
 
87
 
    // for VirtualBoxSupportErrorInfoImpl
88
 
    static const wchar_t *getComponentName() { return L"MachineDebugger"; }
89
 
 
90
106
private:
91
107
    // private methods
92
108
    bool queueSettings() const;
104
120
    bool mFlushMode;
105
121
};
106
122
 
107
 
#endif /* ____H_MACHINEDEBUGGER */
 
123
#endif /* !____H_MACHINEDEBUGGER */
108
124
/* vi: set tabstop=4 shiftwidth=4 expandtab: */