mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 15:29:18 +00:00
Moved SyscallsLock
This commit is contained in:
@ -4,8 +4,13 @@
|
||||
|
||||
#include "../kernel.h"
|
||||
|
||||
NewLock(SyscallsLock);
|
||||
|
||||
extern "C" uintptr_t SystemCallsHandler(SyscallsFrame *Frame)
|
||||
{
|
||||
CPU::Interrupts(CPU::Enable);
|
||||
SmartLock(SyscallsLock); /* TODO: This should be replaced or moved somewhere else. */
|
||||
|
||||
#if defined(__amd64__)
|
||||
switch (TaskManager->GetCurrentThread()->Info.Compatibility)
|
||||
{
|
||||
|
Reference in New Issue
Block a user