RTEMS | x86_64/amd64: Add SMP support (!169)
Matheus Pecoraro (@mpec)
gitlab at rtems.org
Sat Aug 24 16:52:34 UTC 2024
Matheus Pecoraro commented on a discussion on bsps/x86_64/amd64/interrupts/apic.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/169#note_111494
> static void madt_subtables_handler(ACPI_SUBTABLE_HEADER* entry)
> {
> switch (entry->Type) {
> +#ifdef RTEMS_SMP
> + case ACPI_MADT_TYPE_LOCAL_APIC:
> + ACPI_MADT_LOCAL_APIC* lapic_entry = (ACPI_MADT_LOCAL_APIC*) entry;
> +
> + if (lapic_count >= xAPIC_MAX_APIC_ID + 1 ||
> + lapic_get_id() == lapic_entry->Id)
> + {
Fixed.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/169#note_111494
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240824/3c6b3b31/attachment.htm>
More information about the bugs
mailing list