robert-w-gries / rxinu

Rust implementation of Xinu educational operating system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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