dma_x86_64

Crates.iodma_x86_64
lib.rsdma_x86_64
version0.1.2
created_at2025-08-03 19:16:48.040261+00
updated_at2025-08-17 06:57:16.122089+00
descriptionLow-level DMA driver for x86_64 systems in no_std environments.
homepage
repositoryhttps://github.com/doikoko/DMA_x86_64_driver
max_upload_size
id1780008
size12,692
Daniil (doikoko)

documentation

README

dma_x86

dma_x86 #![no_std] DMA driver for x86/x86_64, used to bare-metal and OS dev or other drivers. It can configure DMA controller and use for transfer data from the periphery bypassing the processor

example

Example of work DMA with this crate example/floppy.

let floppy_disk = DmaMasterChannel::new(
        &dma_x86_64::PossibleMasterChannels::FloppyDisk
    );
let enternet = DmaSlaveChannel::new(
        &dma_x86_64::PossibleSlaveChannels::Enternet
    );

floppy.mask_channel();
enternet.reset_flip_flop();
Commit count: 0

cargo fmt