You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set mbi->mem_lower and mbi->mem_upper and set bit 0 of mbi->flags.
generate a memory map buffer as described in the multiboot spec, point mbi->mmap_addr to it, set mbi->mmap_length, and set bit 6 of mbi->flags.
make sure bit 1 of mbi->flags is cleared, as specified:
If bit 1 in the ‘flags’ word is set, then the ‘boot_device’ field is valid, and indicates which bios disk device the boot loader loaded the OS image from. If the OS image was not loaded from a bios disk, then this field must not be present (bit 3 must be clear).
if cmdline is given, copy it into the hypervisor, and set mbi->cmdline and set bit 2 of mbi->flags.
if modules are given, parse their command-line specification and load them:
copy them into the guest, page-align them if requested by the kernel.
set up an array of module structures, point mbi->mods_addr to it and set mbi->mods_count
set bit 9 of mbi->flags. copy the bootloader name into the guest and point mbi->boot_loader_name to it.
if the kernel requests it, set up video modes - although it isn't clear what this means for headless systems.
The text was updated successfully, but these errors were encountered:
bhyve-multiboot/userboot.h
Lines 186 to 190 in ff5a9bc
mbi->mem_lower
andmbi->mem_upper
and set bit 0 ofmbi->flags
.mbi->mmap_addr
to it, setmbi->mmap_length
, and set bit 6 ofmbi->flags
.mbi->flags
is cleared, as specified:cmdline
is given, copy it into the hypervisor, and set mbi->cmdline and set bit 2 of mbi->flags.modules
are given, parse their command-line specification and load them:mbi->mods_addr
to it and setmbi->mods_count
mbi->flags
. copy the bootloader name into the guest and pointmbi->boot_loader_name
to it.The text was updated successfully, but these errors were encountered: