ArchPrePi.c 362 B

1234567891011121314151617181920212223
  1. /** @file
  2. *
  3. * Copyright (c) 2011 - 2013, ARM Limited. All rights reserved.
  4. *
  5. * SPDX-License-Identifier: BSD-2-Clause-Patent
  6. *
  7. **/
  8. #include "PrePi.h"
  9. VOID
  10. ArchInitialize (
  11. VOID
  12. )
  13. {
  14. // Enable program flow prediction, if supported.
  15. ArmEnableBranchPrediction ();
  16. if (FixedPcdGet32 (PcdVFPEnabled)) {
  17. ArmEnableVFP ();
  18. }
  19. }