Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hypervisor infrastructure #1

Open
16 tasks done
r33m-m1kul5k1 opened this issue Nov 18, 2022 · 0 comments
Open
16 tasks done

hypervisor infrastructure #1

r33m-m1kul5k1 opened this issue Nov 18, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@r33m-m1kul5k1
Copy link
Owner

r33m-m1kul5k1 commented Nov 18, 2022

includes

  • bootable disk image running in qemu

    • add multiboot header to the entrypoint
    • use the grub-mkrescue to create the disk image
    • run entrypoint inside qemu
  • jump to long mode

    • macro generate_entry
    • macro serial_print
    • check default ram size in qemu
    • initialize pml4 -> one pdp table
    • initialize pdp entries (pd) each one is 2G (when PS enabled)
    • initialize pd 512 entries with Page Size on (4 megabytes). (2^222^9 => 231 => 2G)
    • initialize a dummy gdt
    • create a special CS descriptor and jump to it.
  • logger

    • create a file structure
    • build the logger
@r33m-m1kul5k1 r33m-m1kul5k1 self-assigned this Nov 18, 2022
@r33m-m1kul5k1 r33m-m1kul5k1 added the enhancement New feature or request label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant