RTEMS | amd64: Restructure the APIC code (!168)
Kinsey Moore (@opticron)
gitlab at rtems.org
Tue Aug 6 23:40:37 UTC 2024
Kinsey Moore started a new discussion on bsps/x86_64/amd64/interrupts/apic.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/168#note_110605
> + * When the CPUID instruction is executed with a source operand of 1 in the EAX
> + * register, bit 9 of the CPUID feature flags returned in the EDX register
> + * indicates the presence (set) or absence (clear) of a local APIC.
> + *
> + * @return true if CPUID reports the presence of a local APIC.
> + */
> +static bool has_lapic_support(void)
> +{
> + uint32_t eax, ebx, ecx, edx;
> + cpuid(1, &eax, &ebx, &ecx, &edx);
> + return (edx >> 9) & 1;
> +}
> +
> +/**
> + * @brief Passed to acpi_walk_subtables to parse information from MADT entries
> + */
The parameter is not documented here.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/168#note_110605
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/20240806/0fc6ec85/attachment-0001.htm>
More information about the bugs
mailing list