Subversion Repositories HelenOS

Rev

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

Rev 3674 Rev 4343
Line 145... Line 145...
145
         */
145
         */
146
        dtlb_insert_mapping(virtaddr + i * sizemap[order].increment,
146
        dtlb_insert_mapping(virtaddr + i * sizemap[order].increment,
147
            physaddr + i * sizemap[order].increment,
147
            physaddr + i * sizemap[order].increment,
148
            sizemap[order].pagesize_code, true, false);
148
            sizemap[order].pagesize_code, true, false);
149
   
149
   
150
#ifdef CONFIG_SMP   
150
#ifdef CONFIG_SMP
151
        /*
151
        /*
152
         * Second, save the information about the mapping for APs.
152
         * Second, save the information about the mapping for APs.
153
         */
153
         */
154
        bsp_locked_dtlb_entry[bsp_locked_dtlb_entries].virt_page =
154
        bsp_locked_dtlb_entry[bsp_locked_dtlb_entries].virt_page =
155
            virtaddr + i * sizemap[order].increment;
155
            virtaddr + i * sizemap[order].increment;
Line 162... Line 162...
162
    }
162
    }
163
   
163
   
164
    return virtaddr;
164
    return virtaddr;
165
}
165
}
166
 
166
 
-
 
167
void hw_area(uintptr_t *physaddr, pfn_t *frames)
-
 
168
{
-
 
169
    *physaddr = end_frame;
-
 
170
    *frames = ADDR2PFN(0x7ffffffffff - end_frame);
-
 
171
}
-
 
172
 
167
/** @}
173
/** @}
168
 */
174
 */
169
 
-