MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / page_to_addr

Function page_to_addr

components/mm/mm_page.c:395–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393#endif /* RT_DEBUGGING_PAGE_POISON */
394
395static inline void *page_to_addr(rt_page_t page)
396{
397 return (void *)(((page - page_start) << ARCH_PAGE_SHIFT) - PV_OFFSET);
398}
399
400static inline rt_ubase_t page_to_paddr(rt_page_t page)
401{

Callers 2

rt_page_page2addrFunction · 0.85
_do_pages_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected