Changeset 11261 in vbox for trunk/include
- Timestamp:
- Aug 8, 2008 3:46:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdev.h
r11224 r11261 671 671 * 672 672 * This should be called at both construction and relocation time 673 * to obtain the correct address of the GChelpers.673 * to obtain the correct address of the R0 helpers. 674 674 * 675 675 * @returns R0 pointer to the PCI Bus helpers. … … 685 685 * @returns Fatal error on failure. 686 686 * @param pDevIns The PCI device instance. 687 * @param rc Dummy for making the interface identical to the GC and R0 versions.687 * @param rc Dummy for making the interface identical to the RC and R0 versions. 688 688 */ 689 689 DECLR3CALLBACKMEMBER(int, pfnLock,(PPDMDEVINS pDevIns, int rc)); … … 723 723 * @param iLevel IRQ level. See the PDM_IRQ_LEVEL_* \#defines. 724 724 */ 725 DECLR3CALLBACKMEMBER(void, pfnSetIrq HC,(PPDMDEVINS pDevIns, int iIrq, int iLevel));725 DECLR3CALLBACKMEMBER(void, pfnSetIrqR3,(PPDMDEVINS pDevIns, int iIrq, int iLevel)); 726 726 727 727 /** … … 731 731 * @param pDevIns Device instance of the PIC. 732 732 */ 733 DECLR3CALLBACKMEMBER(int, pfnGetInterrupt HC,(PPDMDEVINS pDevIns));734 735 /** The name of the GC SetIrq entry point. */736 const char *pszSetIrq GC;737 /** The name of the GC GetInterrupt entry point. */738 const char *pszGetInterrupt GC;733 DECLR3CALLBACKMEMBER(int, pfnGetInterruptR3,(PPDMDEVINS pDevIns)); 734 735 /** The name of the RC SetIrq entry point. */ 736 const char *pszSetIrqRC; 737 /** The name of the RC GetInterrupt entry point. */ 738 const char *pszGetInterruptRC; 739 739 740 740 /** The name of the R0 SetIrq entry point. */ … … 750 750 751 751 /** 752 * PIC GC helpers.753 */ 754 typedef struct PDMPICHLP GC755 { 756 /** Structure version. PDM_PICHLP GC_VERSION defines the current version. */752 * PIC RC helpers. 753 */ 754 typedef struct PDMPICHLPRC 755 { 756 /** Structure version. PDM_PICHLPRC_VERSION defines the current version. */ 757 757 uint32_t u32Version; 758 758 … … 790 790 /** Just a safety precaution. */ 791 791 uint32_t u32TheEnd; 792 } PDMPICHLP GC;793 794 /** Pointer to PIC GC helpers. */795 typedef RCPTRTYPE(PDMPICHLP GC *) PPDMPICHLPGC;796 /** Pointer to const PIC GC helpers. */797 typedef RCPTRTYPE(const PDMPICHLP GC *) PCPDMPICHLPGC;798 799 /** Current PDMPICHLP GC version number. */800 #define PDM_PICHLP GC_VERSION 0xfc010000792 } PDMPICHLPRC; 793 794 /** Pointer to PIC RC helpers. */ 795 typedef RCPTRTYPE(PDMPICHLPRC *) PPDMPICHLPRC; 796 /** Pointer to const PIC RC helpers. */ 797 typedef RCPTRTYPE(const PDMPICHLPRC *) PCPDMPICHLPRC; 798 799 /** Current PDMPICHLPRC version number. */ 800 #define PDM_PICHLPRC_VERSION 0xfc010000 801 801 802 802 … … 853 853 854 854 /** 855 * PIC HChelpers.855 * PIC R3 helpers. 856 856 */ 857 857 typedef struct PDMPICHLPR3 … … 880 880 * @returns Fatal error on failure. 881 881 * @param pDevIns The PIC device instance. 882 * @param rc Dummy for making the interface identical to the GC and R0 versions.882 * @param rc Dummy for making the interface identical to the RC and R0 versions. 883 883 */ 884 884 DECLR3CALLBACKMEMBER(int, pfnLock,(PPDMDEVINS pDevIns, int rc)); … … 892 892 893 893 /** 894 * Gets the address of the GC PIC helpers.894 * Gets the address of the RC PIC helpers. 895 895 * 896 896 * This should be called at both construction and relocation time 897 * to obtain the correct address of the GC helpers.898 * 899 * @returns GC pointer to the PIC helpers.897 * to obtain the correct address of the RC helpers. 898 * 899 * @returns RC pointer to the PIC helpers. 900 900 * @param pDevIns Device instance of the PIC. 901 901 */ 902 DECLR3CALLBACKMEMBER(PCPDMPICHLP GC, pfnGetGCHelpers,(PPDMDEVINS pDevIns));902 DECLR3CALLBACKMEMBER(PCPDMPICHLPRC, pfnGetRCHelpers,(PPDMDEVINS pDevIns)); 903 903 904 904 /** … … 906 906 * 907 907 * This should be called at both construction and relocation time 908 * to obtain the correct address of the GChelpers.908 * to obtain the correct address of the R0 helpers. 909 909 * 910 910 * @returns R0 pointer to the PIC helpers. … … 917 917 } PDMPICHLPR3; 918 918 919 /** Pointer to PIC HChelpers. */919 /** Pointer to PIC R3 helpers. */ 920 920 typedef R3PTRTYPE(PDMPICHLPR3 *) PPDMPICHLPR3; 921 /** Pointer to const PIC HChelpers. */921 /** Pointer to const PIC R3 helpers. */ 922 922 typedef R3PTRTYPE(const PDMPICHLPR3 *) PCPDMPICHLPR3; 923 923 … … 1282 1282 * Private interface between the IOAPIC and APIC. 1283 1283 * 1284 * See comments about this hack on PDMAPICREG::pfnBusDeliver HC.1284 * See comments about this hack on PDMAPICREG::pfnBusDeliverR3. 1285 1285 * 1286 1286 * @returns The current TPR. … … 1336 1336 * Private interface between the IOAPIC and APIC. 1337 1337 * 1338 * See comments about this hack on PDMAPICREG::pfnBusDeliver HC.1338 * See comments about this hack on PDMAPICREG::pfnBusDeliverR3. 1339 1339 * 1340 1340 * @returns The current TPR. … … 1379 1379 1380 1380 /** 1381 * IOAPIC HChelpers.1381 * IOAPIC R3 helpers. 1382 1382 */ 1383 1383 typedef struct PDMIOAPICHLPR3 … … 1389 1389 * Private interface between the IOAPIC and APIC. 1390 1390 * 1391 * See comments about this hack on PDMAPICREG::pfnBusDeliver HC.1391 * See comments about this hack on PDMAPICREG::pfnBusDeliverR3. 1392 1392 * 1393 1393 * @returns The current TPR. … … 1445 1445 uint32_t u32TheEnd; 1446 1446 } PDMIOAPICHLPR3; 1447 /** Pointer to IOAPIC HChelpers. */1447 /** Pointer to IOAPIC R3 helpers. */ 1448 1448 typedef R3PTRTYPE(PDMIOAPICHLPR3 *) PPDMIOAPICHLPR3; 1449 1449 /** Pointer to const IOAPIC helpers. */
Note:
See TracChangeset
for help on using the changeset viewer.