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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [arm/] [communicate.h] - Blame information for rev 308

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

Line No. Rev Author Line
1 24 jeremybenn
/*  communicate.h -- ARMulator comms support defns:  ARM6 Instruction Emulator.
2
    Copyright (C) 1994 Advanced RISC Machines Ltd.
3
 
4
    This program is free software; you can redistribute it and/or modify
5
    it under the terms of the GNU General Public License as published by
6
    the Free Software Foundation; either version 2 of the License, or
7
    (at your option) any later version.
8
 
9
    This program is distributed in the hope that it will be useful,
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
    GNU General Public License for more details.
13
 
14
    You should have received a copy of the GNU General Public License
15
    along with this program; if not, write to the Free Software
16
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
17
 
18
int MYread_char (int sock, unsigned char *c);
19
void MYwrite_char (int sock, unsigned char c);
20
int MYread_word (int sock, ARMword * here);
21
void MYwrite_word (int sock, ARMword i);
22
void MYwrite_string (int sock, char *s);
23
int MYread_FPword (int sock, char *putinhere);
24
void MYwrite_FPword (int sock, char *fromhere);
25
int passon (int source, int dest, int n);
26
 
27
int wait_for_osreply (ARMword * reply); /* from kid.c */
28
 
29
#define OS_SendNothing 0x0
30
#define OS_SendChar 0x1
31
#define OS_SendWord 0x2
32
#define OS_SendString 0x3
33
 
34
/* The pipes between the two processes */
35
extern int mumkid[2];
36
extern int kidmum[2];

powered by: WebSVN 2.1.0

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