bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/4] i386: Fix lapic and ioapic for smp


From: Almudena Garcia
Subject: Re: [PATCH 2/4] i386: Fix lapic and ioapic for smp
Date: Tue, 15 Nov 2022 21:31:54 +0100


> Ah, it's just the content that's written, not a pointer to it, OK.

 lapic->icr_high and lapic->icr_low are the real registers, the rest are the temporary object which only prepare the content to be written in these

El mar, 15 nov 2022 a las 2:21, Samuel Thibault (<samuel.thibault@gnu.org>) escribió:
Almudena Garcia, le mar. 15 nov. 2022 01:48:52 +0100, a ecrit:
> > Again, we need a memory barrier, to prevent the compiler from emitting
> these writes in the wrong order.
>
> Really, these writes are using a temporary struct.

> There are a only write to the real register, which is done assigning
> the temporary struct to the real register through the HAL 

Ah, it's just the content that's written, not a pointer to it, OK.

Samuel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]