Fixed For Review

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7253 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
hfang
2009-01-13 07:28:52 +00:00
parent 46231010bd
commit 5326528b2f
9 changed files with 64 additions and 64 deletions

View File

@@ -30,7 +30,7 @@ ResetPowerManagementFeature (
{
EFI_STATUS Status;
UINT8 PowerManagementRegBlock;
UINT16 PMCSR;
UINT16 PowerManagementCSR;
PowerManagementRegBlock = 0;
@@ -48,7 +48,7 @@ ResetPowerManagementFeature (
//
// Turn off the PWE assertion and put the device into D0 State
//
PMCSR = 0x8000;
PowerManagementCSR = 0x8000;
//
// Write PMCSR
@@ -58,7 +58,7 @@ ResetPowerManagementFeature (
EfiPciIoWidthUint16,
PowerManagementRegBlock + 4,
1,
&PMCSR
&PowerManagementCSR
);
return EFI_SUCCESS;