Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bootinfo(8)



  bootheader(4)                       CLIX                       bootheader(4)



  NAME

    bootheader - Boot file header format

  DESCRIPTION

    System processors have individual boot files containing a bootheader,
    executable code, and initialized data.  The bootheader starts at the
    beginning of the first block of the file, and the processor specific code
    and data start at the beginning of the second block of the file.

    The format of the bootheader is as follows:

    struct bootheader {
         long      b_magic;       /* magic number = 0x5441534b */
         u_short   b_checksum;    /* file checksum */
         short     b_processor;   /* processor type */
         long      b_loadaddr;    /* load address */
         u_long    b_loadsize;    /* code and initialized data size */
         long      b_uinitaddr;   /* uninitialized data start address */
         u_long    b_uinitsize;   /* uninitialized data size */
         long      b_entry;       /* start address */
         long      b_time;        /* time of file creation */
    };

    The members of this structure are as follows:

    b_magic      A 32-bit signed integer value that identifies the boot file
                 type.

    b_checksum   The two's complement of the 16-bit unsigned sum of the boot
                 file including the boot header block.

    b_processor  The type of processor to be loaded using the information in
                 the bootheader.  The valid types are listed below:

                 #define PROC_IOP   0  /* IOP */
                 #define PROC_UE    1  /* CLIPPER engine */
                 #define PROC_ROP   2  /* ROP */
                 #define PROC_DAT   3  /* raw data */
                 #define PROC_DIAG  4  /* diagnostics */
                 #define PROC_IFB   5  /* IFB */
                 #define PROC_FPE   6  /* FPE */
                 #define PROC_DIG   7  /* digitizer */


    b_loadaddr   The address where processor code and initialized data are
                 loaded.

    b_loadsize   A 32-bit unsigned integer that specifies the number of bytes
                 to be loaded.



  2/94 - Intergraph Corporation                                              1






  bootheader(4)                       CLIX                       bootheader(4)



    b_uinitaddr  The address where uninitialized data is loaded.

    b_uinitsize  A 32-bit unsigned integer that specifies the number of bytes
                 to be filled.

    b_entry      The location where the booted processor begins execution.

    b_time       Encoded in seconds since 00:00:00 GMT, January 1, 1970.

  NOTES

    Some processors can only begin execution at a fixed address.  Therefore,
    the b_entry field on these processors will be ignored.

  RELATED INFORMATION

    Commands:  bootinfo(8)





































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026