1 |
578 |
markom |
/* @(#)tdfunc.h 5.18 93/07/30 16:40:16, Srini, AMD */
|
2 |
|
|
/******************************************************************************
|
3 |
|
|
* Copyright 1991 Advanced Micro Devices, Inc.
|
4 |
|
|
*
|
5 |
|
|
* This software is the property of Advanced Micro Devices, Inc (AMD) which
|
6 |
|
|
* specifically grants the user the right to modify, use and distribute this
|
7 |
|
|
* software provided this notice is not removed or altered. All other rights
|
8 |
|
|
* are reserved by AMD.
|
9 |
|
|
*
|
10 |
|
|
* AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
|
11 |
|
|
* SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
|
12 |
|
|
* DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
|
13 |
|
|
* USE OF THIS SOFTWARE.
|
14 |
|
|
*
|
15 |
|
|
* So that all may benefit from your experience, please report any problems
|
16 |
|
|
* or suggestions about this software to the 29K Technical Support Center at
|
17 |
|
|
* 800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or
|
18 |
|
|
* 0031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118.
|
19 |
|
|
*
|
20 |
|
|
* Advanced Micro Devices, Inc.
|
21 |
|
|
* 29K Support Products
|
22 |
|
|
* Mail Stop 573
|
23 |
|
|
* 5900 E. Ben White Blvd.
|
24 |
|
|
* Austin, TX 78741
|
25 |
|
|
* 800-292-9263
|
26 |
|
|
*****************************************************************************
|
27 |
|
|
* Engineer: Srini Subramanian.
|
28 |
|
|
*****************************************************************************
|
29 |
|
|
* This file contains the declarations of the various target dependent
|
30 |
|
|
* functions used by the Message System of Minimon's TIP to communicate
|
31 |
|
|
* with the target.
|
32 |
|
|
*****************************************************************************
|
33 |
|
|
*/
|
34 |
|
|
|
35 |
|
|
#ifndef _TDFUNC_H_INCLUDED_
|
36 |
|
|
#define _TDFUNC_H_INCLUDED_
|
37 |
|
|
|
38 |
|
|
#include "messages.h"
|
39 |
|
|
|
40 |
|
|
INT32 init_comm_pceb PARAMS((INT32, INT32));
|
41 |
|
|
INT32 msg_send_pceb PARAMS((union msg_t *, INT32));
|
42 |
|
|
INT32 msg_recv_pceb PARAMS((union msg_t *, INT32, INT32));
|
43 |
|
|
INT32 reset_comm_pceb PARAMS((INT32, INT32));
|
44 |
|
|
INT32 exit_comm_pceb PARAMS((INT32, INT32));
|
45 |
|
|
INT32 write_memory_pceb PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
46 |
|
|
INT32 read_memory_pceb PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
47 |
|
|
INT32 fill_memory_pceb PARAMS((void));
|
48 |
|
|
void go_pceb PARAMS((INT32, INT32));
|
49 |
|
|
|
50 |
|
|
INT32 init_comm_serial PARAMS((INT32, INT32));
|
51 |
|
|
INT32 msg_send_serial PARAMS((union msg_t *, INT32));
|
52 |
|
|
#ifdef MSDOS
|
53 |
|
|
INT32 msg_send_parport PARAMS((union msg_t *, INT32));
|
54 |
|
|
#endif
|
55 |
|
|
INT32 msg_recv_serial PARAMS((union msg_t *, INT32, INT32));
|
56 |
|
|
#ifndef MSDOS
|
57 |
|
|
INT32 reset_comm_pcserver PARAMS((INT32, INT32));
|
58 |
|
|
#endif
|
59 |
|
|
INT32 reset_comm_serial PARAMS((INT32, INT32));
|
60 |
|
|
INT32 exit_comm_serial PARAMS((INT32, INT32));
|
61 |
|
|
INT32 write_memory_serial PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
62 |
|
|
INT32 read_memory_serial PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
63 |
|
|
INT32 fill_memory_serial PARAMS((void));
|
64 |
|
|
void go_serial PARAMS((INT32, INT32));
|
65 |
|
|
|
66 |
|
|
INT32 init_comm_eb030 PARAMS((INT32, INT32));
|
67 |
|
|
INT32 msg_send_eb030 PARAMS((union msg_t *, INT32));
|
68 |
|
|
INT32 msg_recv_eb030 PARAMS((union msg_t *, INT32, INT32));
|
69 |
|
|
INT32 reset_comm_eb030 PARAMS((INT32, INT32));
|
70 |
|
|
INT32 exit_comm_eb030 PARAMS((INT32, INT32));
|
71 |
|
|
INT32 write_memory_eb030 PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
72 |
|
|
INT32 read_memory_eb030 PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
73 |
|
|
INT32 fill_memory_eb030 PARAMS((void));
|
74 |
|
|
void go_eb030 PARAMS((INT32, INT32));
|
75 |
|
|
|
76 |
|
|
INT32 init_comm_eb29k PARAMS((INT32, INT32));
|
77 |
|
|
INT32 msg_send_eb29k PARAMS((union msg_t *, INT32));
|
78 |
|
|
INT32 msg_recv_eb29k PARAMS((union msg_t *, INT32, INT32));
|
79 |
|
|
INT32 reset_comm_eb29k PARAMS((INT32, INT32));
|
80 |
|
|
INT32 exit_comm_eb29k PARAMS((INT32, INT32));
|
81 |
|
|
INT32 write_memory_eb29k PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
82 |
|
|
INT32 read_memory_eb29k PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
83 |
|
|
INT32 fill_memory_eb29k PARAMS((void));
|
84 |
|
|
void go_eb29k PARAMS((INT32, INT32));
|
85 |
|
|
|
86 |
|
|
INT32 init_comm_lcb29k PARAMS((INT32, INT32));
|
87 |
|
|
INT32 msg_send_lcb29k PARAMS((union msg_t *, INT32));
|
88 |
|
|
INT32 msg_recv_lcb29k PARAMS((union msg_t *, INT32, INT32));
|
89 |
|
|
INT32 reset_comm_lcb29k PARAMS((INT32, INT32));
|
90 |
|
|
INT32 exit_comm_lcb29k PARAMS((INT32, INT32));
|
91 |
|
|
INT32 write_memory_lcb29k PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
92 |
|
|
INT32 read_memory_lcb29k PARAMS((INT32, ADDR32, BYTE *, INT32, INT32, INT32));
|
93 |
|
|
INT32 fill_memory_lcb29k PARAMS((void));
|
94 |
|
|
void go_lcb29k PARAMS((INT32, INT32));
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
INT32 send_bfr_serial PARAMS((BYTE *bfr_ptr, INT32 length, INT32 port_base, INT32 *comm_err));
|
98 |
|
|
|
99 |
|
|
INT32 recv_bfr_serial PARAMS((BYTE *bfr_ptr, INT32 length, INT32 block, INT32 port_base, INT32 *comm_err));
|
100 |
|
|
|
101 |
|
|
#endif /* TDFUNC_H_INCLUDED_ */
|