Changeset 570 for trunk/hal/x86_64/drivers
- Timestamp:
- Oct 5, 2018, 12:08:35 AM (6 years ago)
- Location:
- trunk/hal/x86_64/drivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/drivers/ioc_ata.c
r503 r570 205 205 206 206 // get command arguments and extended pointer on IOC device 207 cmd_type = hal_remote_l w( XPTR( th_cxy , &th_ptr->ioc_cmd.type ) );208 lba = hal_remote_l w( XPTR( th_cxy , &th_ptr->ioc_cmd.lba ) );209 count = hal_remote_l w( XPTR( th_cxy , &th_ptr->ioc_cmd.count ) );210 buf_xp = (xptr_t)hal_remote_l wd( XPTR( th_cxy , &th_ptr->ioc_cmd.buf_xp ) );207 cmd_type = hal_remote_l32 ( XPTR( th_cxy , &th_ptr->ioc_cmd.type ) ); 208 lba = hal_remote_l32 ( XPTR( th_cxy , &th_ptr->ioc_cmd.lba ) ); 209 count = hal_remote_l32 ( XPTR( th_cxy , &th_ptr->ioc_cmd.count ) ); 210 buf_xp = (xptr_t)hal_remote_l64( XPTR( th_cxy , &th_ptr->ioc_cmd.buf_xp ) ); 211 211 212 212 /* execute operation */ -
trunk/hal/x86_64/drivers/txt_rs232.c
r321 r570 46 46 47 47 // get command type and extended pointer on TXT device 48 uint32_t type = hal_remote_l w( XPTR( th_cxy , &th_ptr->txt_cmd.type ) );49 xptr_t dev_xp = (xptr_t)hal_remote_l wd( XPTR( th_cxy , &th_ptr->txt_cmd.dev_xp ) );48 uint32_t type = hal_remote_l32 ( XPTR( th_cxy , &th_ptr->txt_cmd.type ) ); 49 xptr_t dev_xp = (xptr_t)hal_remote_l64( XPTR( th_cxy , &th_ptr->txt_cmd.dev_xp ) ); 50 50 51 51 // get TXT device cluster and local pointer … … 54 54 55 55 // get TTY channel index 56 uint32_t channel = hal_remote_l w( XPTR( dev_cxy , &dev_ptr->channel ) );56 uint32_t channel = hal_remote_l32( XPTR( dev_cxy , &dev_ptr->channel ) ); 57 57 58 58 // for now, only channel zero … … 70 70 71 71 // get source buffer extended pointer & bytes count 72 uint32_t count = hal_remote_l w( XPTR( th_cxy , &th_ptr->txt_cmd.count ) );73 xptr_t buf_xp = hal_remote_l wd( XPTR( th_cxy , &th_ptr->txt_cmd.buf_xp ) );72 uint32_t count = hal_remote_l32 ( XPTR( th_cxy , &th_ptr->txt_cmd.count ) ); 73 xptr_t buf_xp = hal_remote_l64( XPTR( th_cxy , &th_ptr->txt_cmd.buf_xp ) ); 74 74 75 75 // loop on characters
Note: See TracChangeset
for help on using the changeset viewer.