import gdb-2000-02-04 snapshot
[deliverable/binutils-gdb.git] / sim / arm / communicate.h
CommitLineData
c906108c
SS
1/* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17
dfcd3bfb
JM
18int MYread_char (int sock, unsigned char *c);
19void MYwrite_char (int sock, unsigned char c);
20int MYread_word (int sock, ARMword * here);
21void MYwrite_word (int sock, ARMword i);
22void MYwrite_string (int sock, char *s);
23int MYread_FPword (int sock, char *putinhere);
24void MYwrite_FPword (int sock, char *fromhere);
25int passon (int source, int dest, int n);
c906108c 26
dfcd3bfb 27int wait_for_osreply (ARMword * reply); /* from kid.c */
c906108c
SS
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 */
35extern int mumkid[2];
36extern int kidmum[2];
This page took 0.039926 seconds and 4 git commands to generate.