Print this page
12195 acpidump failed under EFI


   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 /*
  23  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 




  27 #ifndef _SYS_BOOTINFO_H
  28 #define _SYS_BOOTINFO_H
  29 
  30 #ifdef  __cplusplus
  31 extern "C" {
  32 #endif
  33 
  34 /*
  35  * This is used by bootfs and dboot.  It should be at least as large as the
  36  * number of modules that bootloaders (e.g., grub) can support.  This figure
  37  * has been chosen to match grub's value exactly.
  38  */
  39 #define MAX_BOOT_MODULES        99
  40 
  41 /*
  42  * The 32-bit kernel loader code needs to build several structures that the
  43  * kernel is expecting. They will contain native sized pointers for the
  44  * target kernel.
  45  */
  46 


 101         native_ptr_t    bi_phys_install;
 102         native_ptr_t    bi_rsvdmem;
 103         native_ptr_t    bi_pcimem;
 104         native_ptr_t    bi_modules;
 105         uint32_t        bi_module_cnt;
 106         uint32_t        bi_use_largepage;       /* MMU uses large pages */
 107         uint32_t        bi_use_pae;     /* MMU uses PAE mode (8 byte PTES) */
 108         uint32_t        bi_use_nx;      /* MMU uses NX bit in PTEs */
 109         uint32_t        bi_use_pge;     /* MMU uses Page Global Enable */
 110         native_ptr_t    bi_pt_window;
 111         native_ptr_t    bi_pte_to_pt_window;
 112         native_ptr_t    bi_kseg_size;   /* size used for kernel nucleus pages */
 113         uint64_t        bi_top_page_table;
 114 #if defined(__xpv)
 115         native_ptr_t    bi_xen_start_info;
 116         native_ptr_t    bi_shared_info;         /* VA for shared_info */
 117 #else
 118         native_ptr_t    bi_mb_info;             /* multiboot 1 or 2 info */
 119         int             bi_mb_version;          /* multiboot version */
 120         native_ptr_t    bi_acpi_rsdp;

 121         native_ptr_t    bi_smbios;
 122         native_ptr_t    bi_uefi_systab;
 123         uefi_arch_type_t bi_uefi_arch;
 124 #endif
 125         native_ptr_t    bi_framebuffer;
 126 };
 127 #pragma pack()
 128 
 129 #ifdef  __cplusplus
 130 }
 131 #endif
 132 
 133 #endif  /* _SYS_BOOTINFO_H */


   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 /*
  23  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 
  27 /*
  28  * Copyright 2020 Joyent, Inc.
  29  */
  30 
  31 #ifndef _SYS_BOOTINFO_H
  32 #define _SYS_BOOTINFO_H
  33 
  34 #ifdef  __cplusplus
  35 extern "C" {
  36 #endif
  37 
  38 /*
  39  * This is used by bootfs and dboot.  It should be at least as large as the
  40  * number of modules that bootloaders (e.g., grub) can support.  This figure
  41  * has been chosen to match grub's value exactly.
  42  */
  43 #define MAX_BOOT_MODULES        99
  44 
  45 /*
  46  * The 32-bit kernel loader code needs to build several structures that the
  47  * kernel is expecting. They will contain native sized pointers for the
  48  * target kernel.
  49  */
  50 


 105         native_ptr_t    bi_phys_install;
 106         native_ptr_t    bi_rsvdmem;
 107         native_ptr_t    bi_pcimem;
 108         native_ptr_t    bi_modules;
 109         uint32_t        bi_module_cnt;
 110         uint32_t        bi_use_largepage;       /* MMU uses large pages */
 111         uint32_t        bi_use_pae;     /* MMU uses PAE mode (8 byte PTES) */
 112         uint32_t        bi_use_nx;      /* MMU uses NX bit in PTEs */
 113         uint32_t        bi_use_pge;     /* MMU uses Page Global Enable */
 114         native_ptr_t    bi_pt_window;
 115         native_ptr_t    bi_pte_to_pt_window;
 116         native_ptr_t    bi_kseg_size;   /* size used for kernel nucleus pages */
 117         uint64_t        bi_top_page_table;
 118 #if defined(__xpv)
 119         native_ptr_t    bi_xen_start_info;
 120         native_ptr_t    bi_shared_info;         /* VA for shared_info */
 121 #else
 122         native_ptr_t    bi_mb_info;             /* multiboot 1 or 2 info */
 123         int             bi_mb_version;          /* multiboot version */
 124         native_ptr_t    bi_acpi_rsdp;
 125         native_ptr_t    bi_acpi_rsdp_copy;
 126         native_ptr_t    bi_smbios;
 127         native_ptr_t    bi_uefi_systab;
 128         uefi_arch_type_t bi_uefi_arch;
 129 #endif
 130         native_ptr_t    bi_framebuffer;
 131 };
 132 #pragma pack()
 133 
 134 #ifdef  __cplusplus
 135 }
 136 #endif
 137 
 138 #endif  /* _SYS_BOOTINFO_H */