On 6/27/2016 1:25 AM, Cinnamon Shia wrote:
Let data of DXE memory status code can be used by other modules.
1. Save the address of DXE memory status code table to DxeConfigurationTable.
2. Save the address of SMM memory status code table to SmmConfigurationTable.
3. Move RUNTIME_MEMORY_STATUSCODE_HEADER to its public header file.

I'm getting an error building OVMF today, which appears related:

In file included from /home/bcran/workspace/edk2/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/SerialStatusCodeWorker.c:15:0: /home/bcran/workspace/edk2/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.h:63:3: error: conflicting types for ‘RUNTIME_MEMORY_STATUSCODE_HEADER’
 } RUNTIME_MEMORY_STATUSCODE_HEADER;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/bcran/workspace/edk2/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.h:22:0, from /home/bcran/workspace/edk2/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/SerialStatusCodeWorker.c:15: /home/bcran/workspace/edk2/MdeModulePkg/Include/Guid/MemoryStatusCodeRecord.h:76:3: note: previous declaration of ‘RUNTIME_MEMORY_STATUSCODE_HEADER’ was here
 } RUNTIME_MEMORY_STATUSCODE_HEADER;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
Bruce
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to