10.07.2015 Views

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

Intel 80310 I/O Processor Chipset AAU Coding Techniques

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Intel</strong> ® <strong>80310</strong> I/O <strong>Processor</strong> <strong>Chipset</strong> <strong>AAU</strong> <strong>Coding</strong> <strong>Techniques</strong>Example Calling Source Codeu32 result = 0;void *src, *dest;printk("Starting <strong>AAU</strong> test\n");if((err = aau_request(&aau, dev_id))total = size;head->status = 0;head->callback = NULL;list = aau_get_buffer(aau, size);if(!list){printk("Can't get buffers\n");return;}head->list = list;src = kmalloc(1024, GFP_KERNEL);dest = kmalloc(1024, GFP_KERNEL);while(list){list->status = 0;list->aau_desc->SAR[0] = (u32)src;70 White Paper

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!