Changeset View
Changeset View
Standalone View
Standalone View
stand/common/bootstrap.h
Show First 20 Lines • Show All 222 Lines • ▼ Show 20 Lines | struct preloaded_file | ||||
char *f_args; /* arguments for the file */ | char *f_args; /* arguments for the file */ | ||||
/* metadata that will be placed in the module directory */ | /* metadata that will be placed in the module directory */ | ||||
struct file_metadata *f_metadata; | struct file_metadata *f_metadata; | ||||
int f_loader; /* index of the loader that read the file */ | int f_loader; /* index of the loader that read the file */ | ||||
vm_offset_t f_addr; /* load address */ | vm_offset_t f_addr; /* load address */ | ||||
size_t f_size; /* file size */ | size_t f_size; /* file size */ | ||||
struct kernel_module *f_modules; /* list of modules if any */ | struct kernel_module *f_modules; /* list of modules if any */ | ||||
struct preloaded_file *f_next; /* next file */ | struct preloaded_file *f_next; /* next file */ | ||||
#ifdef __amd64__ | |||||
bool f_kernphys_relocatable; | |||||
#endif | |||||
}; | }; | ||||
struct file_format | struct file_format | ||||
{ | { | ||||
/* | /* | ||||
* Load function must return EFTYPE if it can't handle | * Load function must return EFTYPE if it can't handle | ||||
* the module supplied | * the module supplied | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 166 Lines • Show Last 20 Lines |