Ported the DMA peripheral from pebble/qemu #23
Merged
Conversation
It seems that gclibc 2.23 dropped '#include <sys/sysmacros.h>' from sys/types.h, which is causing compilation errors on newer versions that use functions from that file
Currently, UART (Transfer Complete) dma inturrupt only works (from peripherals), but memory to memory works fine
Note: it does not work with uart
Sorry for the delay. Thank you for submitting this - it's nice to see the list of supported peripherals grow. |
I added another commit 9852410 to fix some minor compile warnings I was receiving with the new DMA code. I have my compiler set to treat warnings as errors (which I think is the default for QEMU if I recall correctly), and would prefer not to disable warnings (even though one of the changes was a bit ugly). These changes shouldn't have any effect, though I don't have a way to test right now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Currently,