From 2e2ee3039ded83494b58d680a2a78184090c3d3c Mon Sep 17 00:00:00 2001 From: David Sin Date: Fri, 16 Dec 2011 14:10:04 +0800 Subject: TILER: Export latest DMM header to mach directory Signed-off-by: David Sin --- arch/arm/mach-omap2/include/mach/dmm.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch/arm/mach-omap2') diff --git a/arch/arm/mach-omap2/include/mach/dmm.h b/arch/arm/mach-omap2/include/mach/dmm.h index 2ad6c325ee5..a3adddbf9fd 100644 --- a/arch/arm/mach-omap2/include/mach/dmm.h +++ b/arch/arm/mach-omap2/include/mach/dmm.h @@ -113,4 +113,16 @@ u32 dmm_get_page(void); */ void dmm_free_page(u32 page_addr); +/** + * Request a set of pages from the DMM free page stack. + * @return a pointer to a list of physical page addresses. + */ +u32 *dmm_get_pages(s32 n); + +/** + * Return a set of used pages to the DMM free page stack. + * @param list a pointer to a list of physical page addresses. + */ +void dmm_free_pages(u32 *list); + #endif -- cgit v1.2.3