~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Minix Cross Reference
Minix/kernel/bootinfo.h


  1 /*
  2  * $Id: bootinfo.h,v 1.2 1996/07/09 19:41:28 paul Exp $
  3  * 
  4  * This file is used in smx only.
  5  *
  6  * The smx_bootinfo struct contains the information passed from the minix boot
  7  * strap program to the kernel.
  8  */
  9 
 10 /*
 11  * The number of separate programs in 'image'
 12  */
 13 #define NUM_PROGS       (4 + ENABLE_NETWORKING)
 14 
 15 #define KERNEL_PROG     0
 16 #define MM_PROG         1
 17 #define FS_PROG         2
 18 #define INET_PROG       3
 19 #define INIT_PROG       (INET_PROG + ENABLE_NETWORKING)
 20 
 21 /*
 22  * Each smx_proginfo structure contains information on one of the programs
 23  * loaded from the boot image: the number of text and data clicks the 
 24  * program has been loaded into (the data clicks include the data, gap
 25  * and stack, the virtual address at which the text and data segments
 26  * must be mapped to, and the virtual address of the program entry point.
 27  */
 28 struct smx_proginfo {
 29     unsigned long text_clicks;
 30     unsigned long data_clicks;
 31     unsigned long text_vaddr;
 32     unsigned long data_vaddr;
 33     unsigned long entry;
 34 };
 35 
 36 struct smx_bootinfo {
 37     struct smx_proginfo prog[NUM_PROGS];   /* details of programs loaded */
 38     long mem_bytes;                        /* size of smx physical mem   */
 39     int debug;                             /* debuf flag */
 40     int prot_lev;
 41     ether_addr_t ether_addr;               /* "ethernet" address */
 42 };
 43 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.