Currently the initial scratch space is in the UEFI FD image. I reduced the image size from 8MB to ~2.2MB and most of the second free area (green) is the scratch space.
We probably don't need to waste this space. I think this scratch space is only used in the very beginning and then we use physical RAM for the scratch space.
Since memory is trained when EDK2 starts (on all platforms so far), we probably don't to start off with scratch space in memory.
Currently the initial scratch space is in the UEFI FD image. I reduced the image size from 8MB to ~2.2MB and most of the second free area (green) is the scratch space.
We probably don't need to waste this space. I think this scratch space is only used in the very beginning and then we use physical RAM for the scratch space.
Since memory is trained when EDK2 starts (on all platforms so far), we probably don't to start off with scratch space in memory.