[kernel] Add spinlocks to vm_space, frame_allocator
Also updated spinlock interface to be an object, and added a scoped lock object that uses it as well.
This commit is contained in:
@@ -32,8 +32,6 @@ struct cpu_data
|
||||
TSS *tss;
|
||||
GDT *gdt;
|
||||
|
||||
// Values from here on don't need to be in the asm version
|
||||
kutil::spinlock::node spinner;
|
||||
};
|
||||
|
||||
extern "C" cpu_data * _current_gsbase();
|
||||
|
||||
Reference in New Issue
Block a user