pl110.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*++
  2. Copyright (c) 2014 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. pl110.h
  9. Abstract:
  10. This header contains definitions for the ARM PL110 LCD Controller library.
  11. Author:
  12. Evan Green 7-Apr-2014
  13. --*/
  14. //
  15. // ------------------------------------------------------------------- Includes
  16. //
  17. //
  18. // ---------------------------------------------------------------- Definitions
  19. //
  20. //
  21. // ------------------------------------------------------ Data Type Definitions
  22. //
  23. //
  24. // -------------------------------------------------------------------- Globals
  25. //
  26. //
  27. // -------------------------------------------------------- Function Prototypes
  28. //
  29. EFI_STATUS
  30. EfipPl110Initialize (
  31. EFI_PHYSICAL_ADDRESS Controller,
  32. EFI_PHYSICAL_ADDRESS FrameBufferBase,
  33. UINT32 FrameBufferWidth,
  34. UINT32 FrameBufferHeight
  35. );
  36. /*++
  37. Routine Description:
  38. This routine initialize the PrimeCell PL110 display controller found in
  39. the Integrator/CP.
  40. Arguments:
  41. Controller - Supplies the physical address of the PL110 registers.
  42. FrameBufferBase - Supplies the base of the frame buffer memory to set.
  43. FrameBufferWidth - Supplies the desired width.
  44. FrameBufferHeight - Supplies the desired height.
  45. Return Value:
  46. EFI status code.
  47. --*/