1.1 --- a/pkg/devices/lib/dma/include/dma-jz4780.h Wed Jun 05 13:51:55 2024 +0200
1.2 +++ b/pkg/devices/lib/dma/include/dma-jz4780.h Thu Jun 06 23:57:07 2024 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * DMA support for the JZ4780.
1.6 *
1.7 - * Copyright (C) 2021, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 2023, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -133,6 +133,8 @@
1.13
1.14 void ack_irq();
1.15
1.16 + void clear_errors();
1.17 +
1.18 bool completed();
1.19
1.20 bool error();
1.21 @@ -167,6 +169,8 @@
1.22
1.23 void ack_irq(uint8_t channel);
1.24
1.25 + void clear_errors();
1.26 +
1.27 bool error();
1.28
1.29 bool halted();