Changeset 540 for soft/giet_vm/giet_drivers/hba_driver.c
- Timestamp:
- Mar 29, 2015, 2:22:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/hba_driver.c
r529 r540 36 36 // command list : up to 32 commands 37 37 __attribute__((section(".kdata"))) 38 hba_cmd_desc_t _hba_cmd_list[32] __attribute__((aligned(0x10 00)));38 hba_cmd_desc_t _hba_cmd_list[32] __attribute__((aligned(0x10))); 39 39 40 40 // command tables array : one command table per entry in command list … … 124 124 125 125 // set buffer descriptor in command table 126 cmd_table-> entry[0].dba = (unsigned int)(buf_paddr);127 cmd_table-> entry[0].dbau = (unsigned int)(buf_paddr >> 32);128 cmd_table-> entry[0].dbc = count * 512;126 cmd_table->buffer.dba = (unsigned int)(buf_paddr); 127 cmd_table->buffer.dbau = (unsigned int)(buf_paddr >> 32); 128 cmd_table->buffer.dbc = count * 512; 129 129 130 130 // initialize command table header
Note: See TracChangeset
for help on using the changeset viewer.