bsps/x86_64/*: Fix old style declaration

Newer C versions require that the storage-class specifier like
static or _Thread_Local be the first thing in a declaration.
This commit is contained in:
Joel Sherrill
2025-09-03 09:15:17 -05:00
parent 72837b30d8
commit b960eaf405
+2 -2
View File
@@ -228,7 +228,7 @@ void lapic_start_ap(uint32_t cpu_index, uint8_t page_vector);
* @brief Retrieves the Local APIC ID
* @return Local APIC ID
*/
uint8_t inline lapic_get_id(void)
inline uint8_t lapic_get_id(void)
{
/* ID stored in highest 8 bits */
return amd64_lapic_base[LAPIC_REGISTER_ID]>>24;
@@ -237,7 +237,7 @@ uint8_t inline lapic_get_id(void)
/**
* @brief Signals an end of interrupt to the Local APIC
*/
void inline lapic_eoi(void)
inline void lapic_eoi(void)
{
amd64_lapic_base[LAPIC_REGISTER_EOI] = LAPIC_EOI_ACK;
}