vbox的更動 48214 路徑 trunk/src/VBox/Devices/Input/PS2Dev.h
- 時間撮記:
- 2013-8-31 下午04:16:58 (12 年 以前)
- svn:sync-xref-src-repo-rev:
- 88604
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Input/PS2Dev.h
r44806 r48214 18 18 #define PS2DEV_H 19 19 20 /** The size of the PS2K structure filler.20 /** The size of the PS2K/PS2M structure fillers. 21 21 * @note Must be at least as big as the real struct. Compile time assert 22 22 * makes sure this is so. */ 23 23 #define PS2K_STRUCT_FILLER 512 24 #define PS2M_STRUCT_FILLER 512 24 25 25 26 /* Hide the internal structure. */ … … 31 32 #endif 32 33 34 #if !(defined(IN_PS2M) || defined(VBOX_DEVICE_STRUCT_TESTCASE)) 35 typedef struct PS2M 36 { 37 uint8_t abFiller[PS2M_STRUCT_FILLER]; 38 } PS2M; 39 #endif 40 41 /* Internal PS/2 Keyboard interface. */ 33 42 typedef struct PS2K *PPS2K; 34 43 … … 43 52 int PS2KLoadState(PPS2K pThis, PSSMHANDLE pSSM, uint32_t uVersion); 44 53 54 PS2K *KBDGetPS2KFromDevIns(PPDMDEVINS pDevIns); 55 56 57 /* Internal PS/2 Auxiliary device interface. */ 58 typedef struct PS2M *PPS2M; 59 60 int PS2MByteToAux(PPS2M pThis, uint8_t cmd); 61 int PS2MByteFromAux(PPS2M pThis, uint8_t *pVal); 62 63 int PS2MConstruct(PPS2M pThis, PPDMDEVINS pDevIns, void *pParent, int iInstance); 64 int PS2MAttach(PPS2M pThis, PPDMDEVINS pDevIns, unsigned iLUN, uint32_t fFlags); 65 void PS2MReset(PPS2M pThis); 66 void PS2MRelocate(PPS2M pThis, RTGCINTPTR offDelta, PPDMDEVINS pDevIns); 67 void PS2MSaveState(PPS2M pThis, PSSMHANDLE pSSM); 68 int PS2MLoadState(PPS2M pThis, PSSMHANDLE pSSM, uint32_t uVersion); 69 70 PS2M *KBDGetPS2MFromDevIns(PPDMDEVINS pDevIns); 71 72 73 /* Shared keyboard/aux internal interface. */ 45 74 void KBCUpdateInterrupts(void *pKbc); 46 75 47 PS2K *KBDGetPS2KFromDevIns(PPDMDEVINS pDevIns);48 76 49 77 ///@todo: This should live with the KBC implementation.
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器