source: rtems/c/src/lib/libbsp/powerpc/ep1a/console/init68360.c @ 9b643f71

4.9
Last change on this file since 9b643f71 was 9b643f71, checked in by Joel Sherrill <joel.sherrill@…>, on 10/02/08 at 19:46:58

2008-10-02 Joel Sherrill <joel.sherrill@…>

  • console/init68360.c: Delete unused code.
  • Property mode set to 100644
File size: 786 bytes
Line 
1/*
2 *  MC68360 support routines
3 *
4 *  W. Eric Norum
5 *  Saskatchewan Accelerator Laboratory
6 *  University of Saskatchewan
7 *  Saskatoon, Saskatchewan, CANADA
8 *  eric@skatter.usask.ca
9 *
10 *  COPYRIGHT (c) 1989-1999.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.com/license/LICENSE.
16 *
17 *  $Id$
18 */
19
20#include <rtems.h>
21#include <bsp.h>
22#include "m68360.h"
23
24/*
25 * Send a command to the CPM RISC processer
26 */
27
28void M360ExecuteRISC( volatile m360_t *m360, uint16_t command)
29{
30  uint16_t sr;
31
32  rtems_interrupt_disable(sr);
33  while (m360->cr & M360_CR_FLG)
34    continue;
35  m360->cr = command | M360_CR_FLG;
36  rtems_interrupt_enable(sr);
37}
Note: See TracBrowser for help on using the repository browser.