Subversion Repositories HelenOS

Rev

Rev 4638 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4638 Rev 4679
Line 150... Line 150...
150
    ASSERT(CPU);
150
    ASSERT(CPU);
151
   
151
   
152
    CPU->tlb_active = 0;
152
    CPU->tlb_active = 0;
153
    spinlock_lock(&tlblock);
153
    spinlock_lock(&tlblock);
154
    spinlock_unlock(&tlblock);
154
    spinlock_unlock(&tlblock);
155
   
155
 
156
    spinlock_lock(&CPU->lock);
156
    spinlock_lock(&CPU->lock);
157
    ASSERT(CPU->tlb_messages_count <= TLB_MESSAGE_QUEUE_LEN);
157
    ASSERT(CPU->tlb_messages_count <= TLB_MESSAGE_QUEUE_LEN);
158
 
158
 
159
    for (i = 0; i < CPU->tlb_messages_count; CPU->tlb_messages_count--) {
159
    for (i = 0; i < CPU->tlb_messages_count; CPU->tlb_messages_count--) {
160
        type = CPU->tlb_messages[i].type;
160
        type = CPU->tlb_messages[i].type;