MPE/iX System Utilities Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 25 STANDARDSThe initial system loader |
|
The Initial System Loader performs these functions:
Certain standards are used by hardware and software operating systems using system bootstrap, IPL, and ISL standard. These standards are architectural in nature, but are not necessarily defined in any system architectural document. The remainer of this chapter contains a description of these standards. Stable storage and nonvolatile memory (NVM) are described as blocks of bytes that are accessible by bootstrap, ISL, and the operating system through standard entry points. The first 96 bytes of stable storage are required implementation; bytes 96 through 191 are optional, but if implemented they are reserved for PDC and ISL access as described below. Nonvolatile memory is not required by the architecture; therefore, it should contain only values that can be managed by an alternate method. When more than one byte is used in the representation of an item in stable storage, the most significant byte is the byte with the lower address. The format of stable storage is shown below: Table 25-1 Stable storage format
Autoboot flags and device path This 32-byte field defines the coldload path that PDC uses for autoboot. If this path is not valid, or if the device that it describes is not a valid boot device containing an IPL image, PDC then requests a valid path through the console if the console is present; otherwise, the error is displayed through the front panel. A detailed internal representation of a boot or console path (the format applies to the auto bootpath, the alternate boot path, the dump path, and the console path) is as follows: Table 25-2 Boot or console path
Note that in the above illustration, the flags field in the console path is ignored. The format of flags is as follows: Format of flags
Console Path This 32-byte field defines the device path that PDC uses to locate the system console. If this path is not valid, or if the device that it describes is not a valid console device image, PDC then uses a default path. Alternate Boot Path This 32-byte field defines the coldload path that PDC uses (after getting the go-ahead from the operator) if the operator rejects the autoboot path through console intervention. If this path is not valid, or if the device it describes is not a valid boot device containing an IPL image, PDC then requests a valid path through the console. Dump flags and device This 32-byte field is used to describe the destination device for a snapshot dump facility. The format of nonvolatile memory is shown below:
NVM is an optional implementation, not required by the architecture. If NVM is implemented, the PDC and boot reserved area of NVM is as follows: Table 25-5 PDC and boot area for NVM
The Hewlett-Packard Logical Interchange Format (LIF) provides a standard method for locating IPL code on the boot device. The method of locating IPL code on the boot device must be the same for all boot devices, computer processors, and the operating systems, so that the PDC knows where to find it. Having IPL at the very beginning of the device is ideal; however, some operating systems require a volume label at the beginning of a disk. IPL also needs a method of locating its modules (utilities) when they are needed. The LIF standard addresses these issues, and provides a standard with utilities already in existence. For further information on LIF format, refer to LIF Directory Organization and Record Format for Data Interchange. LIF requires a 256-byte volume label at the beginning of the media; thus, the operating-system-specific volume label can be located at the beginning of the disk, offset by 256 bytes. The LIF volume label points to the location of the LIF directory, which then points to the location of each of the files. Compliance to LIF standard does not require complete implementation. The level of compliance to the standard in the IPL code is the minimum implementation (volume header and directory in ASCII code). The format of the files is the system object module (SOM) format. The LIF volume header, as well as an entry in the LIF directory, points to the IPL code. The following drawing represents the LIF standard logical layout of disk and tape media. The LIF volume label allows easy identification of media type and gives the location of the directory. The format of the LIF volume label follows: Table 25-6 LIF volume label format
The directory contains all of the information necessary to find files. It is a linear list of 32-byte directory entries, one for each LIF file on the media. The maximum number of entries in the directory is fixed at the time of initialization. A logical end of directory mark is defined to be a file type of -1 and is written only if the directory is not filled. The physical end of directory is determined by adding the start of directory and length of directory fields from the volume lable. Directory entries must be stored so that they are in strictly increasing starting addresses on sequential media. Directory entries are undefined after the logical end of directory, so when a file is appended to the directory, the following directory entry's file type must be set to -1 to make it the logical end of the directory. LIF addressing is in blocks of 256 bytes, and system addresses are 2K-bytes-aligned. Each directory is organized as follows: Table 25-7 LIF addressing
The file type is a 16-bit signed integer. The defined file types that are recognized by systems are
A file is deleted from the directory by changing its file type to -2, to represent a purged file. The data itself need not be removed from the media. All of the bootable utilities accessible through the LIF directory must have enough of a common format for IPL to load and launch the utilities through a standard method. IPL may need to know the intended physical memory destination address for which the module was linked, as well as the length of the image and the entry point. For those utilities that are position independent, the destination address can be set to -1 and IPL will load it at the first available memory after IPL. All software implementation intends to support the system object module (SOM) format, using the linker; therefore, an auxilary SOM header for IPL, as described below, would meet IPL's needs for loading and launching bootable utilities. For further description of the linker and the SOM format, refer to the System Linker External Specifications and the System Object File Format Architectural Control Document. Main Memory Layout Although the exact memory locations of boot and IPL code during the boot process vary according to size of the IODC and IPL, a general description of memory layout is presented here for clarification. Also, the first page of main memory is reserved for communication between PDC and software. Table 25-8 Main memory layout
The format of the first memory controller configuration is as follows:
The format of the console terminal and boot device configurations are as follows: Table 25-9 Console terminal and boot device configuration
The format of the boot and system console device paths is the same as that for the autoboot, alternate boot, and console paths in stable storage. In the console path, the flags are ignored. The offsets of IODC, IPL, and booted utilities are variable, based on the size of code images. Table 25-10 IODC, IPL, and booted utilities offsets
|