mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
STM32 F7 Ethernet: Add logic to align all DMA memory to the D-Cache line size
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -394,9 +394,9 @@ static const struct uart_ops_s g_uart_dma_ops =
|
||||
|
||||
/* DMA buffers. DMA buffers must:
|
||||
*
|
||||
* 1. Be a multiple of the I-Cache line size. This requirement is assured
|
||||
* 1. Be a multiple of the D-Cache line size. This requirement is assured
|
||||
* by the definition of RXDMA buffer size above.
|
||||
* 2. Be aligned a I-Cache line boundaries, and
|
||||
* 2. Be aligned a D-Cache line boundaries, and
|
||||
* 3. Be positioned in DMA-able memory (*NOT* DTCM memory). This must
|
||||
* be managed by logic in the linker script file.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user