Dear Olivier, Regarding this patch, It seems that there need to be added for the Foundation FVP models to "ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSMFoundationMem. c" also. (Current patch added to only "RTSMMem.c")
Please have a look. And I have a question about FVP models. As far as I know, "ArmVExpress-RTSM-AEMv8Ax4.dsc" is for Base FVP models, And "ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc" is for Foundation FVP models. But there is another dsc file named "ArmVExpress-FVP-AArch64.dsc". Could you let me know about this? Thanks. -----Original Message----- From: Olivier Martin [mailto:[email protected]] Sent: Saturday, April 12, 2014 1:18 AM To: 'Andrew Fish'; [email protected] Cc: [email protected] Subject: Re: [edk2] Passing Non-contiguous memory map to kernel on ARMv8 I have just created a wikipage to answer the question: https://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPlatform Pkg/SparseMemory ... and added support for the ARM Base and Foundation FVP models in SVN 15461 - ArmPlatformPkg/ArmVExpressLibRTSM: Added support for the additional 2GB memory of DRAM on FVP. Here is the example of the Foundation Model DRAM: 0x00_8000_0000 0x00_FFFF_FFFF DRAM (0GB - 2GB) DRAM (0GB - 2GB) 2GB S/NS 0x08_8000_0000 0x09_FFFF_FFFF DRAM (2GB - 8GB) DRAM (2GB - 8GB) 6GB S/NS Source: http://infocenter.arm.com/help/topic/com.arm.doc.dui0677c/BBACIHDC.html Note: I only added 2GB from the extra 6GB because the Base FVP model has only 2GB by default at 0x08_8000_0000. > -----Original Message----- > From: Andrew Fish [mailto:[email protected]] > Sent: 11 April 2014 16:43 > To: [email protected] > Cc: Olivier Martin; [email protected] > Subject: Re: [edk2] Passing Non-contiguous memory map to kernel on > ARMv8 > > > On Apr 11, 2014, at 3:11 AM, Youngmin Nam <[email protected]> > wrote: > > > Hello Olivier and Expert, > > > > I am trying to pass the non-contiguous physical memory map to kernel > on ARMv8. > > > > Can the UEFI pass non-contiguous physical memory area to the kernel? > > > > Yes > > > I mean, Physical memory is divided into 0x80000000-0xFFFFFFFF(2GB) > and 0x880000000- 0xFFFFFFFFF(30GB). > > > > If possible, Could you explain how to describe in UEFI? > > > > The platform passes up the info in the EFI Memory map. So that is a > gBS->GetMemoryMap() call. > The shell has a memmap command that dumps the data. > > > How to add memory regions is not defined in UEFI, but it is defined in > PI. > > The region is added via gDS->AddMemorySpace() > > The initial map is based on EFI_HOB_TYPE_RESOURCE_DESCRIPTOR HOBs > passed into the DXE Core > > https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdeModulePkg/Core/Dxe/Gc > d/Gcd.c CoreInitializeGcdServices() > > So platform specific code needs to build the HOB or call gDS- > >AddMemorySpace(). > > Thanks, > > Andrew Fish > > > Otherwise, Could you let me know the reason? > > > > Thanks, > > > > > > --------------------------------------------------------------------- > --------- > > Put Bad Developers to Shame > > Dominate Development with Jenkins Continuous Integration > > Continuously Automate Build, Test & Deployment > > Start a new project now. Try Jenkins in the cloud. > > http://p.sf.net/sfu/13600_Cloudbees > > _______________________________________________ > > edk2-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/edk2-devel > > ---------------------------------------------------------------------------- -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
