Rename "SafeFunction" macro to "NoSecurityAnalysis"

This commit is contained in:
EnderIce2
2024-02-04 04:31:30 +02:00
parent 11221b205a
commit b0575ba4f2
31 changed files with 157 additions and 156 deletions

View File

@ -24,7 +24,7 @@ namespace CPU
{
namespace MemBar
{
SafeFunction static inline void Barrier()
nsa static inline void Barrier()
{
#if defined(a86)
asmv("" ::
@ -35,7 +35,7 @@ namespace CPU
#endif
}
SafeFunction static inline void Fence()
nsa static inline void Fence()
{
#if defined(a86)
asmv("mfence" ::
@ -46,7 +46,7 @@ namespace CPU
#endif
}
SafeFunction static inline void StoreFence()
nsa static inline void StoreFence()
{
#if defined(a86)
asmv("sfence" ::
@ -57,7 +57,7 @@ namespace CPU
#endif
}
SafeFunction static inline void LoadFence()
nsa static inline void LoadFence()
{
#if defined(a86)
asmv("lfence" ::