Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTMPTablePCIInterrupt Function RTMPACPITableCreate |
Function RTMPACPITableCreateRTMPACPITableCreate creates an "MP Floating Pointer Structure" from information supplied by the ACPI BIOS. An ACPI-generated MP Floating Pointer Structure may be required if the BIOS does not provide such a structure or the BIOS' structure contains errors. UINT RTMPACPITableCreate(void * TableBuffer, UINT TableSize, DWORD Flags); ParametersTableBufferPointer to a buffer in which the table will be built. The buffer should be statically or heap allocated and must not be deallocated before the program terminates. A typical table for a multi-core system with 1 I/O APIC, 5 busses and 20 interrupts would need 240 bytes. A size of 1024 bytes will be sufficient even for very complex systems. TableSizeSize of the buffer pointed to by parameter TableBuffer. Flags0 or RT_APIC_VERBOSE to instructs RTMPACPITableCreate to display minor deficiences of the found ACPI data. return valueZero on failure (the table's size is exhausted or no required ACPI tables have been found) or a value greater zero on success. To use this function, additional library Acpica.lib must be linked. Acpica.lib contains Intel's ACPI Component Architecture library.
|