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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Intel</strong> ® <strong>80310</strong> I/O <strong>Processor</strong> <strong>Chipset</strong> <strong>AAU</strong> <strong>Coding</strong> <strong>Techniques</strong><strong>AAU</strong> Source Code664665 /* read accelerator status */666 status = *(IOP310_<strong>AAU</strong>ASR);667668 /* get interrupt status */669 int_status = *(IOP310_FIQ1ISR);670 }671672 /* schedule bottom half */673 aau->aau_task.data = (void *)aau;674 /* task goes to the immediate task queue */675 queue_task(&aau->aau_task, &tq_immediate);676 /* mark IMMEDIATE BH for execute */677 mark_bh(IMMEDIATE_BH);678 }679680681 /*=======================================================================*/682 /* Procedure: aau_process() */683 /* */684 /* Description: This function processes moves all the <strong>AAU</strong> desc in */685 /* the processing queue that are considered done to the */686 /* holding queue. It is called by the int when the */687 /* done INTs are asserted. It continues until */688 /* either the process Q is empty or current <strong>AAU</strong> desc */689 /* equals to the one in the ADAR */690 /* */691 /* Parameters: aau: <strong>AAU</strong> device as parameter */692 /* */693 /* Returns: NONE */694 /* */695 /* Notes/Assumptions: Interrupt is masked */696 /* */697 /* History: Dave Jiang 07/19/01 Initial Creation */White Paper 53

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

Saved successfully!

Ooh no, something went wrong!