Enable DEP in EDKII
In the white paper, A Tour Beyond BIOS- Memory Protection in UEFI BIOS, we discussed the how to enable DEP for stack, heap, and PE image in Driver eXecution Environment (DXE) and System Management Mode (SMM) environment.
We support Non-Executable stack, ReadOnly Portable Executable (PE) image code, Non-Executable PE image data.