2 * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
24 * Internal definitions for kdp module
28 #include <kdp/kdp_protocol.h>
31 unsigned short reply_port
;
32 unsigned int conn_seq
;
36 unsigned short exception_port
;
37 unsigned char exception_seq
;
38 boolean_t exception_ack_needed
;
41 extern kdp_glob_t kdp
;
46 #define KDP_BP_DIS 0x4
47 #define KDP_GETC_ENA 0x8
48 #define KDP_PANIC_DUMP_ENABLED 0x10
49 #define PANIC_CORE_ON_NMI 0x20
50 #define DBG_POST_CORE 0x40
51 #define PANIC_LOG_DUMP 0x80
69 kdp_remove_all_breakpoints (void);
121 kdp_machine_read_regs(
130 kdp_machine_write_regs(
139 kdp_machine_hostinfo(
140 kdp_hostinfo_t
*hostinfo
150 kdp_ml_get_breakinsn(