]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
6 | * The contents of this file constitute Original Code as defined in and | |
7 | * are subject to the Apple Public Source License Version 1.1 (the | |
8 | * "License"). You may not use this file except in compliance with the | |
9 | * License. Please obtain a copy of the License at | |
10 | * http://www.apple.com/publicsource and read it before using this file. | |
11 | * | |
12 | * This Original Code and all software distributed under the License are | |
13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the | |
17 | * License for the specific language governing rights and limitations | |
18 | * under the License. | |
19 | * | |
20 | * @APPLE_LICENSE_HEADER_END@ | |
21 | */ | |
9bccf70c | 22 | |
1c79356b | 23 | /* |
9bccf70c | 24 | * Private functions for kdp.c |
1c79356b A |
25 | */ |
26 | ||
27 | static boolean_t | |
28 | kdp_unknown( | |
29 | kdp_pkt_t *, | |
30 | int *, | |
31 | unsigned short * | |
32 | ); | |
33 | ||
34 | static boolean_t | |
35 | kdp_connect( | |
36 | kdp_pkt_t *, | |
37 | int *, | |
38 | unsigned short * | |
39 | ); | |
40 | ||
41 | static boolean_t | |
42 | kdp_disconnect( | |
43 | kdp_pkt_t *, | |
44 | int *, | |
45 | unsigned short * | |
46 | ); | |
47 | ||
9bccf70c A |
48 | static boolean_t |
49 | kdp_reattach( | |
50 | kdp_pkt_t *, | |
51 | int *, | |
52 | unsigned short * | |
53 | ); | |
54 | ||
1c79356b A |
55 | static boolean_t |
56 | kdp_hostinfo( | |
57 | kdp_pkt_t *, | |
58 | int *, | |
59 | unsigned short * | |
60 | ); | |
61 | ||
62 | static boolean_t | |
63 | kdp_suspend( | |
64 | kdp_pkt_t *, | |
65 | int *, | |
66 | unsigned short * | |
67 | ); | |
68 | ||
69 | static boolean_t | |
70 | kdp_readregs( | |
71 | kdp_pkt_t *, | |
72 | int *, | |
73 | unsigned short * | |
74 | ); | |
75 | ||
76 | static boolean_t | |
77 | kdp_writeregs( | |
78 | kdp_pkt_t *, | |
79 | int *, | |
80 | unsigned short * | |
81 | ); | |
82 | ||
9bccf70c A |
83 | static boolean_t |
84 | kdp_version( | |
85 | kdp_pkt_t *, | |
86 | int *, | |
87 | unsigned short * | |
88 | ); | |
89 | ||
1c79356b A |
90 | static boolean_t |
91 | kdp_regions( | |
92 | kdp_pkt_t *, | |
93 | int *, | |
94 | unsigned short * | |
95 | ); | |
96 | ||
97 | static boolean_t | |
98 | kdp_maxbytes( | |
99 | kdp_pkt_t *, | |
100 | int *, | |
101 | unsigned short * | |
102 | ); | |
103 | ||
104 | static boolean_t | |
105 | kdp_readmem( | |
106 | kdp_pkt_t *, | |
107 | int *, | |
108 | unsigned short * | |
109 | ); | |
110 | ||
111 | static boolean_t | |
112 | kdp_writemem( | |
113 | kdp_pkt_t *, | |
114 | int *, | |
115 | unsigned short * | |
116 | ); | |
117 | ||
118 | static boolean_t | |
119 | kdp_resumecpus( | |
120 | kdp_pkt_t *, | |
121 | int *, | |
122 | unsigned short * | |
123 | ); | |
124 | ||
9bccf70c A |
125 | static boolean_t |
126 | kdp_breakpoint_set( | |
127 | kdp_pkt_t *, | |
128 | int *, | |
129 | unsigned short *t | |
130 | ); | |
131 | ||
132 | static boolean_t | |
133 | kdp_breakpoint_remove( | |
134 | kdp_pkt_t *, | |
135 | int *, | |
136 | unsigned short * | |
137 | ); | |
138 |