On Fri, Apr 16, 2010 at 11:49 AM, Jun Koi <junkoi2...@gmail.com> wrote: > Hi, > > In the TLB entry, why do we need to maintain separately addr_read, > addr_write and addr_code? Is it impossible to have only one for all > the purposes? > > As far as I can see in tlb_set_page(), these fields are mutually > exclusive, as they either enable or get invalid value (-1).
Hmm I looked at the code again, and the attributes can be read, write and execute at the same time. Thanks, J