Changeset 12956e57 in mainline for uspace/srv/bd/ata_bd/ata_bd.h


Ignore:
Timestamp:
2009-06-20T19:31:19Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2dfd9fa
Parents:
ac47b7c2
Message:

Use fibril synchronization in bd drivers. Use per-disk locks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.h

    rac47b7c2 r12956e57  
    3737
    3838#include <sys/types.h>
     39#include <fibril_sync.h>
    3940
    4041enum {
     
    140141        unsigned sectors;
    141142        uint64_t blocks;
     143
     144        fibril_mutex_t lock;
     145        dev_handle_t dev_handle;
    142146} disk_t;
    143147
Note: See TracChangeset for help on using the changeset viewer.