summaryrefslogtreecommitdiff
path: root/include/asm-ppc/commproc.h
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2004-06-22 00:51:52 -0700
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2004-06-22 00:51:52 -0700
commitb3185d1f1bc5b63e2af22ffaa4679bfa9fdd3966 (patch)
tree07f444661b51b7365a6fd6934d2298acaa3c69e5 /include/asm-ppc/commproc.h
parent7459093aa55f22fc53cef7a24acabf3448149d0b (diff)
[PPC32] Change how we handle DP memory on MPC8xx.
We now have a 'remote heap' implemented (see comments in arch/ppc/lib/rheap.c) which manages this memory. From Pantelis Antoniou <panto@intracom.gr>. Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/commproc.h')
-rw-r--r--include/asm-ppc/commproc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-ppc/commproc.h b/include/asm-ppc/commproc.h
index 170095a88439..58c1b491afbe 100644
--- a/include/asm-ppc/commproc.h
+++ b/include/asm-ppc/commproc.h
@@ -66,7 +66,12 @@
* and dual port ram.
*/
extern cpm8xx_t *cpmp; /* Pointer to comm processor */
-uint m8xx_cpm_dpalloc(uint size);
+extern void *m8xx_cpm_dpalloc(int size);
+extern int m8xx_cpm_dpfree(void *addr);
+extern void *m8xx_cpm_dpalloc_fixed(void *addr, int size);
+extern void m8xx_cpm_dpdump(void);
+extern int m8xx_cpm_dpram_offset(void *addr);
+extern void *m8xx_cpm_dpram_addr(int offset);
uint m8xx_cpm_hostalloc(uint size);
void m8xx_cpm_setbrg(uint brg, uint rate);