db_machdep.h revision 1.1 1 /* $NetBSD: db_machdep.h,v 1.1 2001/04/06 13:13:02 fredette Exp $ */
2
3 /*
4 * Mach Operating System
5 * Copyright (c) 1991,1990 Carnegie Mellon University
6 * All Rights Reserved.
7 *
8 * Permission to use, copy, modify and distribute this software and its
9 * documentation is hereby granted, provided that both the copyright
10 * notice and this permission notice appear in all copies of the
11 * software, derivative works or modified versions, and any portions
12 * thereof, and that both notices appear in supporting documentation.
13 *
14 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
15 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
16 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
17 *
18 * Carnegie Mellon requests users of this software to return to
19 *
20 * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU
21 * School of Computer Science
22 * Carnegie Mellon University
23 * Pittsburgh PA 15213-3890
24 *
25 * any improvements or extensions that they make and grant Carnegie Mellon
26 * the rights to redistribute these changes.
27 */
28
29 #ifndef _SUN2_DB_MACHDEP_H_
30 #define _SUN2_DB_MACHDEP_H_
31
32 /*
33 * Machine-dependent defines for the DDB kernel debugger.
34 */
35
36 #include <m68k/db_machdep.h>
37 #define DB_ELF_SYMBOLS
38 #define DB_ELFSIZE 32
39
40 /* This enables some code in db_command.c */
41 #define DB_MACHINE_COMMANDS
42
43 /* XXX - Put this in db_extern.h instead? -gwr */
44 extern label_t *db_recover; /* db_command.c */
45
46 extern char *esym; /* end of symbols */
47 void db_machine_init __P((void));
48
49 /* These are in db_memrw.c */
50 extern void db_read_bytes __P((vm_offset_t addr, size_t size, char *data));
51 extern void db_write_bytes __P((vm_offset_t addr, size_t size, char *data));
52
53 #endif /* _SUN2_DB_MACHDEP_H_ */
54