Remove usage of static mut from gdt and idt
robert-w-gries opened this issue · comments
Ideally, we can use lazy_static
and Once
to make GDT and IDT both static and non-mut.
The problem is the following compiler error:
We need to make it so that the IdtEntry struct does not cause data races