Changeset 19dba2b in mainline


Ignore:
Timestamp:
2006-09-19T10:28:32Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3abe07f5
Parents:
29b2bbf
Message:

Small improvement in initialization of sparc64's TBSs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/as.c

    r29b2bbf r19dba2b  
    6767        as->arch.itsb = (tsb_entry_t *) tsb;
    6868        as->arch.dtsb = (tsb_entry_t *) (tsb + ITSB_ENTRY_COUNT * sizeof(tsb_entry_t));
     69        memsetb((uintptr_t) as->arch.itsb, (ITSB_ENTRY_COUNT+DTSB_ENTRY_COUNT)*sizeof(tsb_entry_t), 0);
    6970#endif
    7071        return 0;
     
    8788        ipl_t ipl;
    8889
    89         memsetb((uintptr_t) as->arch.itsb, (ITSB_ENTRY_COUNT+DTSB_ENTRY_COUNT)*sizeof(tsb_entry_t), 0);
    9090        ipl = interrupts_disable();
    9191        mutex_lock_active(&as->lock);   /* completely unnecessary, but polite */
Note: See TracChangeset for help on using the changeset viewer.