The FVP Base Model has GICv3 support. UEFI SEC does limited configuration of GICv3 if present. This is required for Linux to use GICv3. UEFI itself uses the GICv3 in legacy mode (GICv2). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14824 6f19259b-4bc3-4df7-8a09-765794883524
28 lines
807 B
NASM
28 lines
807 B
NASM
//
|
|
// Copyright (c) 2013, ARM Limited. All rights reserved.
|
|
//
|
|
// This program and the accompanying materials
|
|
// are licensed and made available under the terms and conditions of the BSD License
|
|
// which accompanies this distribution. The full text of the license may be found at
|
|
// http://opensource.org/licenses/bsd-license.php
|
|
//
|
|
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
//
|
|
//
|
|
|
|
INCLUDE AsmMacroIoLib.inc
|
|
|
|
EXPORT InitializeGicV3
|
|
|
|
PRESERVE8
|
|
AREA GicV3, CODE, READONLY
|
|
|
|
/* Initialize GICv3 to expose it as a GICv2 as UEFI does not support GICv3 yet */
|
|
InitializeGicV3 FUNCTION
|
|
// GICv3 Initialization not Supported yet
|
|
bx lr
|
|
ENDFUNC
|
|
|
|
END
|