Changeset 279 for trunk/kernel/devices/dev_dma.c
- Timestamp:
- Jul 27, 2017, 12:23:29 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_dma.c
r262 r279 99 99 100 100 // register command in calling thread descriptor 101 this-> command.dma.dev_xp = dev_xp;102 this-> command.dma.dst_xp = dst_xp;103 this-> command.dma.src_xp = src_xp;104 this-> command.dma.size = size;101 this->dma_cmd.dev_xp = dev_xp; 102 this->dma_cmd.dst_xp = dst_xp; 103 this->dma_cmd.src_xp = src_xp; 104 this->dma_cmd.size = size; 105 105 106 106 // register client thread in waiting queue, activate server thread … … 110 110 111 111 dma_dmsg("\n[INFO] %s : completes for thread %x / error = %d\n", 112 __FUNCTION__ , this->trdid , this-> command.dma.error );112 __FUNCTION__ , this->trdid , this->dma_cmd.error ); 113 113 114 114 // return I/O operation status from calling thread descriptor 115 return this-> command.dma.error;115 return this->dma_cmd.error; 116 116 117 117 } // dev_dma_remote_memcpy()
Note: See TracChangeset
for help on using the changeset viewer.