diff options
Diffstat (limited to 'BeagleBoardPkg/Include/Library')
-rw-r--r-- | BeagleBoardPkg/Include/Library/BeagleBoardSystemLib.h | 36 | ||||
-rw-r--r-- | BeagleBoardPkg/Include/Library/OmapLib.h | 39 |
2 files changed, 75 insertions, 0 deletions
diff --git a/BeagleBoardPkg/Include/Library/BeagleBoardSystemLib.h b/BeagleBoardPkg/Include/Library/BeagleBoardSystemLib.h new file mode 100644 index 0000000000..93a6113262 --- /dev/null +++ b/BeagleBoardPkg/Include/Library/BeagleBoardSystemLib.h @@ -0,0 +1,36 @@ +/** @file + + Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR> + + All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef __BEAGLEBOARD_YSTEMLIB_H__ +#define __BEAGLEBOARD_YSTEMLIB_H__ + +VOID +EFIAPI +GoLittleEndian ( + UINTN ImageAddress + ); + +VOID +EFIAPI +ResetSystem ( + IN EFI_RESET_TYPE ResetType + ); + +VOID +EFIAPI +ShutdownEfi ( + VOID + ); + +#endif // __BEAGLEBOARD_YSTEMLIB_H__ diff --git a/BeagleBoardPkg/Include/Library/OmapLib.h b/BeagleBoardPkg/Include/Library/OmapLib.h new file mode 100644 index 0000000000..e2845ca7df --- /dev/null +++ b/BeagleBoardPkg/Include/Library/OmapLib.h @@ -0,0 +1,39 @@ +/** @file + + Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR> + + All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef __OMAPLIB_H__ +#define __OMAPLIB_H__ + +UINT32 +GpioBase ( + IN UINTN Port + ); + +UINT32 +TimerBase ( + IN UINTN Timer + ); + +UINTN +InterruptVectorForTimer ( + IN UINTN TImer + ); + +UINT32 +UartBase ( + IN UINTN Uart + ); + +#endif // __OMAPLIB_H__ + |