source: rtems/c/src/lib/libcpu/powerpc/mpc8xx/include/cpm.h @ 66c373bf

4.104.114.84.95
Last change on this file since 66c373bf was 66c373bf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/31/04 at 02:04:00

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • mpc505/timer/timer.c, mpc5xx/timer/timer.c, mpc6xx/clock/c_clock.c, mpc6xx/timer/timer.c, mpc8260/clock/clock.c, mpc8260/console-generic/console-generic.c, mpc8260/cpm/cp.c, mpc8260/cpm/dpram.c, mpc8260/include/cpm.h, mpc8260/include/mmu.h, mpc8260/include/mpc8260.h, mpc8260/mmu/mmu.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/cpm/cp.c, mpc8xx/cpm/dpram.c, mpc8xx/include/cpm.h, mpc8xx/include/mmu.h, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, mpc8xx/timer/timer.c, ppc403/clock/clock.c, ppc403/console/console.c, ppc403/console/console405.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/timer/timer.c, ppc403/tty_drv/tty_drv.c, rtems/powerpc/cache.h, shared/src/cache.c: Convert to using c99 fixed size types.
  • Property mode set to 100644
File size: 812 bytes
Line 
1/*
2 * cpm.h
3 *
4 * This include file contains definitions pertaining
5 * to the Communications Processor Module (CPM) on the MPC8xx.
6 *
7 * Copyright (c) 1999, National Research Council of Canada
8 *
9 * The license and distribution terms for this file may be
10 * found in the file LICENSE in this distribution or at
11 * http://www.rtems.com/license/LICENSE.
12 */
13
14#ifndef __M8xx_CPM_h
15#define __M8xx_CPM_h
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21/* Functions */
22
23void m8xx_cp_execute_cmd( uint16_t   command );
24void *m8xx_dpram_allocate( unsigned int byte_count );
25
26#define m8xx_bd_allocate(count)         \
27                m8xx_dpram_allocate( (count) * sizeof(m8xxBufferDescriptor_t) )
28#define m8xx_RISC_timer_table_allocate(count)   \
29                m8xx_dpram_allocate( (count) * 4 )
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif
36/* end of include file */
Note: See TracBrowser for help on using the repository browser.