Add a DMA lib for the OMAP. It is a combination of PCI IO (generic ARM) DMA functions and OMAP specific DMA config routines. Update PCI emulation driver to use the new library. Started converting MMCHS (SD Card) driver over to using DMA, still a work in progress. Need to verify the 22 parameters required to setup a DMA transfer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10469 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
andrewfish
2010-05-08 19:32:03 +00:00
parent 6191913fb4
commit 7f814ffd44
14 changed files with 840 additions and 178 deletions

View File

@@ -1,6 +1,6 @@
/** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -16,24 +16,29 @@
#define __OMAPLIB_H__
UINT32
EFIAPI
GpioBase (
IN UINTN Port
);
UINT32
EFIAPI
TimerBase (
IN UINTN Timer
);
UINTN
EFIAPI
InterruptVectorForTimer (
IN UINTN TImer
);
UINT32
EFIAPI
UartBase (
IN UINTN Uart
);
#endif // __OMAPLIB_H__