Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:57

0001 /*
0002  * Adapted from the mvme-inbyte.S and mvme-outbyte.S files in libgloss.
0003  * These should work on all targets using the ppcbug monitor.
0004  *
0005  * Copyright (c) 1995 Cygnus Support
0006  *
0007  * The authors hereby grant permission to use, copy, modify, distribute,
0008  * and license this software and its documentation for any purpose, provided
0009  * that existing copyright notices are retained in all copies and that this
0010  * notice is included verbatim in any distributions. No written agreement,
0011  * license, or royalty fee is required for any of the authorized uses.
0012  * Modifications to this software may be copyrighted by their authors
0013  * and need not follow the licensing terms described here, provided that
0014  * the new terms are clearly indicated on the first page of each file where
0015  * they apply.
0016  */
0017 
0018 #include "ppc-asm.h"
0019 
0020     .file   "support.s"
0021     .text
0022 FUNC_START(outbyte)
0023     li  r10,0x20
0024     sc
0025     blr
0026 FUNC_END(outbyte)
0027 
0028     .text
0029 FUNC_START(inbyte)
0030     li  r10,0x0
0031     sc
0032     blr
0033 FUNC_END(inbyte)