Changeset 279 for trunk/kernel/libk
- Timestamp:
- Jul 27, 2017, 12:23:29 AM (7 years ago)
- Location:
- trunk/kernel/libk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/elf.c
r270 r279 191 191 process->vmm.code_vpn_base = start >> CONFIG_PPM_PAGE_SHIFT; 192 192 193 elf_dmsg("\n[INFO] %s found CODE vseg / base = %x / size = %x\n",193 elf_dmsg("\n[INFO] %s : found CODE vseg / base = %x / size = %x\n", 194 194 __FUNCTION__ , start , mem_size ); 195 195 } … … 199 199 process->vmm.data_vpn_base = start >> CONFIG_PPM_PAGE_SHIFT; 200 200 201 elf_dmsg("\n[INFO] %s found DATA vseg / base = %x / size = %x\n",201 elf_dmsg("\n[INFO] %s : found DATA vseg / base = %x / size = %x\n", 202 202 __FUNCTION__, start , mem_size ); 203 203 } -
trunk/kernel/libk/remote_fifo.c
r124 r279 49 49 ////////////////////////////////////////////// 50 50 error_t remote_fifo_put_item( xptr_t fifo, 51 uint64_t *item,51 uint64_t item, 52 52 bool_t * first ) 53 53 { … … 112 112 113 113 // copy item to fifo 114 hal_remote_swd( XPTR( cxy , &ptr->data[ptw] ), *item ); 114 hal_remote_swd( XPTR( cxy , &ptr->data[ptw] ), item ); 115 115 116 hal_fence(); 116 117 -
trunk/kernel/libk/remote_fifo.h
r68 r279 40 40 * 41 41 * WARNING : the number of slots is statically defined by the global 42 * configuration parameter CONFIG_REMOTE_FIFO_SLOTS for all fifos ,requiring43 * 12 * CONFIG_REMOTE_FIFO_SLOTS bytes for each FIFO.42 * configuration parameter CONFIG_REMOTE_FIFO_SLOTS for all fifos. requiring 43 * Each FIFO requires 8 + (12 * CONFIG_REMOTE_FIFO_SLOTS) bytes. 44 44 ***********************************************************************************/ 45 45 … … 67 67 ************************************************************************************ 68 68 * @ fifo : pointer to the local fifo. 69 * @ item : pointer on destination buffer for extracted item. 70 * @ size : actual number of bytes in one item. 69 * @ item : [out] pointer on buffer for extracted item. 71 70 * @ return 0 on success, EAGAIN if the buffer is empty. 72 71 ***********************************************************************************/ … … 78 77 * by an extended pointer. 79 78 * This function gets a write ticket using a remote_atomic_increment on the 80 * write slot index andwaits until the slot is empty, using a descheduling81 * policy (without blocking).79 * write slot. Then, it waits until the slot is empty, using a descheduling 80 * policy without blocking. 82 81 ************************************************************************************ 83 82 * @ fifo : extended pointer to the fifo in remote cluster. 84 * @ item : pointer on a local buffer containing theitem to be stored.83 * @ item : item to be stored. 85 84 * @ first : [out] true if first item registered in remote fifo. 86 85 * @ return 0 on success / EBUSY if a contention has been detected. 87 86 ***********************************************************************************/ 88 87 error_t remote_fifo_put_item( xptr_t fifo, 89 uint64_t *item,88 uint64_t item, 90 89 bool_t * first ); 91 90
Note: See TracChangeset
for help on using the changeset viewer.