xref: /titanic_51/usr/src/cmd/format/prompts.h (revision c8e880c1386b032ac975c61826ba3bc0d8dce5ac)
1 /*
2  * CDDL HEADER START
3  *
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.
8  *
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.
13  *
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]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1991-2002 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #ifndef	_PROMPTS_H
28 #define	_PROMPTS_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef	__cplusplus
33 extern "C" {
34 #endif
35 
36 
37 int	get_ncyl(void);
38 uint64_t	get_mlba(void);
39 int	get_acyl(int n_cyls);
40 int	get_pcyl(int n_cyls, int p_cyls);
41 int	get_nhead(void);
42 int	get_phead(int n_heads, ulong_t *option);
43 int	get_nsect(void);
44 int	get_psect(ulong_t *option);
45 int	get_bpt(int n_sects, ulong_t *option);
46 int	get_rpm(void);
47 int	get_fmt_time(ulong_t *option);
48 int	get_cyl_skew(ulong_t *option);
49 int	get_trk_skew(ulong_t *option);
50 int	get_trks_zone(ulong_t *option);
51 int	get_atrks(ulong_t *option);
52 int	get_asect(ulong_t *option);
53 int	get_cache(ulong_t *option);
54 int	get_threshold(ulong_t *option);
55 int	get_min_prefetch(ulong_t *option);
56 int	get_max_prefetch(int min_prefetch, ulong_t *option);
57 int	get_bps(void);
58 char	*get_asciilabel(void);
59 
60 #ifdef	__cplusplus
61 }
62 #endif
63 
64 #endif	/* _PROMPTS_H */
65