mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
fxsave/fxrstor stub
This commit is contained in:
@ -1557,6 +1557,26 @@ namespace CPU
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void fxsave(char *FXSaveArea)
|
||||
{
|
||||
#if defined(__amd64__)
|
||||
// asmv("fxsaveq (%0)"
|
||||
// :
|
||||
// : "r"(FXSaveArea)
|
||||
// : "memory");
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void fxrstor(char *FXRstorArea)
|
||||
{
|
||||
#if defined(__amd64__)
|
||||
// asmv("fxrstorq (%0)"
|
||||
// :
|
||||
// : "r"(FXRstorArea)
|
||||
// : "memory");
|
||||
#endif
|
||||
}
|
||||
|
||||
/** @brief EXPERIMENTAL IMPLEMENTATION */
|
||||
namespace Intel
|
||||
{
|
||||
@ -3091,6 +3111,10 @@ namespace CPU
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
namespace aarch64
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !__FENNIX_KERNEL_CPU_H__
|
||||
|
@ -91,6 +91,7 @@ namespace Tasking
|
||||
#endif
|
||||
TaskSecurity Security;
|
||||
TaskInfo Info;
|
||||
char FXRegion[512] __attribute__((aligned(16)));
|
||||
|
||||
void Rename(const char *name)
|
||||
{
|
||||
@ -119,8 +120,8 @@ namespace Tasking
|
||||
TaskInfo Info;
|
||||
Vector<TCB *> Threads;
|
||||
Vector<PCB *> Children;
|
||||
Memory::PageTable *PageTable;
|
||||
HashMap<InterProcessCommunication::IPCPort, uint64_t> *IPCHandles;
|
||||
Memory::PageTable *PageTable;
|
||||
};
|
||||
|
||||
enum TokenTrustLevel
|
||||
|
Reference in New Issue
Block a user