xref: /titanic_41/usr/src/cmd/mdb/sparc/kmdb/kaif_off.in (revision b86efd96f8acd85ddaa930a2f0c1d664237e4aaf)
1\
2\ Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3\ Use is subject to license terms.
4\
5\ CDDL HEADER START
6\
7\ The contents of this file are subject to the terms of the
8\ Common Development and Distribution License, Version 1.0 only
9\ (the "License").  You may not use this file except in compliance
10\ with the License.
11\
12\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13\ or http://www.opensolaris.org/os/licensing.
14\ See the License for the specific language governing permissions
15\ and limitations under the License.
16\
17\ When distributing Covered Code, include this CDDL HEADER in each
18\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19\ If applicable, add the following below this CDDL HEADER, with the
20\ fields enclosed by brackets "[]" replaced with your own identifying
21\ information: Portions Copyright [yyyy] [name of copyright owner]
22\
23\ CDDL HEADER END
24\
25\ ident	"%Z%%M%	%I%	%E% SMI"
26\
27\ Keep in sync with kaif_regs.h
28\
29
30#include "kaif_regs.h"
31
32kaif_crumb_t	KRM_SIZE
33		krm_src
34		krm_pc
35		krm_tt
36		krm_flag
37
38kaif_cpusave_t	KRS_SIZE
39		krs_gregs
40		krs_rwins
41		krs_fpregs
42		krs_tstate
43		krs_mmu_pcontext
44		krs_cpu_state
45		krs_cpu_id
46		krs_instr_save
47		krs_lsucr_save
48		krs_curcrumbidx
49		krs_curcrumb
50		krs_crumbs
51		krs_cpustack
52
53mdb_tgt_gregset_t GREG_SIZE
54		kregs				GREG_KREGS
55		kreg_flags			GREG_FLAGS
56
57mdb_t
58		m_kdi				MDB_KDI
59
60kdi_t
61		kdi_mach.mkdi_cpu_index		MKDI_CPU_INDEX
62
63kreg_t		KREG_SIZE
64
65\#define	KREG_OFF(name)	(name << 3)
66
67rwindow		RWIN_SIZE
68
69kfpu_t
70		fpu_fprs
71		fpu_fsr
72