Re: [edk2-devel] [PATCH 2/2] UefiCpuPkg: RISC-V: TimerLib: Fix delay function to use 64-bit

2023-06-06 Thread Tuan Phan
On Tue, Jun 6, 2023 at 10:10 AM Sunil V L wrote: > On Tue, Jun 06, 2023 at 10:02:08AM -0700, Tuan Phan wrote: > > On Tue, Jun 6, 2023 at 3:27 AM Sunil V L > wrote: > > > > > On Fri, May 26, 2023 at 04:25:18PM -0700, Tuan Phan wrote: > > > > The timer compare register is 64-bit so simplifying the

Re: [edk2-devel] [PATCH 2/2] UefiCpuPkg: RISC-V: TimerLib: Fix delay function to use 64-bit

2023-06-06 Thread Sunil V L
On Tue, Jun 06, 2023 at 10:02:08AM -0700, Tuan Phan wrote: > On Tue, Jun 6, 2023 at 3:27 AM Sunil V L wrote: > > > On Fri, May 26, 2023 at 04:25:18PM -0700, Tuan Phan wrote: > > > The timer compare register is 64-bit so simplifying the delay > > > function. > > > > > > Signed-off-by: Tuan Phan >

Re: [edk2-devel] [PATCH 2/2] UefiCpuPkg: RISC-V: TimerLib: Fix delay function to use 64-bit

2023-06-06 Thread Tuan Phan
On Tue, Jun 6, 2023 at 3:27 AM Sunil V L wrote: > On Fri, May 26, 2023 at 04:25:18PM -0700, Tuan Phan wrote: > > The timer compare register is 64-bit so simplifying the delay > > function. > > > > Signed-off-by: Tuan Phan > > --- > > MdePkg/Include/Register/RiscV64/RiscVImpl.h | 1 - > > ...

Re: [edk2-devel] [PATCH 2/2] UefiCpuPkg: RISC-V: TimerLib: Fix delay function to use 64-bit

2023-06-06 Thread Sunil V L
On Fri, May 26, 2023 at 04:25:18PM -0700, Tuan Phan wrote: > The timer compare register is 64-bit so simplifying the delay > function. > > Signed-off-by: Tuan Phan > --- > MdePkg/Include/Register/RiscV64/RiscVImpl.h | 1 - > .../BaseRiscV64CpuTimerLib/CpuTimerLib.c | 62 +

[edk2-devel] [PATCH 2/2] UefiCpuPkg: RISC-V: TimerLib: Fix delay function to use 64-bit

2023-05-26 Thread Tuan Phan
The timer compare register is 64-bit so simplifying the delay function. Signed-off-by: Tuan Phan --- MdePkg/Include/Register/RiscV64/RiscVImpl.h | 1 - .../BaseRiscV64CpuTimerLib/CpuTimerLib.c | 62 +-- 2 files changed, 28 insertions(+), 35 deletions(-) diff --git a/MdeP