Re: [edk2] Make the upper memory usable.

Subject: Re: [edk2] Make the upper memory usable.

From: Isakov Sergey <isakov-sl@bk.ru>

To: edk2-devel@lists.sourceforge.net

Date: 2013-01-19 16:29:00


On 17.01.2013, at 15:17, Konstantin Filatov wrote:

> Hello,
> =

> =

> --- CpuDxe/CpuDxe.c
> +++ CpuDxe/CpuDxe.c
> @@ -1110,13 +1110,9 @@ RestoreInterruptDescriptorTableHandlerAddress (
>    IN UINTN       Index
>    )
>  {
> -  if (Index < mOrigIdtEntryCount) {
> -    gIdtTable[Index].Bits.OffsetLow   =3D =

> mOrigIdtEntry[Index].Bits.OffsetLow;
> -    gIdtTable[Index].Bits.OffsetHigh  =3D =

> mOrigIdtEntry[Index].Bits.OffsetHigh;
> -#if defined (MDE_CPU_X64)
> -    gIdtTable[Index].Bits.OffsetUpper =3D =

> mOrigIdtEntry[Index].Bits.OffsetUpper;
> -#endif

This is wrong.
You must not exclude #if defined=85
because OffsetUpper is not defined for IA32

Sergey


---------------------------------------------------------------------------=
---
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel