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__
|
||||
|
Reference in New Issue
Block a user