1 //------------------------------------------------------------------------------
3 // MemoryFence() for RiscV64
5 // Copyright (c) 2021, Hewlett Packard Enterprise Development. All rights reserved.
7 // SPDX-License-Identifier: BSD-2-Clause-Patent
9 //------------------------------------------------------------------------------
14 ASM_GLOBAL ASM_PFX(MemoryFence)
17 // Memory fence for RiscV64
21 fence // Fence on all memory and I/O