OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [psim/] [console/] [consupp.S] - Blame information for rev 30

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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
22
FUNC_START(outbyte)
23
        li      r10,0x20
24
        sc
25
        blr
26
FUNC_END(outbyte)
27
 
28
        .text
29
FUNC_START(inbyte)
30
        li      r10,0x0
31
        sc
32
        blr
33
FUNC_END(inbyte)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.