pl110.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*++
  2. Copyright (c) 2014 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. pl110.h
  5. Abstract:
  6. This header contains definitions for the ARM PL110 LCD Controller library.
  7. Author:
  8. Evan Green 7-Apr-2014
  9. --*/
  10. //
  11. // ------------------------------------------------------------------- Includes
  12. //
  13. //
  14. // ---------------------------------------------------------------- Definitions
  15. //
  16. //
  17. // ------------------------------------------------------ Data Type Definitions
  18. //
  19. //
  20. // -------------------------------------------------------------------- Globals
  21. //
  22. //
  23. // -------------------------------------------------------- Function Prototypes
  24. //
  25. EFI_STATUS
  26. EfipPl110Initialize (
  27. EFI_PHYSICAL_ADDRESS Controller,
  28. EFI_PHYSICAL_ADDRESS FrameBufferBase,
  29. UINT32 FrameBufferWidth,
  30. UINT32 FrameBufferHeight
  31. );
  32. /*++
  33. Routine Description:
  34. This routine initialize the PrimeCell PL110 display controller found in
  35. the Integrator/CP.
  36. Arguments:
  37. Controller - Supplies the physical address of the PL110 registers.
  38. FrameBufferBase - Supplies the base of the frame buffer memory to set.
  39. FrameBufferWidth - Supplies the desired width.
  40. FrameBufferHeight - Supplies the desired height.
  41. Return Value:
  42. EFI status code.
  43. --*/