Re: [edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages for DXE instance

2022-06-06 Thread Dong, Eric
Acked-by: Eric Dong From: Ni, Ray Sent: Tuesday, May 24, 2022 4:02 PM To: Wang, Jian J ; devel@edk2.groups.io Cc: Dong, Eric Subject: Re: [edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages for DXE instance Jian, Ia32/ExceptionHandlerAsm.nasm is used by 32bit

Re: [edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages for DXE instance

2022-05-24 Thread Wang, Jian J
> I will update the commit message to align to code behavior. > > Thanks, > Ray > > > From: Wang, Jian J > Sent: Monday, May 23, 2022 0:40 > To: devel@edk2.groups.io; Ni, Ray > Cc: Dong, Eric > Subject: RE: [edk2-d

Re: [edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages for DXE instance

2022-05-24 Thread Ni, Ray
From: Wang, Jian J Sent: Monday, May 23, 2022 0:40 To: devel@edk2.groups.io; Ni, Ray Cc: Dong, Eric Subject: RE: [edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages for DXE instance Ray, You changed "%rep 32" to "%r

Re: [edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages for DXE instance

2022-05-22 Thread Wang, Jian J
Sent: Friday, May 20, 2022 10:16 PM > To: devel@edk2.groups.io > Cc: Dong, Eric > Subject: [edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages > for DXE instance > > Today the DXE instance allocates code page and then copies the IDT > vectors to the alloc

[edk2-devel] [PATCH 1/5] CpuException: Avoid allocating code pages for DXE instance

2022-05-20 Thread Ni, Ray
Today the DXE instance allocates code page and then copies the IDT vectors to the allocated code page. Then it fixes up the vector number in the IDT vector. But if we update the NASM file to generate 256 IDT vectors, there is no need to do the copy and fix-up. A side effect is up to 4096 bytes