Subversion Repositories HelenOS-historic

Rev

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

Rev 741 Rev 753
Line 92... Line 92...
92
     * Check if there is an unallocated ASID.
92
     * Check if there is an unallocated ASID.
93
     */
93
     */
94
   
94
   
95
    ipl = interrupts_disable();
95
    ipl = interrupts_disable();
96
    spinlock_lock(&asidlock);
96
    spinlock_lock(&asidlock);
97
    if (ASID_STEALING_ENABLED && asids_allocated == ASIDS_ALLOCABLE) {
97
    if (asids_allocated == ASIDS_ALLOCABLE) {
98
 
98
 
99
        /*
99
        /*
100
         * All ASIDs are already allocated.
100
         * All ASIDs are already allocated.
101
         * Resort to stealing.
101
         * Resort to stealing.
102
         */
102
         */