RTEMS
7.0-rc1
Loading...
Searching...
No Matches
bsps
powerpc
include
mpc8xx
cpm.h
1
/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */
2
3
/*
4
* cpm.h
5
*
6
* This include file contains definitions pertaining
7
* to the Communications Processor Module (CPM) on the MPC8xx.
8
*
9
* Copyright (c) 1999, National Research Council of Canada
10
*
11
* The license and distribution terms for this file may be
12
* found in the file LICENSE in this distribution or at
13
* http://www.rtems.org/license/LICENSE.
14
*/
15
16
#ifndef _MPC8XX_CPM_H
17
#define _MPC8XX_CPM_H
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
/* Functions */
24
25
void
m8xx_cp_execute_cmd( uint16_t command );
26
void
*m8xx_dpram_allocate(
unsigned
int
byte_count );
27
28
#define m8xx_bd_allocate(count) \
29
m8xx_dpram_allocate( (count) * sizeof(m8xxBufferDescriptor_t) )
30
#define m8xx_RISC_timer_table_allocate(count) \
31
m8xx_dpram_allocate( (count) * 4 )
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
38
/* end of include file */
Generated by
1.9.6