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