source: rtems/bsps/powerpc/psim/console/consupp.S

Last change on this file was d7d66d7, checked in by Sebastian Huber <sebastian.huber@…>, on 04/19/18 at 04:28:01

bsps: Move console drivers to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 964 bytes
RevLine 
[8961188]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.