]> git.saurik.com Git - apple/xnu.git/blob - osfmk/kdp/kdp_private.h
021758873d0e7203d45bde86fcbab5961543c24e
[apple/xnu.git] / osfmk / kdp / kdp_private.h
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 */
22 /*
23 * Copyright (c) 1993 NeXT Computer, Inc. All rights reserved.
24 *
25 * kdp_private.h -- private functions for kdp.c
26 *
27 */
28
29 static boolean_t
30 kdp_unknown(
31 kdp_pkt_t *,
32 int *,
33 unsigned short *
34 );
35
36 static boolean_t
37 kdp_connect(
38 kdp_pkt_t *,
39 int *,
40 unsigned short *
41 );
42
43 static boolean_t
44 kdp_disconnect(
45 kdp_pkt_t *,
46 int *,
47 unsigned short *
48 );
49
50 static boolean_t
51 kdp_hostinfo(
52 kdp_pkt_t *,
53 int *,
54 unsigned short *
55 );
56
57 static boolean_t
58 kdp_suspend(
59 kdp_pkt_t *,
60 int *,
61 unsigned short *
62 );
63
64 static boolean_t
65 kdp_readregs(
66 kdp_pkt_t *,
67 int *,
68 unsigned short *
69 );
70
71 static boolean_t
72 kdp_writeregs(
73 kdp_pkt_t *,
74 int *,
75 unsigned short *
76 );
77
78 static boolean_t
79 kdp_regions(
80 kdp_pkt_t *,
81 int *,
82 unsigned short *
83 );
84
85 static boolean_t
86 kdp_maxbytes(
87 kdp_pkt_t *,
88 int *,
89 unsigned short *
90 );
91
92 static boolean_t
93 kdp_readmem(
94 kdp_pkt_t *,
95 int *,
96 unsigned short *
97 );
98
99 static boolean_t
100 kdp_writemem(
101 kdp_pkt_t *,
102 int *,
103 unsigned short *
104 );
105
106 static boolean_t
107 kdp_resumecpus(
108 kdp_pkt_t *,
109 int *,
110 unsigned short *
111 );
112