Add PCD setting for Timer, default is 10 times a second. You need the timer to detect a media change event. Also coded up DMA, but have not debugged it yet and it is not turned on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10478 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -88,6 +88,8 @@ EnableDmaChannel (
|
||||
Turn of DMA channel configured by EnableDma().
|
||||
|
||||
@param Channel DMA Channel to configure
|
||||
@param SuccesMask Bits in DMA4_CSR register indicate EFI_SUCCESS
|
||||
@param ErrorMask Bits in DMA4_CSR register indicate EFI_DEVICE_ERROR
|
||||
|
||||
@retval EFI_SUCCESS DMA hardware disabled
|
||||
@retval EFI_INVALID_PARAMETER Channel is not valid
|
||||
@@ -97,7 +99,9 @@ EnableDmaChannel (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
DisableDmaChannel (
|
||||
IN UINTN Channel
|
||||
IN UINTN Channel,
|
||||
IN UINT32 SuccessMask,
|
||||
IN UINT32 ErrorMask
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user