Changeset 4270 in vbox
- Timestamp:
- Aug 21, 2007 10:12:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r4269 r4270 5867 5867 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 5868 5868 5869 ULONG uIRQ, uIOBase, uHostMode; 5869 ULONG uIRQ, uIOBase; 5870 SerialHostMode_T HostMode; 5870 5871 Bstr path; 5871 5872 BOOL fServer; 5872 hrc = serialPort->COMGETTER(HostMode)(& uHostMode);H();5873 hrc = serialPort->COMGETTER(HostMode)(&HostMode); H(); 5873 5874 hrc = serialPort->COMGETTER(IRQ)(&uIRQ); H(); 5874 5875 hrc = serialPort->COMGETTER(IOBase)(&uIOBase); H(); … … 5877 5878 rc = CFGMR3InsertInteger(pCfg, "IRQ", uIRQ); RC_CHECK(); 5878 5879 rc = CFGMR3InsertInteger(pCfg, "IOBase", uIOBase); RC_CHECK(); 5879 if ( uHostMode != SerialHostMode_Disconnected)5880 if (HostMode != SerialHostMode_Disconnected) 5880 5881 { 5881 5882 rc = CFGMR3InsertNode(pInst, "LUN#0", &pLunL0); RC_CHECK(); 5882 if ( uHostMode == SerialHostMode_HostPipe)5883 if (HostMode == SerialHostMode_HostPipe) 5883 5884 { 5884 5885 rc = CFGMR3InsertString(pLunL0, "Driver", "Char"); RC_CHECK(); … … 5889 5890 rc = CFGMR3InsertInteger(pLunL2, "IsServer", fServer); RC_CHECK(); 5890 5891 } 5891 else if ( uHostMode == SerialHostMode_HostDevice)5892 else if (HostMode == SerialHostMode_HostDevice) 5892 5893 { 5893 5894 rc = CFGMR3InsertString(pLunL0, "Driver", "Host Serial"); RC_CHECK();
Note:
See TracChangeset
for help on using the changeset viewer.