Print this page
11630 remove checks for 64-bit capable hardware
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/psm/stand/boot/sparc/common/boot_plat.h
+++ new/usr/src/psm/stand/boot/sparc/common/boot_plat.h
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
13 13 * When distributing Covered Code, include this CDDL HEADER in each
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21 /*
22 22 * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
23 23 * Use is subject to license terms.
24 + * Copyright 2019 Peter Tribble.
24 25 */
25 26
26 27 #ifndef _BOOT_PLAT_H
27 28 #define _BOOT_PLAT_H
28 29
29 30 #ifdef __cplusplus
30 31 extern "C" {
31 32 #endif
32 33
33 34
34 35 /*
35 36 * boot platform defaults per architecture
36 37 */
37 38 typedef struct bootplat_defaults {
38 39 char *plat_defaults_name;
39 40 char *plat_defaults_path;
40 41 int plat_defaults_vac;
41 42 } bootplat_defaults_t;
42 43
43 44 /* boot_plat.c */
44 45 extern int verbosemode;
45 46 extern char filename[];
46 47 extern char *const defname;
47 48 extern char *const defname64;
48 49
49 50 extern int bootprog(char *, char *, boolean_t);
50 51 extern char *choose_default_filename(char *, char *);
51 52 extern char *get_default_filename(void);
52 53 extern void post_mountroot(char *, char *);
53 54 extern void redirect_boot_path(char *, char *);
54 55 extern void set_client_bootargs(const char *, const char *);
55 56 extern boolean_t is_netdev(char *devpath);
56 57
57 58
58 59 /* bootops.c */
59 60 extern struct bootops bootops;
60 61
61 62 extern void setup_bootops(void);
62 63 extern void update_memlist(char *, char *, struct memlist **);
63 64
64 65
65 66 /*
66 67 * bootprop.c. These variables will be exported to the standalone as boot
67 68 * properties.
68 69 */
69 70 extern char *v2path, *kernname, *systype, *my_own_name;
70 71 extern char v2args_buf[];
71 72 #define V2ARGS_BUF_SZ OBP_MAXPATHLEN
72 73 extern char *v2args;
73 74 extern char *mfg_name;
74 75 extern char *impl_arch_name;
75 76 extern char *bootp_response;
76 77 extern char *boot_message;
77 78 extern int cache_state;
78 79 extern uint64_t memlistextent;
79 80 extern char *netdev_path;
80 81
81 82 extern void set_default_filename(char *filename);
82 83
↓ open down ↓ |
49 lines elided |
↑ open up ↑ |
83 84
84 85 /* get.c */
85 86 extern int cons_gets(char *, int);
86 87
87 88
88 89 /* machdep.c */
89 90 extern int vac;
90 91
91 92 extern void fiximp(void);
92 93 extern void retain_nvram_page();
93 -extern int cpu_is_ultrasparc_1(void);
94 94
95 95
96 96 /* memlist.c */
97 97 extern void init_memlists(void);
98 98 extern struct memlist *fill_memlists(char *name, char *prop,
99 99 struct memlist *old);
100 100
101 101
102 102 /* srt0.c */
103 103 extern void _start(void *romp, ...);
104 104 extern void exitto(int (*entrypoint)());
105 105 extern void exitto64(int (*entrypoint)(), void *bootvec);
106 106
107 107
108 108 /* standalloc.c */
109 109 extern caddr_t memlistpage;
110 110 extern caddr_t scratchmemp;
111 111
112 112
113 113
114 114 #ifdef __cplusplus
115 115 }
116 116 #endif
117 117
118 118 #endif /* _BOOT_PLAT_H */
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX