Changeset 82204 in vbox
- Timestamp:
- Nov 25, 2019 9:55:12 PM (5 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/DevPS2.cpp
r82203 r82204 208 208 209 209 /** update irq and KBD_STAT_[MOUSE_]OBF */ 210 static void kbd_update_irq(PPDMDEVINS pDevIns, KBDState *s)210 static void kbd_update_irq(PPDMDEVINS pDevIns, PKBDSTATE s) 211 211 { 212 212 int irq12_level, irq1_level; … … 444 444 PS2K *KBDGetPS2KFromDevIns(PPDMDEVINS pDevIns) 445 445 { 446 KBDState *pThis = PDMDEVINS_2_DATA(pDevIns, PKBDSTATE);446 PKBDSTATE pThis = PDMDEVINS_2_DATA(pDevIns, PKBDSTATE); 447 447 return &pThis->Kbd; 448 448 } … … 450 450 PS2M *KBDGetPS2MFromDevIns(PPDMDEVINS pDevIns) 451 451 { 452 KBDState *pThis = PDMDEVINS_2_DATA(pDevIns, PKBDSTATE);452 PKBDSTATE pThis = PDMDEVINS_2_DATA(pDevIns, PKBDSTATE); 453 453 return &pThis->Aux; 454 454 } … … 515 515 #ifdef IN_RING3 516 516 517 static int kbd_load(PCPDMDEVHLPR3 pHlp, PSSMHANDLE pSSM, KBDState *s, uint32_t version_id)517 static int kbd_load(PCPDMDEVHLPR3 pHlp, PSSMHANDLE pSSM, PKBDSTATE s, uint32_t version_id) 518 518 { 519 519 uint32_t u32, i; … … 1093 1093 /* .cMaxInstances = */ 1, 1094 1094 /* .uSharedVersion = */ 42, 1095 /* .cbInstanceShared = */ sizeof(KBDS tate),1095 /* .cbInstanceShared = */ sizeof(KBDSTATE), 1096 1096 /* .cbInstanceCC = */ 0, 1097 1097 /* .cbInstanceRC = */ 0, -
trunk/src/VBox/Devices/Input/DevPS2.h
r82203 r82204 344 344 /** Mouse state (implemented in separate PS2M module). */ 345 345 PS2M Aux; 346 } KBDSTATE , KBDState;346 } KBDSTATE; 347 347 348 348 -
trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp
r82087 r82204 448 448 449 449 /* Input/pckbd.c */ 450 GEN_CHECK_SIZE(KBDS tate);451 GEN_CHECK_OFF(KBDS tate, write_cmd);452 GEN_CHECK_OFF(KBDS tate, status);453 GEN_CHECK_OFF(KBDS tate, mode);454 GEN_CHECK_OFF(KBDS tate, pDevInsR3);455 GEN_CHECK_OFF(KBDS tate, pDevInsR0);456 GEN_CHECK_OFF(KBDS tate, pDevInsRC);450 GEN_CHECK_SIZE(KBDSTATE); 451 GEN_CHECK_OFF(KBDSTATE, write_cmd); 452 GEN_CHECK_OFF(KBDSTATE, status); 453 GEN_CHECK_OFF(KBDSTATE, mode); 454 GEN_CHECK_OFF(KBDSTATE, pDevInsR3); 455 GEN_CHECK_OFF(KBDSTATE, pDevInsR0); 456 GEN_CHECK_OFF(KBDSTATE, pDevInsRC); 457 457 GEN_CHECK_SIZE(KbdKeyQ); 458 458 GEN_CHECK_OFF(KbdCmdQ, rpos);
Note:
See TracChangeset
for help on using the changeset viewer.