Changeset ae3ff9f5 in mainline for uspace/drv/block/ahci/ahci.h
- Timestamp:
- 2012-07-18T17:35:08Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7030bc9
- Parents:
- 730dce77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/ahci/ahci.h
r730dce77 rae3ff9f5 46 46 47 47 /** Pointer to AHCI memory registers. */ 48 ahci_memregs_t *memregs;48 volatile ahci_memregs_t *memregs; 49 49 50 50 /** AHCI device global timer. */ … … 53 53 /** Pointers to sata devices. */ 54 54 void *sata_devs[32]; 55 56 /** Device has harware interrupt. */ 57 bool is_hw_interrupt; 55 58 } ahci_dev_t; 56 59 … … 64 67 65 68 /** Port interrupt states shadow registers. */ 66 volatileahci_port_is_t shadow_pxis;69 ahci_port_is_t shadow_pxis; 67 70 68 71 /** Device in invalid state (disconnected and so on). */ 69 volatile boolinvalid_device;72 bool is_invalid_device; 70 73 71 74 /** Pointer to SATA port. */ 72 75 volatile ahci_port_t *port; 76 73 77 /** Pointer to command header. */ 74 78 volatile ahci_cmdhdr_t *cmd_header; 79 75 80 /** Pointer to command table. */ 76 81 volatile uint32_t *cmd_table; … … 78 83 /** Mutex for single operation on device. */ 79 84 fibril_mutex_t lock; 85 86 /** Mutex for port interrupt state register manipulation. */ 87 fibril_mutex_t pxis_lock; 80 88 81 89 /** Mutex for event signaling condition variable. */ … … 96 104 97 105 /** Device in invalid state (disconnected and so on). */ 98 bool packet_device;106 bool is_packet_device; 99 107 100 108 /** Highest UDMA mode supported. */
Note:
See TracChangeset
for help on using the changeset viewer.