Re: [edk2] Memory allocation on x64

Subject: Re: [edk2] Memory allocation on x64

From: rangasai C <rangasaic@gmail.com>

To: edk2-devel@lists.sourceforge.net

Date: 2011-09-07 03:17:16

How do I do that or should I be doing that ?
My understanding was it is not recommended to make any assumption on system memory map. I also read some where that it is not recommended to do things like ignoring upper 32 bits or masking them off.

Could you clarify ?

Thanks,
Sai

On Tue, Sep 6, 2011 at 7:09 PM, Andrew Fish <afish@apple.com> wrote:
For portable code you need to request a buffer under 4GB if that is what you need.

Andrew Fish





On Sep 6, 2011, at 6:43 PM, rangasai C wrote:

Hello all,
I was going through the memory allocation details in pre-boot environment.
For IA-32 platforms, boot services likegBS->AllocatePool() will allocate a buffer below 4GB.
For Itanium based platforms, the buffer could be allocated anywhere in the 64 bit address space.
On a x64 based platform during pre-boot ( before ExitBootServices() is called, will a buffer be allocated below 4GB or will it be anywhere in the 64 bit address space ?

Thanks,
Sai
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel