Changeset 101617 in vbox for trunk/include/VBox
- Timestamp:
- Oct 27, 2023 12:46:15 PM (15 months ago)
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/log.h
r101320 r101617 125 125 /** Guest Interface Manager Device group. */ 126 126 LOG_GROUP_DEV_GIM, 127 /** General Purpose I/O controller Device group. */ 128 LOG_GROUP_DEV_GPIO, 127 129 /** HDA Device group. */ 128 130 LOG_GROUP_DEV_HDA, … … 217 219 /** Floppy media driver group. */ 218 220 LOG_GROUP_DRV_FLOPPY, 221 /** General Purpose I/O driver group. */ 222 LOG_GROUP_DRV_GPIO, 219 223 /** Host Audio driver group. */ 220 224 LOG_GROUP_DRV_HOST_AUDIO, … … 896 900 "DEV_FLASH", \ 897 901 "DEV_GIM", \ 902 "DEV_GPIO", \ 898 903 "DEV_HDA", \ 899 904 "DEV_HDA_CODEC", \ … … 942 947 "DRV_DISPLAY", \ 943 948 "DRV_FLOPPY", \ 949 "DRV_GPIO", \ 944 950 "DRV_HOST_AUDIO", \ 945 951 "DRV_HOST_BASE", \ -
trunk/include/VBox/vmm/pdmdev.h
r100184 r101617 536 536 /** Host PCI pass-through device */ 537 537 #define PDM_DEVREG_CLASS_HOST_DEV RT_BIT(18) 538 /** GPIO device */ 539 #define PDM_DEVREG_CLASS_GPIO RT_BIT(19) 538 540 /** Misc devices (always last). */ 539 541 #define PDM_DEVREG_CLASS_MISC RT_BIT(31) -
trunk/include/VBox/vmm/pdmifs.h
r101599 r101617 2398 2398 #define PDMIVFSCONNECTOR_IID "a1fc51e0-414a-4e78-8388-8053b9dc6521" 2399 2399 2400 2401 /** Pointer to an GPIO port interface. */ 2402 typedef struct PDMIGPIOPORT *PPDMIGPIOPORT; 2403 /** 2404 * Interface for GPIO ports (down). 2405 * Pair with PDMIGPIOCONNECTORS. 2406 */ 2407 typedef struct PDMIGPIOPORT 2408 { 2409 2410 /** 2411 * Changes the state of the indicated GPIO line to the given value. 2412 * 2413 * @returns VBox status code. 2414 * @param pInterface Pointer to this interface. 2415 * @param idGpio The GPIO line ID to change. 2416 * @param fVal The value to change the GPIO line to. 2417 */ 2418 DECLR3CALLBACKMEMBER(int, pfnGpioLineChange, (PPDMIGPIOPORT pInterface, uint32_t idGpio, bool fVal)); 2419 2420 /** 2421 * Returns whether the given GPIO line is configured as an input. 2422 * 2423 * @returns true if the line is configured as an input, false if output. 2424 * @param pInterface Pointer to this interface. 2425 * @param idGpio The GPIO line ID to check. 2426 */ 2427 DECLR3CALLBACKMEMBER(bool, pfnGpioLineIsInput, (PPDMIGPIOPORT pInterface, uint32_t idGpio)); 2428 2429 } PDMIGPIOPORT; 2430 /** PDMIGPIOPORT interface ID. */ 2431 #define PDMIGPIOPORT_IID "75e0017c-4cda-47a4-8160-f4cc436025c4" 2432 2433 2434 /** Pointer to an GPIO connectors interface. */ 2435 typedef struct PDMIGPIOCONNECTOR *PPDMIGPIOCONNECTOR; 2436 /** 2437 * GPIO connector interface (up). 2438 * Pair with PDMIGPIOPORT. 2439 */ 2440 typedef struct PDMIGPIOCONNECTOR 2441 { 2442 uint32_t uDummy; 2443 } PDMIGPIOCONNECTOR; 2444 /** PDMIGPIOCONNECTOR interface ID. */ 2445 #define PDMIGPIOCONNECTOR_IID "504bff7e-489f-4829-8cc3-f9b080d39133" 2446 2400 2447 /** @} */ 2401 2448
Note:
See TracChangeset
for help on using the changeset viewer.