diff options
author | David Sin <davidsin@ti.com> | 2011-12-16 14:10:04 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-12-26 22:32:50 +0800 |
commit | 2e2ee3039ded83494b58d680a2a78184090c3d3c (patch) | |
tree | 18879676fe21fc5b554030b218aa62deb274b3a5 /arch/arm/mach-omap2 | |
parent | 46bf5cef15352d1e25958be56412bef615f9e431 (diff) |
TILER: Export latest DMM header to mach directory
Signed-off-by: David Sin <davidsin@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/include/mach/dmm.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 |