source: rtems/c/src/lib/libbsp/powerpc/psim/console/consupp.S @ 0162910

4.104.114.84.95
Last change on this file since 0162910 was 0162910, checked in by Joel Sherrill <joel.sherrill@…>, on 12/14/98 at 23:15:38

Patch from Ralf Corsepius <corsepiu@…> to rename all
.s files to .S in conformance with GNU conventions. This is a
minor step along the way to supporting automake.

  • Property mode set to 100644
File size: 964 bytes
Line 
1/*
2 * Adapted from the mvme-inbyte.S and mvme-outbyte.S files in libgloss.
3 * These should work on all targets using the ppcbug monitor.
4 *
5 * Copyright (c) 1995 Cygnus Support
6 *
7 * The authors hereby grant permission to use, copy, modify, distribute,
8 * and license this software and its documentation for any purpose, provided
9 * that existing copyright notices are retained in all copies and that this
10 * notice is included verbatim in any distributions. No written agreement,
11 * license, or royalty fee is required for any of the authorized uses.
12 * Modifications to this software may be copyrighted by their authors
13 * and need not follow the licensing terms described here, provided that
14 * the new terms are clearly indicated on the first page of each file where
15 * they apply.
16 */
17
18#include "ppc-asm.h"
19
20        .file   "support.s"
21        .text
22FUNC_START(outbyte)
23        li      r10,0x20
24        sc
25        blr
26FUNC_END(outbyte)
27
28        .text
29FUNC_START(inbyte)
30        li      r10,0x0
31        sc
32        blr
33FUNC_END(inbyte)
Note: See TracBrowser for help on using the repository browser.