Changeset 61


Ignore:
Timestamp:
Dec 16, 2010, 4:45:27 PM (15 years ago)
Author:
markus
Message:

removed INT 3 from memcpy (haha, got ya!); removed obsolete atapi_execute_cdb_pp func

Location:
trunk/src/os2ahci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/atapi.c

    r60 r61  
    3232
    3333static void atapi_req_sense_pp      (IORBH _far *iorb);
    34 static void atapi_execute_cdb_pp    (IORBH _far *iorb);
    3534
    3635
     
    4039
    4140/******************************************************************************
    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.
    4442 */
    4543int atapi_get_geometry(IORBH _far *iorb, int slot)
     
    5048
    5149/******************************************************************************
    52  * Test whether unit is ready.
     50 * Test whether unit is ready. This function is not expected to be called.
    5351 */
    5452int atapi_unit_ready(IORBH _far *iorb, int slot)
     
    118116
    119117/******************************************************************************
    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.
    121120 */
    122121int atapi_verify(IORBH _far *iorb, int slot)
     
    128127
    129128/******************************************************************************
    130  * Write sectors to AHCI device.
     129 * Write sectors to AHCI device. This function is not expected to be called.
    131130 */
    132131int atapi_write(IORBH _far *iorb, int slot)
     
    160159  if (rc == 0) {
    161160    add_workspace(iorb)->blocks = pt->cSGList;
    162     add_workspace(iorb)->ppfunc = atapi_execute_cdb_pp;
     161    /* no pp func needed */
    163162
    164163  } else if (rc > 0) {
     
    172171}
    173172
    174 /******************************************************************************
    175  * Post processing function for atapi_execute_cdb(); since we have no
    176  * knowledge of the command itself, we just tell the IRQ handler that
    177  * we're done.
    178  */
    179 static void atapi_execute_cdb_pp(IORBH _far *iorb)
    180 {
    181   add_workspace(iorb)->complete = 1;
    182 }
    183173
    184174/******************************************************************************
  • trunk/src/os2ahci/init.asm

    r18 r61  
    252252                ENTER   0, 0
    253253
    254                 INT     3
    255                
    256254                PUSH    SI
    257255                PUSH    DI
Note: See TracChangeset for help on using the changeset viewer.