DMA: Remove timing events

We'll probably need to revert/re-add a variant of this when we
eventually implement chopping. But for now it simplifies things.
This commit is contained in:
Connor McLaughlin
2020-03-29 01:12:44 +10:00
parent 423f04325f
commit 5dbdc0b60c
2 changed files with 12 additions and 75 deletions

View File

@ -64,16 +64,11 @@ private:
Reserved = 3
};
/// Returns the number of ticks for a given channel's transfer.
TickCount GetTransferDelay(Channel channel) const;
// is everything enabled for a channel to operate?
bool CanTransferChannel(Channel channel) const;
bool CanRunAnyChannels() const;
void UpdateIRQ();
void UpdateChannelTransferEvent(Channel channel);
void TransferChannel(Channel channel, TickCount ticks_late);
void TransferChannel(Channel channel);
// from device -> memory
void TransferDeviceToMemory(Channel channel, u32 address, u32 increment, u32 word_count);
@ -93,7 +88,6 @@ private:
struct ChannelState
{
std::unique_ptr<TimingEvent> transfer_event;
u32 base_address = 0;
union BlockControl