mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-13 16:29:17 +00:00
Rename "SafeFunction" macro to "NoSecurityAnalysis"
This commit is contained in:
@ -401,7 +401,7 @@ namespace CPU
|
||||
};
|
||||
|
||||
#if defined(a32)
|
||||
SafeFunction static inline uint64_t rdmsr(uint32_t msr)
|
||||
nsa static inline uint64_t rdmsr(uint32_t msr)
|
||||
{
|
||||
uint32_t Low, High;
|
||||
asmv("rdmsr"
|
||||
@ -411,7 +411,7 @@ namespace CPU
|
||||
return ((uint64_t)Low) | (((uint64_t)High) << 32);
|
||||
}
|
||||
|
||||
SafeFunction static inline void wrmsr(uint32_t msr, uint64_t Value)
|
||||
nsa static inline void wrmsr(uint32_t msr, uint64_t Value)
|
||||
{
|
||||
uint32_t Low = (uint32_t)Value, High = (uint32_t)(Value >> 32);
|
||||
asmv("wrmsr"
|
||||
|
Reference in New Issue
Block a user