mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
Split up DMA and ATA, but don't enable it (yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17386 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6d12109ef7
commit
e025cb1c38
5 changed files with 187 additions and 73 deletions
|
|
@ -20,10 +20,15 @@
|
|||
#ifndef ATA_TARGET_H
|
||||
#define ATA_TARGET_H
|
||||
|
||||
/* ASM optimized reading and writing */
|
||||
/* DMA optimized reading and writing */
|
||||
#define ATA_OPTIMIZED_READING
|
||||
#define ATA_OPTIMIZED_WRITING
|
||||
void copy_read_sectors(unsigned char* buf, int wordcount);
|
||||
/*
|
||||
#include "dma-target.h"
|
||||
#define copy_read_sectors dma_ata_read
|
||||
#define copy_write_sectors dma_ata_write
|
||||
*/
|
||||
void copy_read_sectors(const unsigned char* buf, int wordcount);
|
||||
void copy_write_sectors(const unsigned char* buf, int wordcount);
|
||||
|
||||
/* General purpose memory region #1 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue