Changeset 6189 in vbox
- Timestamp:
- Dec 27, 2007 3:36:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r6188 r6189 64 64 #endif /* VBOX_SERIAL_PCI */ 65 65 66 #define SERIAL_SAVED_STATE_VERSION 266 #define SERIAL_SAVED_STATE_VERSION 3 67 67 68 68 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ … … 378 378 ret |= (s->mcr & 0x01) << 5; 379 379 } else { 380 #ifndef IN_RING3 381 *pRC = VINF_IOM_HC_IOPORT_READ; 382 #else 380 383 ret = s->msr; 381 384 /* Reset delta bits. */ … … 383 386 s->msr_changed = false; 384 387 serial_update_irq(s); 388 #endif 385 389 } 386 390 break; … … 560 564 SSMR3PutS32(pSSMHandle, pData->last_break_enable); 561 565 SSMR3PutU32(pSSMHandle, pData->base); 566 SSMR3PutBool(pSSMHandle, pData->msr_changed); 562 567 return SSMR3PutU32(pSSMHandle, ~0); /* sanity/terminator */ 563 568 } … … 597 602 SSMR3GetS32(pSSMHandle, &pData->last_break_enable); 598 603 SSMR3GetU32(pSSMHandle, &pData->base); 604 SSMR3GetBool(pSSMHandle, &pData->msr_changed); 599 605 600 606 rc = SSMR3GetU32(pSSMHandle, &u32);
Note:
See TracChangeset
for help on using the changeset viewer.