UefiCpuPkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
/** @file
|
||||
Produces the CPU I/O PPI.
|
||||
|
||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -54,7 +54,7 @@ EFI_PEI_PPI_DESCRIPTOR gPpiList = {
|
||||
&gEfiPeiCpuIoPpiInstalledGuid,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// Lookup table for increment values based on transfer widths
|
||||
//
|
||||
@@ -103,9 +103,9 @@ UINT8 mOutStride[] = {
|
||||
@retval EFI_SUCCESS The parameters for this request pass the checks.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
CpuIoCheckParameter (
|
||||
@@ -148,20 +148,20 @@ CpuIoCheckParameter (
|
||||
if (!MmioOperation && (Width == EfiPeiCpuIoWidthUint64)) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Check to see if any address associated with this transfer exceeds the maximum
|
||||
// Check to see if any address associated with this transfer exceeds the maximum
|
||||
// allowed address. The maximum address implied by the parameters passed in is
|
||||
// Address + Size * Count. If the following condition is met, then the transfer
|
||||
// is not supported.
|
||||
//
|
||||
// Address + Size * Count > (MmioOperation ? MAX_ADDRESS : MAX_IO_PORT_ADDRESS) + 1
|
||||
//
|
||||
// Since MAX_ADDRESS can be the maximum integer value supported by the CPU and Count
|
||||
// Since MAX_ADDRESS can be the maximum integer value supported by the CPU and Count
|
||||
// can also be the maximum integer value supported by the CPU, this range
|
||||
// check must be adjusted to avoid all overflow conditions.
|
||||
//
|
||||
// The following form of the range check is equivalent but assumes that
|
||||
//
|
||||
// The following form of the range check is equivalent but assumes that
|
||||
// MAX_ADDRESS and MAX_IO_PORT_ADDRESS are of the form (2^n - 1).
|
||||
//
|
||||
Limit = (MmioOperation ? MAX_ADDRESS : MAX_IO_PORT_ADDRESS);
|
||||
@@ -169,7 +169,7 @@ CpuIoCheckParameter (
|
||||
if (Address > Limit) {
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
MaxCount = RShiftU64 (Limit, Width);
|
||||
if (MaxCount < (Count - 1)) {
|
||||
return EFI_UNSUPPORTED;
|
||||
@@ -178,7 +178,7 @@ CpuIoCheckParameter (
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ CpuIoCheckParameter (
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -270,7 +270,7 @@ CpuMemoryServiceRead (
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -344,7 +344,7 @@ CpuMemoryServiceWrite (
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -438,7 +438,7 @@ CpuIoServiceRead (
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -517,14 +517,14 @@ CpuIoServiceWrite (
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
8-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -545,7 +545,7 @@ CpuIoRead8 (
|
||||
/**
|
||||
16-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -567,7 +567,7 @@ CpuIoRead16 (
|
||||
/**
|
||||
32-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -589,7 +589,7 @@ CpuIoRead32 (
|
||||
/**
|
||||
64-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -611,7 +611,7 @@ CpuIoRead64 (
|
||||
/**
|
||||
8-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -633,7 +633,7 @@ CpuIoWrite8 (
|
||||
/**
|
||||
16-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -655,7 +655,7 @@ CpuIoWrite16 (
|
||||
/**
|
||||
32-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -677,7 +677,7 @@ CpuIoWrite32 (
|
||||
/**
|
||||
64-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -699,7 +699,7 @@ CpuIoWrite64 (
|
||||
/**
|
||||
8-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -721,7 +721,7 @@ CpuMemRead8 (
|
||||
/**
|
||||
16-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -743,7 +743,7 @@ CpuMemRead16 (
|
||||
/**
|
||||
32-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -765,7 +765,7 @@ CpuMemRead32 (
|
||||
/**
|
||||
64-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -787,7 +787,7 @@ CpuMemRead64 (
|
||||
/**
|
||||
8-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -809,7 +809,7 @@ CpuMemWrite8 (
|
||||
/**
|
||||
16-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -831,7 +831,7 @@ CpuMemWrite16 (
|
||||
/**
|
||||
32-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -853,7 +853,7 @@ CpuMemWrite32 (
|
||||
/**
|
||||
64-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -878,7 +878,7 @@ CpuMemWrite64 (
|
||||
This function is the Entry point of the CPU I/O PEIM which installs CpuIoPpi.
|
||||
|
||||
@param[in] FileHandle Pointer to image file handle.
|
||||
@param[in] PeiServices Pointer to PEI Services Table
|
||||
@param[in] PeiServices Pointer to PEI Services Table
|
||||
|
||||
@retval EFI_SUCCESS CPU I/O PPI successfully installed
|
||||
|
||||
@@ -896,12 +896,12 @@ CpuIoInitialize (
|
||||
// Register so it will be automatically shadowed to memory
|
||||
//
|
||||
Status = PeiServicesRegisterForShadow (FileHandle);
|
||||
|
||||
|
||||
//
|
||||
// Make CpuIo pointer in PeiService table point to gCpuIoPpi
|
||||
//
|
||||
(*((EFI_PEI_SERVICES **)PeiServices))->CpuIo = &gCpuIoPpi;
|
||||
|
||||
|
||||
if (Status == EFI_ALREADY_STARTED) {
|
||||
//
|
||||
// Shadow completed and running from memory
|
||||
@@ -911,6 +911,6 @@ CpuIoInitialize (
|
||||
Status = PeiServicesInstallPpi (&gPpiList);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
}
|
||||
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
@@ -1,14 +1,14 @@
|
||||
/** @file
|
||||
Internal include file for the CPU I/O PPI.
|
||||
|
||||
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
||||
@@ -40,7 +40,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -69,7 +69,7 @@ CpuMemoryServiceRead (
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -98,7 +98,7 @@ CpuMemoryServiceWrite (
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -127,7 +127,7 @@ CpuIoServiceRead (
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Width is invalid for this EFI system.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
@retval EFI_UNSUPPORTED The address range specified by Address, Width,
|
||||
and Count is not valid for this EFI system.
|
||||
|
||||
**/
|
||||
@@ -145,7 +145,7 @@ CpuIoServiceWrite (
|
||||
/**
|
||||
8-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -163,7 +163,7 @@ CpuIoRead8 (
|
||||
/**
|
||||
16-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -182,7 +182,7 @@ CpuIoRead16 (
|
||||
/**
|
||||
32-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -201,7 +201,7 @@ CpuIoRead32 (
|
||||
/**
|
||||
64-bit I/O read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -220,7 +220,7 @@ CpuIoRead64 (
|
||||
/**
|
||||
8-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -239,7 +239,7 @@ CpuIoWrite8 (
|
||||
/**
|
||||
16-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -258,7 +258,7 @@ CpuIoWrite16 (
|
||||
/**
|
||||
32-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -277,7 +277,7 @@ CpuIoWrite32 (
|
||||
/**
|
||||
64-bit I/O write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -296,7 +296,7 @@ CpuIoWrite64 (
|
||||
/**
|
||||
8-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -315,7 +315,7 @@ CpuMemRead8 (
|
||||
/**
|
||||
16-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -334,7 +334,7 @@ CpuMemRead16 (
|
||||
/**
|
||||
32-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -353,7 +353,7 @@ CpuMemRead32 (
|
||||
/**
|
||||
64-bit memory read operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -372,7 +372,7 @@ CpuMemRead64 (
|
||||
/**
|
||||
8-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -391,7 +391,7 @@ CpuMemWrite8 (
|
||||
/**
|
||||
16-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -410,7 +410,7 @@ CpuMemWrite16 (
|
||||
/**
|
||||
32-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -429,7 +429,7 @@ CpuMemWrite32 (
|
||||
/**
|
||||
64-bit memory write operations.
|
||||
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
@param[in] PeiServices An indirect pointer to the PEI Services Table published
|
||||
by the PEI Foundation.
|
||||
@param[in] This Pointer to local data for the interface.
|
||||
@param[in] Address The physical address of the access.
|
||||
@@ -444,5 +444,5 @@ CpuMemWrite64 (
|
||||
IN UINT64 Address,
|
||||
IN UINT64 Data
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
@@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# Produces the CPU I/O PPI by using the services of the I/O Library.
|
||||
#
|
||||
# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
# which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -18,7 +18,7 @@
|
||||
MODULE_UNI_FILE = CpuIoPei.uni
|
||||
FILE_GUID = AE265864-CF5D-41a8-913D-71C155E76442
|
||||
MODULE_TYPE = PEIM
|
||||
VERSION_STRING = 1.0
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = CpuIoInitialize
|
||||
|
||||
#
|
||||
@@ -30,7 +30,7 @@
|
||||
[Sources]
|
||||
CpuIoPei.c
|
||||
CpuIoPei.h
|
||||
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
|
||||
|
@@ -3,13 +3,13 @@
|
||||
//
|
||||
// Produces the CPU I/O PPI by using the services of the I/O Library.
|
||||
//
|
||||
// Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
// Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// This program and the accompanying materials
|
||||
// are licensed and made available under the terms and conditions of the BSD License
|
||||
// which accompanies this distribution. The full text of the license may be found at
|
||||
// http://opensource.org/licenses/bsd-license.php
|
||||
//
|
||||
//
|
||||
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
//
|
||||
|
@@ -1,7 +1,7 @@
|
||||
// /** @file
|
||||
// CpuIoPei Localized Strings and Content
|
||||
//
|
||||
// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
// Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// This program and the accompanying materials
|
||||
// are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -13,8 +13,8 @@
|
||||
//
|
||||
// **/
|
||||
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
"CPU I/O PEI Module"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user