- Timestamp:
- Aug 6, 2017, 8:13:50 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/drivers/txt_rs232.c
r280 r321 53 53 chdev_t * dev_ptr = (chdev_t *)GET_PTR( dev_xp ); 54 54 55 // get extended pointer on base segment56 xptr_t tty_xp = (xptr_t)hal_remote_lwd( XPTR( dev_cxy , &dev_ptr->base ) );57 58 // get base segment cluster and local pointer59 cxy_t tty_cxy = GET_CXY( tty_xp );60 uint32_t * tty_ptr = (uint32_t *)GET_PTR( tty_xp );61 62 55 // get TTY channel index 63 56 uint32_t channel = hal_remote_lw( XPTR( dev_cxy , &dev_ptr->channel ) );
Note: See TracChangeset
for help on using the changeset viewer.