Project

General

Profile

Actions

Feature #7838

closed

loader: pass loader environment to kernel as module

Added by Toomas Soome over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-02-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

To simplify dealing with properties, we can just pack the loader environment as virtual module an pass it to kernel as name=value pairs. To identify the module, we set the name and type for module as:

name=environment
type=environment

so the kernel can recognize this module and use it. For property processing, the properties passed on kernel command line via -B, will always take precedence over values in environment. This way the operator can always override the values in environment.

To simplify the distinction, if the environment module is supported or not, we do implement it only via multiboot2 protocol.

Actions

Also available in: Atom PDF