Re: [PATCH] PcAtChipsetPkg AcpiTimerLib: Clear bits [31:24] after reading by IoRead32()
Zeng, Star <star.zeng@...>
Laszlo,
toggle quoted message
Show quoted text
I agree that is a better idea, please check the V2 patch. Thanks, Star
-----Original Message-----
From: Laszlo Ersek [mailto:lersek@...] Sent: Wednesday, September 28, 2016 6:51 PM To: Zeng, Star <star.zeng@...> Cc: edk2-devel@...; Yao, Jiewen <jiewen.yao@...>; Gao, Liming <liming.gao@...> Subject: Re: [edk2] [PATCH] PcAtChipsetPkg AcpiTimerLib: Clear bits [31:24] after reading by IoRead32() Star, On 09/28/16 12:17, Star Zeng wrote: Clear bits [31:24] when reading ACPI timer count by IoRead32(), alsoJust a question: would the IoBitFieldRead32() function apply in this case? If it is applicable, then I think it could make the code easier to read: IoBitFieldRead32 (Port, 0, 23) Just an idea. Thanks Laszlo diff --git a/PcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c |
|