Lines Matching defs:page

40 /* Slots per pool for the physical page mapper.
41 * Since m68k page tables are smaller than 1 page, but we allocate them
42 * at page granularity anyway, just go for this.
66 // update page directory entry atomically
81 // update page directory entry atomically
96 // update page table entry atomically
113 // update page table entry atomically
168 "physical page pool space in virtual address space!");
172 // allocate memory for the page table and data
177 // prepare the page table
196 area_id area = create_area("physical page pool", &temp,
201 "create area for physical page pool.");
209 "physical page pool space", &temp, B_EXACT_ADDRESS,
213 "create area for physical page pool space.");
269 // create an area that can contain the page table and the slot
276 area_id dataArea = create_area_etc(B_SYSTEM_TEAM, "physical page pool",
286 VMAddressSpace::KernelID(), "physical page pool space",
294 // prepare the page table
297 // get the page table's physical address
306 #warning M68K:FIXME: insert *all* page tables!
309 // put the page table into the page directory
353 // page hole set up in stage2
368 //TRACE("page hole: %p, page dir: %p\n", fPageHole, fPageHolePageDir);
369 TRACE("page root: %p (physical: %#" B_PRIx32 ")\n",
377 // create the initial pool for the physical page mapper
384 "for physical page mapper!");
388 // create physical page mapper
391 // TODO: Select the best page mapper!
405 // the page hole
411 // unmap the page hole hack we were using before
430 // page table, which is not yet enforced (or even tested)!
439 // insert the indirect descriptor in the tree so we can map the page we want from it.
473 // XXX horrible back door to map a page quickly regardless of translation
475 // uses a 'page hole' set up in the stage 2 bootloader. The page hole is
496 TRACE("missing page root entry %d ai %d\n", index, aindex);
500 TRACE("040::MapEarly: asked for free page for pgdir. 0x%lx\n", tbl);
503 // for each pgdir on the allocated page:
520 TRACE("missing page dir entry %d ai %d\n", index, aindex);
524 TRACE("early_map: asked for free page for pgtable. 0x%lx\n", tbl);
527 // for each pgdir on the allocated page:
552 // check to see if a page table exists for this range
562 TRACE("M68KPagingMethod040::MapEarly(): asked for free page for "
615 | DT_DIR; // it's a page directory entry
617 // ToDo: we ignore the attributes of the page table - for compatibility
634 | DT_DIR; // it's a page directory entry
644 page_table_entry page = TA_TO_PTEA(physicalAddress)
651 // if the page is user accessible, it's automatically
655 page |= M68K_PTE_SUPERVISOR;
657 page |= M68K_PTE_READONLY;
659 page |= M68K_PTE_READONLY;
662 // put it in the page table
663 *(volatile page_table_entry*)entry = page;
676 // note the bootloader allocates all page directories for us
689 // early_query handles non-page-aligned addresses
750 // we should only be passed page va, but just in case.
769 // page mapping not valid