Closed robert-w-gries closed 6 years ago
Ideally, we can use lazy_static and Once to make GDT and IDT both static and non-mut.
lazy_static
Once
The problem is the following compiler error:
We need to make it so that the IdtEntry struct does not cause data races
Ideally, we can use
lazy_static
andOnce
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