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