CsmSupportLib.c 545 B

12345678910111213141516171819202122232425262728293031
  1. /** @file
  2. Platform CSM Support Library
  3. Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #include "CsmSupportLib.h"
  7. /**
  8. The constructor function for the platform CSM support library
  9. @retval EFI_SUCCESS The constructor always returns RETURN_SUCCESS.
  10. **/
  11. RETURN_STATUS
  12. EFIAPI
  13. CsmSupportLibConstructor (
  14. VOID
  15. )
  16. {
  17. LegacyRegionInit ();
  18. LegacyInterruptInstall ();
  19. LegacyBiosPlatformInstall ();
  20. return EFI_SUCCESS;
  21. }