x86_64 icon indicating copy to clipboard operation
x86_64 copied to clipboard

const fn gdt creation

Open tepperson2 opened this issue 2 years ago • 4 comments

I would like the ability to create a GlobalDescriptorTable with a const fn. I am writing a kernel and need to ensure that no 64-bit code runs before I jump to long mode because the kernel is started in 32-bit mode. I want to define the gdt structure with rust.

tepperson2 avatar Feb 28 '23 14:02 tepperson2