Changeset 27740 in vbox for trunk/src/VBox
- Timestamp:
- Mar 26, 2010 1:28:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/vbi/i86pc/os/vbi.c
r27674 r27740 1251 1251 * This is revision 8 of the interface. 1252 1252 */ 1253 1253 static vnode_t vbipagevp; 1254 1254 1255 page_t ** 1255 1256 vbi_pages_alloc(uint64_t *phys, size_t size) … … 1287 1288 { 1288 1289 /* get a page from the freelist */ 1289 page_t *ppage = page_get_freelist(& kvp, 0 /* offset */, &kernseg, virtAddr,1290 page_t *ppage = page_get_freelist(&vbipagevp, 0 /* offset */, &kernseg, virtAddr, 1290 1291 PAGESIZE, 0 /* flags */, NULL /* local group */); 1291 1292 if (!ppage) 1292 1293 { 1293 1294 /* try from the cachelist */ 1294 ppage = page_get_cachelist(& kvp, 0 /* offset */, &kernseg, virtAddr,1295 ppage = page_get_cachelist(&vbipagevp, 0 /* offset */, &kernseg, virtAddr, 1295 1296 0 /* flags */, NULL /* local group */); 1296 1297 if (!ppage) … … 1310 1311 } 1311 1312 1312 PP_CLRFREE(ppage); 1313 PP_CLRAGED(ppage); 1313 PP_CLRFREE(ppage); /* Page is not free */ 1314 PP_CLRAGED(ppage); /* Page is not hashed in */ 1314 1315 pp_pages[i] = ppage; 1315 1316 }
Note:
See TracChangeset
for help on using the changeset viewer.