Changeset 545 for soft/giet_vm/giet_drivers/hba_driver.h
- Timestamp:
- Apr 4, 2015, 11:32:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/hba_driver.h
r540 r545 13 13 // 14 14 // 2. This HBA component support split memory buffers (several physical 15 // buffers for one single command), but this driver supports only 15 // buffers for one single command), but this driver supports only one 16 16 // single buffer commands. 17 17 // … … 65 65 /////////////////////////////////////////////////////////////////////////////////// 66 66 67 typedef struct hba_cmd_header_s // size = 128 bytes 67 /////////////////////////////// 68 typedef struct hba_cmd_header_s // size = 16 bytes 68 69 { 69 70 // WORD 0 … … 82 83 unsigned char res2; // reserved 83 84 84 // WORD 3 to 3185 unsigned int res [29];// reserved85 // WORD 3 86 unsigned int res3; // reserved 86 87 87 88 } hba_cmd_header_t; 88 89 90 /////////////////////////////// 89 91 typedef struct hba_cmd_buffer_s // size = 16 bytes 90 92 { … … 96 98 } hba_cmd_buffer_t; 97 99 98 typedef struct hba_cmd_table_s // size = 256 bytes 100 ////////////////////////////// 101 typedef struct hba_cmd_table_s // size = 32 bytes 99 102 { 100 103 101 104 hba_cmd_header_t header; // contains LBA 102 105 hba_cmd_buffer_t buffer; // only one physical buffer 103 char res[112]; // for 256 bytes alignment104 106 105 107 } hba_cmd_table_t; … … 109 111 /////////////////////////////////////////////////////////////////////////////////// 110 112 113 ///////////////////////////// 111 114 typedef struct hba_cmd_desc_s // size = 16 bytes 112 115 {
Note: See TracChangeset
for help on using the changeset viewer.