Module ostd::arch::x86::boot

source ยท
Expand description

The x86 boot module defines the entrypoints of Asterinas and the corresponding headers for different x86 boot protocols.

We directly support

  • Multiboot
  • Multiboot2
  • Linux x86 Boot Protocol

without any additional configurations.

Asterinas diffrentiates the boot protocol by the entry point chosen by the boot loader. In each entry point function, the universal callback registeration method from crate::boot will be called. Thus the initialization of boot information is transparent for the upper level kernel.