1 #------------------------------------------------------------------------------
3 # DisableInterrupts() for ARM
5 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
6 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #------------------------------------------------------------------------------
13 GCC_ASM_EXPORT(DisableInterrupts)
16 # Disables CPU interrupts.
25 ASM_PFX(DisableInterrupts):
27 orr R0,R0,#0x80 @Disable IRQ interrupts