summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/bootinfo.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-09-14 18:32:46 +0000
committermsmith <msmith@FreeBSD.org>1998-09-14 18:32:46 +0000
commitb754ff556e6ae3ab19f36150909cd6a5a9ac7944 (patch)
tree9ff2b44b2296ae116a8ad76d7742c5a088b9b13f /sys/i386/include/bootinfo.h
parentdb3428757889482fe7df699ebb63479bb0ef53e6 (diff)
downloadFreeBSD-src-b754ff556e6ae3ab19f36150909cd6a5a9ac7944.zip
FreeBSD-src-b754ff556e6ae3ab19f36150909cd6a5a9ac7944.tar.gz
Add extra bootinfo fields for the three-stage bootloader; the end of the
loaded kernel aggregate, a pointer to the kernel environment data and a pointer to the preloaded module metadata.
Diffstat (limited to 'sys/i386/include/bootinfo.h')
-rw-r--r--sys/i386/include/bootinfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/include/bootinfo.h b/sys/i386/include/bootinfo.h
index 11d254d..7e3312b 100644
--- a/sys/i386/include/bootinfo.h
+++ b/sys/i386/include/bootinfo.h
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bootinfo.h,v 1.8 1997/07/31 08:07:36 phk Exp $
+ * $Id: bootinfo.h,v 1.9 1998/07/11 04:02:49 bde Exp $
*/
#ifndef _MACHINE_BOOTINFO_H_
@@ -61,6 +61,10 @@ struct bootinfo {
u_int32_t bi_extmem;
u_int32_t bi_symtab; /* struct symtab * */
u_int32_t bi_esymtab; /* struct symtab * */
+ /* Items below only from advanced bootloader */
+ u_int32_t bi_kernend; /* end of kernel space */
+ u_int32_t bi_envp; /* environment */
+ u_int32_t bi_modulep; /* preloaded modules */
};
#ifdef KERNEL
OpenPOWER on IntegriCloud