FreeNOS
Data Structures | Macros | Typedefs | Enumerations
BootImage.h File Reference

Go to the source code of this file.

Data Structures

struct  BootImage
 BootImage contains executable programs to be loaded at system bootup. More...
 
struct  BootSymbol
 Program embedded in the BootImage. More...
 
struct  BootSegment
 Memory segment. More...
 

Macros

#define BOOTIMAGE_MAGIC0   ('F') + ('r' << 8) + ('e' << 16) + ('e' << 24)
 First magic byte. More...
 
#define BOOTIMAGE_MAGIC1   ('N') + ('O' << 8) + ('S' << 16) + (0x1 << 24)
 Second magic byte. More...
 
#define BOOTIMAGE_REVISION   2
 Version of the boot image layout. More...
 
#define BOOTIMAGE_NAMELEN   32
 Maximum length of BootSymbol names. More...
 

Typedefs

typedef struct BootImage BootImage
 BootImage contains executable programs to be loaded at system bootup. More...
 
typedef enum BootSymbolType BootSymbolType
 Boot symbol types. More...
 
typedef struct BootSymbol BootSymbol
 Program embedded in the BootImage. More...
 
typedef struct BootSegment BootSegment
 Memory segment. More...
 

Enumerations

enum  BootSymbolType { BootProgram = 0, BootPrivProgram = 1, BootFilesystem = 2, BootData = 3 }
 Boot symbol types. More...