Subversion Repositories HelenOS

Rev

Rev 2284 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2284 Rev 2286
Line 251... Line 251...
251
    /*
251
    /*
252
    * We are holding a lock which prevents preemption.
252
    * We are holding a lock which prevents preemption.
253
    * Release the lock, call clock() and reacquire the lock again.
253
    * Release the lock, call clock() and reacquire the lock again.
254
    */
254
    */
255
    spinlock_unlock(&irq->lock);
255
    spinlock_unlock(&irq->lock);
256
//  clock();
256
    clock();
257
    spinlock_lock(&irq->lock);
257
    spinlock_lock(&irq->lock);
258
 
258
 
259
    /* acknowledge tick */
259
    /* acknowledge tick */
260
    *(uint32_t*) gxemul_hw_map.rtc_ack = 0;
260
    *(uint32_t*) gxemul_hw_map.rtc_ack = 0;
261
   
261