From b3185d1f1bc5b63e2af22ffaa4679bfa9fdd3966 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 22 Jun 2004 00:51:52 -0700 Subject: [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 . Signed-off-by: Tom Rini --- include/asm-ppc/commproc.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/asm-ppc/commproc.h') 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); -- cgit v1.2.3