/** @file\r
PEI Services Table Pointer Library services\r
\r
- Copyright (c) 2006, Intel Corporation \r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ Copyright (c) 2006, Intel Corporation\r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name: PeiServicesTablePointerLib.h\r
\r
\r
/**\r
The function returns the pointer to PEI services.\r
- \r
- The function returns the pointer to PEI services. \r
+\r
+ The function returns the pointer to PEI services.\r
It will ASSERT() if the pointer to PEI services is NULL.\r
\r
@retval The pointer to PeiServices.\r
\r
**/\r
EFI_PEI_SERVICES **\r
+EFIAPI\r
GetPeiServicesTablePointer (\r
VOID\r
);\r
\r
/**\r
The constructor function caches the pointer to CpuIo protocol.\r
- \r
+\r
The constructor function locates CpuIo protocol from protocol database.\r
- It will ASSERT() if that operation fails and it will always return EFI_SUCCESS. \r
+ It will ASSERT() if that operation fails and it will always return EFI_SUCCESS.\r
\r
@param ImageHandle The firmware allocated handle for the EFI image.\r
@param SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
IoLibConstructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
This function must guarantee that all I/O read and write operations are serialized.\r
\r
@param Port The base address of the I/O operation.\r
- The caller is responsible for aligning the Address if required. \r
+ The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
- \r
+\r
@return Data read from registers in the EFI CPU I/O space.\r
\r
**/\r
This function must guarantee that all I/O read and write operations are serialized.\r
\r
@param Port The base address of the I/O operation.\r
- The caller is responsible for aligning the Address if required. \r
+ The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
@param Data The value to write to the I/O port.\r
- \r
+\r
@return The paramter of Data.\r
\r
**/\r
}\r
\r
/**\r
- Reads memory-mapped registers in the EFI system memory space. \r
+ Reads memory-mapped registers in the EFI system memory space.\r
\r
Reads the MMIO registers specified by Address with registers width specified by Width.\r
The read value is returned. If such operations are not supported, then ASSERT().\r
This function must guarantee that all MMIO read and write operations are serialized.\r
\r
@param Address The MMIO register to read.\r
- The caller is responsible for aligning the Address if required. \r
+ The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
- \r
+\r
@return Data read from registers in the EFI system memory space.\r
\r
**/\r
}\r
\r
/**\r
- Writes memory-mapped registers in the EFI system memory space. \r
+ Writes memory-mapped registers in the EFI system memory space.\r
\r
Writes the MMIO registers specified by Address with registers width and value specified by Width\r
and Data respectively. Data is returned. If such operations are not supported, then ASSERT().\r
This function must guarantee that all MMIO read and write operations are serialized.\r
\r
@param Address The MMIO register to read.\r
- The caller is responsible for aligning the Address if required. \r
+ The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
- \r
+\r
@return Data read from registers in the EFI system memory space.\r
\r
**/\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
DxeServicesTableLibConstructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
PEI Services Table Pointer Library.\r
\r
Copyright (c) 2006, Intel Corporation<BR>\r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name: PeiServicesTablePointer.c\r
\r
\r
/**\r
The function returns the pointer to PEI services.\r
- \r
- The function returns the pointer to PEI services. \r
+\r
+ The function returns the pointer to PEI services.\r
It will ASSERT() if the pointer to PEI services is NULL.\r
\r
@retval The pointer to PeiServices.\r
/**\r
The constructor function caches the pointer to PEI services.\r
\r
- The constructor function caches the pointer to PEI services. \r
+ The constructor function caches the pointer to PEI services.\r
It will always return EFI_SUCCESS.\r
\r
@param FfsHeader Pointer to FFS header the loaded driver.\r
@param PeiServices Pointer to the PEI services.\r
- \r
+\r
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
PeiServicesTablePointerLibConstructor (\r
IN EFI_FFS_FILE_HEADER *FfsHeader,\r
IN EFI_PEI_SERVICES **PeiServices\r
PEI Services Table Pointer Library.\r
\r
Copyright (c) 2006, Intel Corporation<BR>\r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
Module Name: PeiServicesTablePointer.c\r
\r
/**\r
The function returns the pointer to PeiServices.\r
- \r
- The function returns the pointer to PeiServices. \r
+\r
+ The function returns the pointer to PeiServices.\r
It will ASSERT() if the pointer to PeiServices is NULL.\r
\r
@retval The pointer to PeiServices.\r
\r
**/\r
EFI_PEI_SERVICES **\r
+EFIAPI\r
GetPeiServicesTablePointer (\r
VOID\r
)\r
\r
/**\r
The constructor function caches the pointer to PEI services.\r
- \r
- The constructor function caches the pointer to PEI services. \r
+\r
+ The constructor function caches the pointer to PEI services.\r
It will always return EFI_SUCCESS.\r
\r
@param FfsHeader Pointer to FFS header the loaded driver.\r
@param PeiServices Pointer to the PEI services.\r
- \r
+\r
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
PeiServicesTablePointerLibConstructor (\r
IN EFI_FFS_FILE_HEADER *FfsHeader,\r
IN EFI_PEI_SERVICES **PeiServices\r
UEFI Boot Services Table Library.\r
\r
Copyright (c) 2006, Intel Corporation<BR>\r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name: UefiBootServicesTableLib.c\r
\r
/**\r
The constructor function caches the pointer of Boot Services Table.\r
\r
- The constructor function caches the pointer of Boot Services Table through System Table. \r
+ The constructor function caches the pointer of Boot Services Table through System Table.\r
It will ASSERT() if the pointer of System Table is NULL.\r
It will ASSERT() if the pointer of Boot Services Table is NULL.\r
It will always return EFI_SUCCESS.\r
\r
@param ImageHandle The firmware allocated handle for the EFI image.\r
@param SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UefiBootServicesTableLibConstructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
EFI Driver Model Library.\r
\r
Copyright (c) 2006, Intel Corporation<BR>\r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name: UefiDriverModelLib.c\r
\r
/**\r
The constructor function installs the standard EFI Driver Model Protocols.\r
\r
- @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
@param[in] SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The constructor always return EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UefiDriverModelLibConstructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
\r
//\r
// Check for all 8 possible combinations of the ComponentName, DriverConfiguration, and DriverDiagnostics Protocol\r
- // These are all checks against const pointers, so the optimizing compiler will only select one of the \r
+ // These are all checks against const pointers, so the optimizing compiler will only select one of the\r
// calls to InstallMultipleProtocolInterfaces()\r
//\r
if (_gDriverModelProtocolList[0].DriverDiagnostics == NULL) {\r
/**\r
The destructor function uninstalls the standard EFI Driver Model Protocols.\r
\r
- @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
+ @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
@param[in] SystemTable A pointer to the EFI System Table.\r
- \r
+\r
@retval EFI_SUCCESS The destructor always return EFI_SUCCESS.\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UefiDriverModelLibDestructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r
\r
//\r
// Check for all 8 possible combinations of the ComponentName, DriverConfiguration, and DriverDiagnostics Protocol\r
- // These are all checks against const pointers, so the optimizing compiler will only select one of the \r
+ // These are all checks against const pointers, so the optimizing compiler will only select one of the\r
// calls to InstallMultipleProtocolInterfaces()\r
//\r
if (_gDriverModelProtocolList[0].DriverDiagnostics == NULL) {\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UefiRuntimeServicesTableLibConstructor (\r
IN EFI_HANDLE ImageHandle,\r
IN EFI_SYSTEM_TABLE *SystemTable\r