mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-11 14:28:08 +01:00
23 lines
355 B
C
23 lines
355 B
C
|
/** @file
|
||
|
|
||
|
Copyright (c) 2011 - 2013, ARM Limited. All rights reserved.
|
||
|
|
||
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||
|
|
||
|
**/
|
||
|
|
||
|
#include "PrePi.h"
|
||
|
|
||
|
VOID
|
||
|
ArchInitialize (
|
||
|
VOID
|
||
|
)
|
||
|
{
|
||
|
// Enable program flow prediction, if supported.
|
||
|
ArmEnableBranchPrediction ();
|
||
|
|
||
|
if (FixedPcdGet32 (PcdVFPEnabled)) {
|
||
|
ArmEnableVFP ();
|
||
|
}
|
||
|
}
|