1. fixed one bug in Common/FrameworkFirmwareFileSystem.h
2. add IntelFrameworkPkg.dsc 3. add Guid/StatusCodeDataTypeId.h and update IntelFrameworkPkg.dec and IntelFrameworkPkg.nspd 4. Port DxeIoLibCpuIo.inf, DxeReportStatusCodeLib.inf and DxeSmmDriverEntryPoint.inf git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2827 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -17,14 +17,25 @@
|
||||
#ifndef _DXE_CPUIO_LIB_INTERNAL_H_
|
||||
#define _DXE_CPUIO_LIB_INTERNAL_H_
|
||||
|
||||
//
|
||||
// The package level header files this module uses
|
||||
//
|
||||
#include <FrameworkDxe.h>
|
||||
|
||||
//
|
||||
// The protocols, PPI and GUID defintions for this module
|
||||
//
|
||||
#include <Protocol/CpuIo.h>
|
||||
#include <Protocol/PciRootBridgeIo.h>
|
||||
|
||||
//
|
||||
// The Library classes this module consumes
|
||||
//
|
||||
#include <Library/IoLib.h>
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/BaseLib.h>
|
||||
|
||||
#include <Protocol/PciRootBridgeIo.h>
|
||||
#include <Protocol/CpuIo.h>
|
||||
|
||||
/**
|
||||
Reads registers in the EFI CPU I/O space.
|
||||
|
@@ -23,6 +23,11 @@
|
||||
|
||||
**/
|
||||
|
||||
//
|
||||
// Include common header file for this module.
|
||||
//
|
||||
#include "CommonHeader.h"
|
||||
|
||||
#include "DxeCpuIoLibInternal.h"
|
||||
|
||||
/**
|
||||
|
@@ -14,6 +14,11 @@
|
||||
|
||||
**/
|
||||
|
||||
//
|
||||
// Include common header file for this module.
|
||||
//
|
||||
#include "CommonHeader.h"
|
||||
|
||||
#include "DxeCpuIoLibInternal.h"
|
||||
|
||||
//
|
||||
@@ -146,7 +151,7 @@ MmioReadWorker (
|
||||
UINT64 Data;
|
||||
|
||||
if (mPciRootBridgeIo != NULL) {
|
||||
Status = mPciRootBridgeIo.Mem.Read (mPciRootBridgeIo, Width, Address, 1, &Data);
|
||||
Status = mPciRootBridgeIo->Mem.Read (mPciRootBridgeIo, Width, Address, 1, &Data);
|
||||
} else {
|
||||
Status = mCpuIo->Mem.Read (mCpuIo, Width, Address, 1, &Data);
|
||||
}
|
||||
|
@@ -12,6 +12,11 @@
|
||||
|
||||
**/
|
||||
|
||||
//
|
||||
// Include common header file for this module.
|
||||
//
|
||||
#include "CommonHeader.h"
|
||||
|
||||
#include "DxeCpuIoLibInternal.h"
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user