Tom Dohrmann

Results 150 comments of Tom Dohrmann

Please read https://github.com/rust-osdev/bootloader?tab=readme-ov-file#usage. I don't think [framebuffer.rs](https://github.com/rust-osdev/bootloader/blob/5d06f6085d2c8b6d17de314bbe2b19b04fe3af2b/common/src/framebuffer.rs) is meant to be used as an example for a logging implementation, it's primarily meant to be the logging implementation used by the...

Try putting `bootloader` in the normal `dependencies` section, not `dev-dependencies`. You'll also need to downgrade its version to 0.10 (0.11 doesn't work with bootimage).

My bad, you actually need to downgrade bootloader to 0.9.

Don't use `x86_64-unknown-none`, use your own target. It might also be possible to set `-C relocation-model=static` in RUSTFLAGS instead.

Feel free to open a PR.

If you're having trouble using this crate, please read the [usage](https://github.com/rust-osdev/bootloader?tab=readme-ov-file#usage) section or take a look at some of our [test kernels](https://github.com/rust-osdev/bootloader/tree/6fa89e7be42fbe324a657362daa3f45ed13aaa3c/tests/test_kernels/default_settings). Most of the code responsible for loading the...

Try moving the kernel into a separate workspace. You can exclude it from your main workspace by setting [workspace.exclude](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-members-and-exclude-fields). Out of curiosity: Can you reproduce this issue using the latest...

Hi, thanks for reaching out! > There is a divergence in confidential computing technology for AMD's SEV-SNP system (AMD's original https://github.com/AMDESE/linux-svsm, SUSE's COCONUT https://github.com/coconut-svsm/svsm) due to issues claimed by SUSE...

AFAIK there is no reason we don't support 5-level paging, it's just that no one has implemented it yet. It might require redesigning some of the abstractions to support both...

> I noticed that the bitmask of the `addr()` function of `PageTableEntry` (see [here](https://github.com/rust-osdev/x86_64/blob/master/src/structures/paging/page_table.rs#L57-L59)) already supports 5-level paging (with 52 Bits) but the `VirtAddr::new()` function still only expects a 4-level...