Changeset 61
- Timestamp:
- Dec 16, 2010, 4:45:27 PM (15 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/atapi.c
r60 r61 32 32 33 33 static void atapi_req_sense_pp (IORBH _far *iorb); 34 static void atapi_execute_cdb_pp (IORBH _far *iorb);35 34 36 35 … … 40 39 41 40 /****************************************************************************** 42 * Get device or media geometry. This function is expected to check the IORB 43 * command codes and modifiers to see which one is requested. 41 * Get device or media geometry. This function is not expected to be called. 44 42 */ 45 43 int atapi_get_geometry(IORBH _far *iorb, int slot) … … 50 48 51 49 /****************************************************************************** 52 * Test whether unit is ready. 50 * Test whether unit is ready. This function is not expected to be called. 53 51 */ 54 52 int atapi_unit_ready(IORBH _far *iorb, int slot) … … 118 116 119 117 /****************************************************************************** 120 * Verify readability of sectors on AHCI device. 118 * Verify readability of sectors on AHCI device. This function is not expected 119 * to be called. 121 120 */ 122 121 int atapi_verify(IORBH _far *iorb, int slot) … … 128 127 129 128 /****************************************************************************** 130 * Write sectors to AHCI device. 129 * Write sectors to AHCI device. This function is not expected to be called. 131 130 */ 132 131 int atapi_write(IORBH _far *iorb, int slot) … … 160 159 if (rc == 0) { 161 160 add_workspace(iorb)->blocks = pt->cSGList; 162 add_workspace(iorb)->ppfunc = atapi_execute_cdb_pp;161 /* no pp func needed */ 163 162 164 163 } else if (rc > 0) { … … 172 171 } 173 172 174 /******************************************************************************175 * Post processing function for atapi_execute_cdb(); since we have no176 * knowledge of the command itself, we just tell the IRQ handler that177 * we're done.178 */179 static void atapi_execute_cdb_pp(IORBH _far *iorb)180 {181 add_workspace(iorb)->complete = 1;182 }183 173 184 174 /****************************************************************************** -
trunk/src/os2ahci/init.asm
r18 r61 252 252 ENTER 0, 0 253 253 254 INT 3255 256 254 PUSH SI 257 255 PUSH DI
Note:
See TracChangeset
for help on using the changeset viewer.