Changeset 112 for trunk/src/os2ahci/atapi.h
- Timestamp:
- Jul 6, 2011, 10:02:47 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/atapi.h
r110 r112 33 33 * macros to fill in ATAPI CDB values 34 34 */ 35 #define SET_CDB_16(_t, _v) (_t)[0] = (u8) ((_v) >> 8); 35 #define SET_CDB_16(_t, _v) (_t)[0] = (u8) ((_v) >> 8); \ 36 36 (_t)[1] = (u8) (_v) 37 #define SET_CDB_24(_t, _v) (_t)[0] = (u8) ((_v) >> 16) ;\38 (_t)[1] = (u8) ((_v) >> 8); 37 #define SET_CDB_24(_t, _v) (_t)[0] = (u8) ((_v) >> 16) \ 38 (_t)[1] = (u8) ((_v) >> 8); \ 39 39 (_t)[2] = (u8) (_v) 40 #define SET_CDB_32(_t, _v) (_t)[0] = (u8) ((_v) >> 24); 41 (_t)[1] = (u8) ((_v) >> 16); 42 (_t)[2] = (u8) ((_v) >> 8); 40 #define SET_CDB_32(_t, _v) (_t)[0] = (u8) ((_v) >> 24);\ 41 (_t)[1] = (u8) ((_v) >> 16);\ 42 (_t)[2] = (u8) ((_v) >> 8); \ 43 43 (_t)[3] = (u8) (_v) 44 44
Note:
See TracChangeset
for help on using the changeset viewer.