forked from xt-sys/exectos
Store physical address as well in the image context
This commit is contained in:
@@ -226,6 +226,7 @@ PeLoadImage(IN PEFI_FILE_HANDLE FileHandle,
|
||||
|
||||
/* Store image data and virtual address */
|
||||
ImageData->Data = (PUINT8)(UINT_PTR)Address;
|
||||
ImageData->PhysicalAddress = (PVOID)(UINT_PTR)Address;
|
||||
if(VirtualAddress)
|
||||
{
|
||||
/* Virtual address passed to this routine */
|
||||
|
Reference in New Issue
Block a user