/* The maximum address that we can perform a DMA transfer to on this platform **NewdynamicDMAinterfacesshouldobsoletethis....
*/ #define MAX_DMA_ADDRESS (~0UL)
/* **Wedon'thaveDMAchannels...wellV-classdoesbutthe **DynamicDMAMappinginterfacewillsupportthem...right?:^) **Note:thisisnotrelevantrightnowforPA-RISC,butwecannot **leavethisasundefinedbecausesomethings(e.g.sound) **won'tcompile:-(
*/ #define MAX_DMA_CHANNELS 8 #define DMA_MODE_READ 0x44 /* I/O to memory, no autoinit, increment, single mode */ #define DMA_MODE_WRITE 0x48 /* memory to I/O, no autoinit, increment, single mode */ #define DMA_MODE_CASCADE 0xC0 /* pass thru DREQ->HRQ, DACK<-HLDA only */
/* set mode (above) for a specific DMA channel */ static __inline__ void set_dma_mode(unsignedint dmanr, char mode)
{
}
/* Set only the page register bits of the transfer address. *Thisisusedforsuccessivetransferswhenweknowthecontentsof *thelower16bitsoftheDMAcurrentaddressregister,buta64kboundary *mayhavebeencrossed.
*/ static __inline__ void set_dma_page(unsignedint dmanr, char pagenr)
{
}
/* Set transfer address & page bits for specific DMA channel. *Assumesdmaflipflopisclear.
*/ static __inline__ void set_dma_addr(unsignedint dmanr, unsignedint a)
{
}
/* Set transfer size (max 64k for DMA1..3, 128k for DMA5..7) for *aspecificDMAchannel. *Youmustensuretheparametersarevalid. *NOTE:fromamanual:"thenumberoftransfersisonemore *thantheinitialwordcount"!Thisistakenintoaccount. *Assumesdmaflip-flopisclear. *NOTE2:"count"represents_bytes_andmustbeevenforchannels5-7.
*/ static __inline__ void set_dma_count(unsignedint dmanr, unsignedint count)
{
}
#define free_dma(dmanr)
#endif/* _ASM_DMA_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.