Subversion Repositories HelenOS

Rev

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

Rev 2927 Rev 3153
Line 74... Line 74...
74
 
74
 
75
    as->arch.itsb = (tsb_entry_t *) tsb;
75
    as->arch.itsb = (tsb_entry_t *) tsb;
76
    as->arch.dtsb = (tsb_entry_t *) (tsb + ITSB_ENTRY_COUNT *
76
    as->arch.dtsb = (tsb_entry_t *) (tsb + ITSB_ENTRY_COUNT *
77
        sizeof(tsb_entry_t));
77
        sizeof(tsb_entry_t));
78
 
78
 
79
    memsetb((uintptr_t) as->arch.itsb,
79
    memsetb(as->arch.itsb,
80
        (ITSB_ENTRY_COUNT + DTSB_ENTRY_COUNT) * sizeof(tsb_entry_t), 0);
80
        (ITSB_ENTRY_COUNT + DTSB_ENTRY_COUNT) * sizeof(tsb_entry_t), 0);
81
#endif
81
#endif
82
    return 0;
82
    return 0;
83
}
83
}
84
 
84