Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTMPTableIOAPIC Function RTMPTablePCIInterrupt |
Function RTMPTableIOAPICRTMPTableIOAPIC adds an I/O APIC record to the custom MP Floating Pointer Structure previously created with RTMPTableCreate. UINT RTMPTableIOAPIC(BYTE IoApicID, DWORD Address); ParametersIoApicIDID of the I/O APIC to add. The value must be larger than any CPU's local APIC ID (including the IDs of logical CPUs) and less than 255. AddressThe address in the physical address space of the I/O APIC. If set to zero, the default address 0xFEC00000 is assumed. return valueZero if the table's size is exhausted or a value greater zero on success. This function must be called for each physical I/O APIC in the system. Most systems have only one I/O APIC, though up to 4 may be defined. The given IoApicID does not need to be the actual ID of the I/O APIC, but the given value must not colide with the ID of any CPU or other I/O APIC. RTTarget-32 will assign a unique ID to each I/O APIC once APIC mode is entered.
|