- Timestamp:
- 02/24/07 09:51:56 (17 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/streaming-rework/src/libieee1394/ieee1394service.cpp
r414 r415 213 213 } 214 214 215 bool 216 Ieee1394Service::lockCompareSwap64( fb_nodeid_t nodeId, 217 fb_nodeaddr_t addr, 218 fb_octlet_t compare_value, 219 fb_octlet_t swap_value, 220 fb_octlet_t* result ) 221 { 222 #ifdef DEBUG 223 debugOutput(DEBUG_LEVEL_VERY_VERBOSE,"lockCompareSwap64: node 0x%X, addr = 0x%016X\n", 224 nodeId, addr); 225 debugOutput(DEBUG_LEVEL_VERY_VERBOSE," if (*(addr)==0x%016llX) *(addr)=0x%016llX\n", 226 compare_value, swap_value); 227 #endif 228 229 return raw1394_lock64(m_handle, nodeId, addr, RAW1394_EXTCODE_COMPARE_SWAP, 230 swap_value, compare_value, result) == 0; 231 } 232 215 233 fb_quadlet_t* 216 234 Ieee1394Service::transactionBlock( fb_nodeid_t nodeId, … … 328 346 } 329 347 330 bool Ieee1394Service::registerARM handler(ARMHandler *h) {348 bool Ieee1394Service::registerARMHandler(ARMHandler *h) { 331 349 debugOutput(DEBUG_LEVEL_VERBOSE, "Registering ARM handler (%p) for 0x%016llX, length %u\n", 332 350 h, h->getStart(), h->getLength()); … … 348 366 } 349 367 350 bool Ieee1394Service::unregisterARM handler( ARMHandler *h ) {368 bool Ieee1394Service::unregisterARMHandler( ARMHandler *h ) { 351 369 debugOutput(DEBUG_LEVEL_VERBOSE, "Unregistering ARM handler (%p) for 0x%016llX\n", 352 370 h, h->getStart()); … … 407 425 debugOutput(DEBUG_LEVEL_VERBOSE, " Could not find free block in %d tries\n",cnt); 408 426 return 0xFFFFFFFFFFFFFFFFLLU; 409 410 427 } 411 428