Print this page
11630 remove checks for 64-bit capable hardware


   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.

  24  */
  25 
  26 #ifndef _BOOT_PLAT_H
  27 #define _BOOT_PLAT_H
  28 
  29 #ifdef __cplusplus
  30 extern "C" {
  31 #endif
  32 
  33 
  34 /*
  35  * boot platform defaults per architecture
  36  */
  37 typedef struct bootplat_defaults {
  38         char    *plat_defaults_name;
  39         char    *plat_defaults_path;
  40         int     plat_defaults_vac;
  41 } bootplat_defaults_t;
  42 
  43 /* boot_plat.c */


  73 extern char     *mfg_name;
  74 extern char     *impl_arch_name;
  75 extern char     *bootp_response;
  76 extern char     *boot_message;
  77 extern int      cache_state;
  78 extern uint64_t memlistextent;
  79 extern char     *netdev_path;
  80 
  81 extern void     set_default_filename(char *filename);
  82 
  83 
  84 /* get.c */
  85 extern int      cons_gets(char *, int);
  86 
  87 
  88 /* machdep.c */
  89 extern int  vac;
  90 
  91 extern void     fiximp(void);
  92 extern void     retain_nvram_page();
  93 extern int      cpu_is_ultrasparc_1(void);
  94 
  95 
  96 /* memlist.c */
  97 extern void             init_memlists(void);
  98 extern struct memlist   *fill_memlists(char *name, char *prop,
  99     struct memlist *old);
 100 
 101 
 102 /* srt0.c */
 103 extern void     _start(void *romp, ...);
 104 extern void     exitto(int (*entrypoint)());
 105 extern void     exitto64(int (*entrypoint)(), void *bootvec);
 106 
 107 
 108 /* standalloc.c */
 109 extern caddr_t  memlistpage;
 110 extern caddr_t  scratchmemp;
 111 
 112 
 113 


   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  * Copyright 2019 Peter Tribble.
  25  */
  26 
  27 #ifndef _BOOT_PLAT_H
  28 #define _BOOT_PLAT_H
  29 
  30 #ifdef __cplusplus
  31 extern "C" {
  32 #endif
  33 
  34 
  35 /*
  36  * boot platform defaults per architecture
  37  */
  38 typedef struct bootplat_defaults {
  39         char    *plat_defaults_name;
  40         char    *plat_defaults_path;
  41         int     plat_defaults_vac;
  42 } bootplat_defaults_t;
  43 
  44 /* boot_plat.c */


  74 extern char     *mfg_name;
  75 extern char     *impl_arch_name;
  76 extern char     *bootp_response;
  77 extern char     *boot_message;
  78 extern int      cache_state;
  79 extern uint64_t memlistextent;
  80 extern char     *netdev_path;
  81 
  82 extern void     set_default_filename(char *filename);
  83 
  84 
  85 /* get.c */
  86 extern int      cons_gets(char *, int);
  87 
  88 
  89 /* machdep.c */
  90 extern int  vac;
  91 
  92 extern void     fiximp(void);
  93 extern void     retain_nvram_page();

  94 
  95 
  96 /* memlist.c */
  97 extern void             init_memlists(void);
  98 extern struct memlist   *fill_memlists(char *name, char *prop,
  99     struct memlist *old);
 100 
 101 
 102 /* srt0.c */
 103 extern void     _start(void *romp, ...);
 104 extern void     exitto(int (*entrypoint)());
 105 extern void     exitto64(int (*entrypoint)(), void *bootvec);
 106 
 107 
 108 /* standalloc.c */
 109 extern caddr_t  memlistpage;
 110 extern caddr_t  scratchmemp;
 111 
 112 
 113