2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
27 * Internal definitions for kdp module
31 #include <kdp/kdp_protocol.h>
34 unsigned short reply_port
;
35 unsigned int conn_seq
;
39 unsigned short exception_port
;
40 unsigned char exception_seq
;
41 boolean_t exception_ack_needed
;
44 extern kdp_glob_t kdp
;
49 #define KDP_BP_DIS 0x4
50 #define KDP_GETC_ENA 0x8
51 #define KDP_PANIC_DUMP_ENABLED 0x10
52 #define PANIC_CORE_ON_NMI 0x20
53 #define DBG_POST_CORE 0x40
54 #define PANIC_LOG_DUMP 0x80
70 kdp_remove_all_breakpoints ();
119 kdp_machine_read_regs(
127 kdp_machine_write_regs(
135 kdp_machine_hostinfo(
136 kdp_hostinfo_t
*hostinfo