4.104.114.84.95
Last change
on this file since 61bd0301 was
61bd0301,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/14/00 at 15:52:24
|
Moved PowerPC cache management code to libcpu. Also compiled
mpc8xx libcpu support for the first time and remove includes
of bsp.h, references to BSP_Configuration, and Cpu_table. All
of these can be obtained directly from RTEMS now.
|
-
Property mode set to
100644
|
File size:
817 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.OARcorp.com/rtems/license.html. |
---|
12 | */ |
---|
13 | |
---|
14 | #ifndef __M8xx_CPM_h |
---|
15 | #define __M8xx_CPM_h |
---|
16 | |
---|
17 | #ifdef __cplusplus |
---|
18 | extern "C" { |
---|
19 | #endif |
---|
20 | |
---|
21 | /* Functions */ |
---|
22 | |
---|
23 | void m8xx_cp_execute_cmd( unsigned16 command ); |
---|
24 | void *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.