Skip to content

Instantly share code, notes, and snippets.

@CodingKoopa
Last active February 26, 2023 07:35
Show Gist options
  • Select an option

  • Save CodingKoopa/b07ab0797ff24a7dfb924c65e749e887 to your computer and use it in GitHub Desktop.

Select an option

Save CodingKoopa/b07ab0797ff24a7dfb924c65e749e887 to your computer and use it in GitHub Desktop.
SeaBIOS/xv6 stuff

mainly just considering PATA/IDE (QEMU's default interface of choice)

glosses over memory model

Boot process:

Execution starts in the BIOS. QEMU's default BIOS image is SeaBIOS; Bochs can also use SeaBIOS but provides its own BIOS ROM by default (https://bochs.sourceforge.io/doc/docbook/user/bochsrc.html). We will use the SeaBIOS process as a reference: [https://www.seabios.org/Execution_and_code_flow]

QEMUEXTRA="--fw_cfg \"etc/show-boot-menu,string=1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment