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
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>Low-Level Design Document3.1.6.2 Selected API Descriptions3.1.6.2.1 static int __init aau_init(void);Input:Output:N/ASuccess -- OKError -- -ENOMEMPurpose: This function initializes the <strong>AAU</strong> during kernel init. The function initializes all thevariables to ready state and allocates memory for the resource pools. The <strong>AAU</strong> is at postreset state at this point. After initialization the <strong>AAU</strong> should be in the idle state.Operation:• Initialize free resource stack• Initialize stack lock• Allocate memory for software descriptors— Returnerroriffail• Align memory on 8-byte boundary— Returnerroriffail• Push software descriptors onto free resource stack• Set register addresses for <strong>AAU</strong>• Initialize <strong>AAU</strong> queues and locks• Initialize wait queue• Assign interrupt number• Initialize all <strong>AAU</strong> reference count• Initialize interrupt bottom handler for immediate process queue• Zero out ACR18 White Paper