loader: VTOC partition size is one sector too large
[unleashed.git] / include / linenum.h
blob1229ab529d5b58cc085531d103e2ac9346758d87
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 /* Copyright (c) 1988 AT&T */
23 /* All Rights Reserved */
26 #ifndef _LINENUM_H
27 #define _LINENUM_H
29 #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5 */
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
36 * There is one line number entry for every
37 * "breakpointable" source line in a section.
38 * Line numbers are grouped on a per function
39 * basis; the first entry in a function grouping
40 * will have l_lnno = 0 and in place of physical
41 * address will be the symbol table index of
42 * the function name.
44 struct lineno
46 union
48 long l_symndx; /* sym. table index of function name */
49 /* iff l_lnno == 0 */
50 long l_paddr; /* (physical) address of line number */
51 } l_addr;
52 unsigned short l_lnno; /* line number */
55 #define LINENO struct lineno
56 #define LINESZ 6 /* sizeof(LINENO) */
58 #ifdef __cplusplus
60 #endif
62 #endif /* _LINENUM_H */