/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOCopyMapper.h | 39 #define kTransPerPage (kMapperPage / sizeof(ppnum_t)) 64 ppnum_t fDummyPageNumber; 65 ppnum_t fBufferPage; 70 void invalidateDART(ppnum_t pnum, IOItemCount size); 71 void tlbInvalidate(ppnum_t pnum, IOItemCount size); 77 virtual ppnum_t iovmAlloc(IOItemCount pages); 78 virtual void iovmFree(ppnum_t addr, IOItemCount pages); 80 virtual void iovmInsert(ppnum_t addr, IOItemCount offset, ppnum_t page); 81 virtual void iovmInsert(ppnum_t add [all...] |
H A D | IOKitKernelInternal.h | 69 extern ppnum_t IOGetLastPageNumber(void); 71 extern ppnum_t gIOLastPage; 90 ppnum_t fHighestPage; 118 ppnum_t fCopyPageAlloc; 119 ppnum_t fCopyPageCount; 120 ppnum_t fNextRemapIndex;
|
H A D | IOCopyMapper.cpp | 40 extern ppnum_t pmap_find_phys(pmap_t pmap, addr64_t va); 89 /* uint */ fPPNum :31; // ppnum_t page of translation 94 /* uint */ fPPNum :31, // ppnum_t page of translation 191 ppnum_t tail = freeInd + zoneSize; 204 ppnum_t IOCopyMapper::iovmAlloc(IOItemCount pages) 207 ppnum_t next, ret = 0; 280 void IOCopyMapper::invalidateDART(ppnum_t pnum, IOItemCount size) 285 void IOCopyMapper::iovmFree(ppnum_t addr, IOItemCount pages) 316 ppnum_t pair = addr ^ (kMinZoneSize/2 << z); // Find pair address 321 ppnum_t nex [all...] |
H A D | IOMapper.cpp | 35 extern ppnum_t pmap_find_phys(pmap_t pmap, addr64_t va); 131 void IOMapper::iovmInsert(ppnum_t addr, IOItemCount offset, 132 ppnum_t *pageList, IOItemCount pageCount) 138 void IOMapper::iovmInsert(ppnum_t addr, IOItemCount offset, 146 NewARTTable(IOByteCount size, void ** virtAddrP, ppnum_t *physAddrP) 159 ppnum_t pagenum = pmap_find_phys(kernel_pmap, (addr64_t) address); 188 ppnum_t IOMapperIOVMAlloc(unsigned pages) 198 void IOMapperIOVMFree(ppnum_t addr, unsigned pages) 204 ppnum_t IOMapperInsertPage(ppnum_t add [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOMapper.h | 39 ppnum_t IOMapperIOVMAlloc(unsigned pages); 40 void IOMapperIOVMFree(ppnum_t addr, unsigned pages); 42 ppnum_t IOMapperInsertPage(ppnum_t addr, unsigned offset, ppnum_t page); 43 void IOMapperInsertPPNPages(ppnum_t addr, unsigned offset, 44 ppnum_t *pageList, unsigned pageCount); 45 void IOMapperInsertUPLPages(ppnum_t addr, unsigned offset, 77 ppnum_t fTablePhys; 97 void ** virtAddrP, ppnum_t *physAddr [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | pmap.h | 171 extern boolean_t pmap_next_page(ppnum_t *pnum); 204 ppnum_t pn, 211 ppnum_t pn); 219 ppnum_t phys, 223 ppnum_t pn); 226 ppnum_t pn, 231 ppnum_t src, 232 ppnum_t dest); 235 ppnum_t src, 237 ppnum_t ds [all...] |
H A D | cpm.h | 57 cpm_allocate(vm_size_t size, vm_page_t *list, ppnum_t max_pnum, boolean_t wire);
|
H A D | vm_page.h | 237 ppnum_t phys_page; /* Physical address of page, passed 397 extern ppnum_t vm_lopage_poolend; 412 ppnum_t start, 413 ppnum_t end); 454 ppnum_t phys_page);
|
H A D | vm_pageout.h | 88 extern ppnum_t upl_get_highest_page( 139 ppnum_t highest_page;
|
H A D | vm_kern.h | 95 ppnum_t max_pnum,
|
/macosx-10.5.8/AppleMacRiscPCI-3.4/ |
H A D | AppleDART.cpp | 33 extern ppnum_t pmap_find_phys(pmap_t pmap, addr64_t va); 117 // Convert physical ppnum_t base of DART to U3 DARTCNTL register DARTBASE bits 129 // Convert a physical ppnum_t into DARTTAG register DARTLPN bits 134 #define kTransPerPage (kMapperPage / sizeof(ppnum_t)) 156 #define fMappings ((volatile ppnum_t *) super::fTable) 187 ppnum_t fDummyPageNumber; 195 void invalidateDART(ppnum_t pnum, IOItemCount size); 196 void tlbInvalidate(ppnum_t pnum, IOItemCount size); 202 virtual ppnum_t iovmAlloc(IOItemCount pages); 203 virtual void iovmFree(ppnum_t add [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | mappings.h | 96 ppnum_t mrStart; /* Start of region */ 97 ppnum_t mrEnd; /* Last page in region */ 98 ppnum_t mrAStart; /* Next page in region to allocate */ 99 ppnum_t mrAEnd; /* Last page in region to allocate */ 235 ppnum_t mpPAddr; /* 0x00C - Physical page number */ 385 extern boolean_t mapping_tst_ref(ppnum_t pa); /* Tests the reference bit of a physical page */ 386 extern boolean_t mapping_tst_mod(ppnum_t pa); /* Tests the change bit of a physical page */ 387 extern void mapping_set_ref(ppnum_t pa); /* Sets the reference bit of a physical page */ 388 extern void mapping_clr_ref(ppnum_t pa); /* Clears the reference bit of a physical page */ 389 extern void mapping_set_mod(ppnum_t p [all...] |
H A D | io_map.c | 74 (void)mapping_make(kernel_pmap, (addr64_t)start, (ppnum_t)(phys_addr >> 12), 126 (void)mapping_make(kernel_pmap, (addr64_t)start, (ppnum_t)(phys_addr >> 12),
|
H A D | pmap.h | 305 extern void sync_ppage(ppnum_t pa); 313 extern void pmap_map_block(pmap_t pmap, addr64_t va, ppnum_t pa, uint32_t size, vm_prot_t prot, int attr, unsigned int flags); 314 extern int pmap_map_block_rc(pmap_t pmap, addr64_t va, ppnum_t pa, uint32_t size, vm_prot_t prot, int attr, unsigned int flags); 316 extern ppnum_t pmap_find_phys(pmap_t pmap, addr64_t va); 319 extern boolean_t pmap_eligible_for_execute(ppnum_t pa);
|
H A D | pmap.c | 184 struct phys_entry *pmap_find_physentry(ppnum_t pa) 255 colladr = mapping_make(kernel_pmap, (addr64_t)va, (ppnum_t)(spa >> 12), 618 pmap_next_page(ppnum_t *addrp) 945 ppnum_t pa, 1015 ppnum_t pa) 1101 pmap_enter(pmap_t pmap, vm_map_offset_t va, ppnum_t pa, vm_prot_t prot, 1148 void pmap_map_block(pmap_t pmap, addr64_t va, ppnum_t pa, uint32_t size, vm_prot_t prot, int attr, unsigned int flags) { /* Map an autogenned block */ 1173 int pmap_map_block_rc(pmap_t pmap, addr64_t va, ppnum_t pa, uint32_t size, vm_prot_t prot, int attr, unsigned int flags) { /* Map an autogenned block */ 1208 ppnum_t ppoffset; 1226 ppoffset = (ppnum_t)(((gv [all...] |
H A D | ppc_vm_init.c | 262 pmap_enter(kernel_pmap, (vm_map_offset_t)addr, (ppnum_t)(addr>>12), 272 pmap_enter(kernel_pmap, (vm_map_offset_t)addr, (ppnum_t)(addr>>12), 283 (ppnum_t)(addr>>12), 293 pmap_enter(kernel_pmap, (vm_map_offset_t)addr, (ppnum_t)(addr>>12), 300 (ppnum_t)&sharedPage >> 12, /* Make sure the sharedPage is mapped */ 305 (ppnum_t)&lowGlo.lgVerCode >> 12, /* Make sure the low memory globals are mapped */ 316 pmap_enter(kernel_pmap, (vm_map_address_t)addr, (ppnum_t)addr>>12,
|
H A D | mappings.c | 84 void mapping_phys_unused(ppnum_t pa); 226 ppnum_t pgaddr; 312 addr64_t mapping_make(pmap_t pmap, addr64_t va, ppnum_t pa, unsigned int flags, unsigned int size, vm_prot_t prot) { /* Make an address mapping */ 525 * void mapping_protect_phys(ppnum_t pa, vm_prot_t prot) - change the protection of a physical page 537 void mapping_protect_phys(ppnum_t pa, vm_prot_t prot) { /* Change protection of all mappings to page */ 555 * void mapping_clr_mod(ppnum_t pa) - clears the change bit of a physical page 561 void mapping_clr_mod(ppnum_t pa) { /* Clears the change bit of a physical page */ 578 * void mapping_set_mod(ppnum_t pa) - set the change bit of a physical page 584 void mapping_set_mod(ppnum_t pa) { /* Sets the change bit of a physical page */ 601 * void mapping_clr_ref(ppnum_t p [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | phys.c | 96 ppnum_t pn) 109 ppnum_t pn, 124 ppnum_t psrc, 126 ppnum_t pdst, 155 ppnum_t pdst, 183 ppnum_t psrc,
|
H A D | i386_vm_init.c | 163 ppnum_t fap; 166 ppnum_t maxpg = 0; 207 fap = (ppnum_t) i386_btop(first_avail); 218 ppnum_t base, top; 224 base = (ppnum_t) (mptr->PhysicalStart >> I386_PGSHIFT); 225 top = (ppnum_t) ((mptr->PhysicalStart) >> I386_PGSHIFT) + mptr->NumberOfPages - 1; 412 ppnum_t discarded_pages = (sane_size - maxmem) >> I386_PGSHIFT; 413 ppnum_t highest_pn = 0; 414 ppnum_t cur_alloc = 0; 503 ppnum_t *p [all...] |
H A D | hibernate_i386.c | 54 ppnum_t base, num; 75 base = (ppnum_t) (mptr->PhysicalStart >> I386_PGSHIFT); 76 num = (ppnum_t) mptr->NumberOfPages;
|
H A D | misc_protos.h | 101 extern void cache_flush_page_phys(ppnum_t pa);
|
H A D | pmap.c | 192 ppnum_t phys, 196 ppnum_t phys, 200 ppnum_t phys, 204 ppnum_t pn); 212 ppnum_t pn); 339 ppnum_t ppn; 365 ppnum_t ppn; 887 (ppnum_t) i386_btop(start_addr), prot, flags, FALSE); 1366 ppnum_t ppn; 1414 ppnum_t last_p [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | vm_types.h | 68 typedef uint32_t ppnum_t; /* Physical page number */ typedef
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/device/ |
H A D | iokit_rpc.c | 98 extern ppnum_t IOGetLastPageNumber(void); 477 pmap_map_block(pmap, va, (ppnum_t)atop_64(pa), (uint32_t) atop_64(round_page_64(length)), prot, flags, 0); 533 ppnum_t ppnum = pmap_find_phys(pmap, va + off); 543 ppnum_t IOGetLastPageNumber(void) 545 ppnum_t lastPage, highest = 0;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ |
H A D | memdev.c | 118 extern void mapping_set_mod(ppnum_t pn); 119 extern ppnum_t pmap_find_phys(pmap_t pmap, addr64_t va); 175 dev_t mdevadd(int devid, ppnum_t base, unsigned int size, int phys); 237 ppnum_t pp; 436 ppnum_t base; 539 dev_t mdevadd(int devid, ppnum_t base, unsigned int size, int phys) {
|