mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Minor grammatical work--mostly adding periods. Items with ONLY period added did not have the heading date changed, but Items with content changes had heading copyright dates updated. Sending separately a list of files missing Doxygen @param and @return information. (PENDING)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10596 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c5eef36d69
commit
127010dd96
@ -1,11 +1,11 @@
|
||||
/** @file
|
||||
Math worker functions.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
/**
|
||||
Shifts a 64-bit integer right between 0 and 63 bits. The high bits are filled
|
||||
with original integer's bit 63. The shifted value is returned.
|
||||
with the original integer's bit 63. The shifted value is returned.
|
||||
|
||||
This function shifts the 64-bit value Operand to the right by Count bits. The
|
||||
high Count bits are set to bit 63 of Operand. The shifted value is returned.
|
||||
|
@ -7,7 +7,7 @@
|
||||
# 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
|
||||
# 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,11 +1,11 @@
|
||||
/** @file
|
||||
Declaration of internal functions in BaseLib.
|
||||
|
||||
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -46,7 +46,7 @@ InternalMathLShiftU64 (
|
||||
);
|
||||
|
||||
/**
|
||||
Shifts a 64-bit integer right between 0 and 63 bits. This high bits
|
||||
Shifts a 64-bit integer right between 0 and 63 bits. The high bits
|
||||
are filled with zeros. The shifted value is returned.
|
||||
|
||||
This function shifts the 64-bit value Operand to the right by Count bits. The
|
||||
@ -90,7 +90,7 @@ InternalMathARShiftU64 (
|
||||
the low bits with the high bits that were rotated.
|
||||
|
||||
This function rotates the 64-bit value Operand to the left by Count bits. The
|
||||
low Count bits are fill with the high Count bits of Operand. The rotated
|
||||
low Count bits are filled with the high Count bits of Operand. The rotated
|
||||
value is returned.
|
||||
|
||||
@param Operand The 64-bit operand to rotate left.
|
||||
@ -111,7 +111,7 @@ InternalMathLRotU64 (
|
||||
the high bits with the high low bits that were rotated.
|
||||
|
||||
This function rotates the 64-bit value Operand to the right by Count bits.
|
||||
The high Count bits are fill with the low Count bits of Operand. The rotated
|
||||
The high Count bits are filled with the low Count bits of Operand. The rotated
|
||||
value is returned.
|
||||
|
||||
@param Operand The 64-bit operand to rotate right.
|
||||
@ -146,10 +146,10 @@ InternalMathSwapBytes64 (
|
||||
);
|
||||
|
||||
/**
|
||||
Multiples a 64-bit unsigned integer by a 32-bit unsigned integer
|
||||
Multiplies a 64-bit unsigned integer by a 32-bit unsigned integer
|
||||
and generates a 64-bit unsigned result.
|
||||
|
||||
This function multiples the 64-bit unsigned value Multiplicand by the 32-bit
|
||||
This function multiplies the 64-bit unsigned value Multiplicand by the 32-bit
|
||||
unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
|
||||
bit unsigned result is returned.
|
||||
|
||||
@ -167,7 +167,7 @@ InternalMathMultU64x32 (
|
||||
);
|
||||
|
||||
/**
|
||||
Multiples a 64-bit unsigned integer by a 64-bit unsigned integer
|
||||
Multiplies a 64-bit unsigned integer by a 64-bit unsigned integer
|
||||
and generates a 64-bit unsigned result.
|
||||
|
||||
This function multiples the 64-bit unsigned value Multiplicand by the 64-bit
|
||||
@ -356,8 +356,8 @@ InternalSwitchStack (
|
||||
@param List A pointer to a node in a linked list.
|
||||
@param Node A pointer to one nod.
|
||||
|
||||
@retval TRUE Node is in List
|
||||
@retval FALSE Node isn't in List, or List is invalid
|
||||
@retval TRUE Node is in List.
|
||||
@retval FALSE Node isn't in List, or List is invalid.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
@ -488,7 +488,7 @@ InternalLongJump (
|
||||
Reads and returns the current GDTR descriptor and returns it in Gdtr. This
|
||||
function is only available on IA-32 and x64.
|
||||
|
||||
@param Gdtr Pointer to a GDTR descriptor.
|
||||
@param Gdtr The pointer to a GDTR descriptor.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@ -503,7 +503,7 @@ InternalX86ReadGdtr (
|
||||
Writes and the current GDTR descriptor specified by Gdtr. This function is
|
||||
only available on IA-32 and x64.
|
||||
|
||||
@param Gdtr Pointer to a GDTR descriptor.
|
||||
@param Gdtr The pointer to a GDTR descriptor.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@ -518,7 +518,7 @@ InternalX86WriteGdtr (
|
||||
Reads and returns the current IDTR descriptor and returns it in Idtr. This
|
||||
function is only available on IA-32 and x64.
|
||||
|
||||
@param Idtr Pointer to a IDTR descriptor.
|
||||
@param Idtr The pointer to an IDTR descriptor.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@ -533,7 +533,7 @@ InternalX86ReadIdtr (
|
||||
Writes the current IDTR descriptor and returns it in Idtr. This function is
|
||||
only available on IA-32 and x64.
|
||||
|
||||
@param Idtr Pointer to a IDTR descriptor.
|
||||
@param Idtr The pointer to an IDTR descriptor.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@ -549,7 +549,7 @@ InternalX86WriteIdtr (
|
||||
Buffer. Buffer must be aligned on a 16-byte boundary. This function is only
|
||||
available on IA-32 and x64.
|
||||
|
||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
@param Buffer The pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@ -565,7 +565,7 @@ InternalX86FxSave (
|
||||
by Buffer. Buffer must be aligned on a 16-byte boundary. This function is
|
||||
only available on IA-32 and x64.
|
||||
|
||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
@param Buffer The pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
|
||||
**/
|
||||
VOID
|
||||
@ -739,7 +739,7 @@ InternalX86DisablePaging64 (
|
||||
Reads control register DCR.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_DCR
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_DCR.
|
||||
|
||||
@return The 64-bit control register DCR.
|
||||
|
||||
@ -755,7 +755,7 @@ AsmReadControlRegisterDcr (
|
||||
Reads control register ITM.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ITM
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ITM.
|
||||
|
||||
@return The 64-bit control register ITM.
|
||||
|
||||
@ -771,7 +771,7 @@ AsmReadControlRegisterItm (
|
||||
Reads control register IVA.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IVA
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IVA.
|
||||
|
||||
@return The 64-bit control register IVA.
|
||||
|
||||
@ -787,7 +787,7 @@ AsmReadControlRegisterIva (
|
||||
Reads control register PTA.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_PTA
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_PTA.
|
||||
|
||||
@return The 64-bit control register PTA.
|
||||
|
||||
@ -803,7 +803,7 @@ AsmReadControlRegisterPta (
|
||||
Reads control register IPSR.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IPSR
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IPSR.
|
||||
|
||||
@return The 64-bit control register IPSR.
|
||||
|
||||
@ -819,7 +819,7 @@ AsmReadControlRegisterIpsr (
|
||||
Reads control register ISR.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ISR
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ISR.
|
||||
|
||||
@return The 64-bit control register ISR.
|
||||
|
||||
@ -835,7 +835,7 @@ AsmReadControlRegisterIsr (
|
||||
Reads control register IIP.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IIP
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IIP.
|
||||
|
||||
@return The 64-bit control register IIP.
|
||||
|
||||
@ -851,7 +851,7 @@ AsmReadControlRegisterIip (
|
||||
Reads control register IFA.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IFA
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IFA.
|
||||
|
||||
@return The 64-bit control register IFA.
|
||||
|
||||
@ -867,7 +867,7 @@ AsmReadControlRegisterIfa (
|
||||
Reads control register ITIR.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ITIR
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ITIR.
|
||||
|
||||
@return The 64-bit control register ITIR.
|
||||
|
||||
@ -883,7 +883,7 @@ AsmReadControlRegisterItir (
|
||||
Reads control register IIPA.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IIPA
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IIPA.
|
||||
|
||||
@return The 64-bit control register IIPA.
|
||||
|
||||
@ -899,7 +899,7 @@ AsmReadControlRegisterIipa (
|
||||
Reads control register IFS.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IFS
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IFS.
|
||||
|
||||
@return The 64-bit control register IFS.
|
||||
|
||||
@ -915,7 +915,7 @@ AsmReadControlRegisterIfs (
|
||||
Reads control register IIM.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IIM
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IIM.
|
||||
|
||||
@return The 64-bit control register IIM.
|
||||
|
||||
@ -931,7 +931,7 @@ AsmReadControlRegisterIim (
|
||||
Reads control register IHA.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IHA
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IHA.
|
||||
|
||||
@return The 64-bit control register IHA.
|
||||
|
||||
@ -947,7 +947,7 @@ AsmReadControlRegisterIha (
|
||||
Reads control register LID.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_LID
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_LID.
|
||||
|
||||
@return The 64-bit control register LID.
|
||||
|
||||
@ -963,7 +963,7 @@ AsmReadControlRegisterLid (
|
||||
Reads control register IVR.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IVR
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IVR.
|
||||
|
||||
@return The 64-bit control register IVR.
|
||||
|
||||
@ -979,7 +979,7 @@ AsmReadControlRegisterIvr (
|
||||
Reads control register TPR.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_TPR
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_TPR.
|
||||
|
||||
@return The 64-bit control register TPR.
|
||||
|
||||
@ -995,7 +995,7 @@ AsmReadControlRegisterTpr (
|
||||
Reads control register EOI.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_EOI
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_EOI.
|
||||
|
||||
@return The 64-bit control register EOI.
|
||||
|
||||
@ -1011,7 +1011,7 @@ AsmReadControlRegisterEoi (
|
||||
Reads control register IRR0.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR0
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR0.
|
||||
|
||||
@return The 64-bit control register IRR0.
|
||||
|
||||
@ -1027,7 +1027,7 @@ AsmReadControlRegisterIrr0 (
|
||||
Reads control register IRR1.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR1
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR1.
|
||||
|
||||
@return The 64-bit control register IRR1.
|
||||
|
||||
@ -1043,7 +1043,7 @@ AsmReadControlRegisterIrr1 (
|
||||
Reads control register IRR2.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR2
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR2.
|
||||
|
||||
@return The 64-bit control register IRR2.
|
||||
|
||||
@ -1059,7 +1059,7 @@ AsmReadControlRegisterIrr2 (
|
||||
Reads control register IRR3.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR3
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_IRR3.
|
||||
|
||||
@return The 64-bit control register IRR3.
|
||||
|
||||
@ -1075,7 +1075,7 @@ AsmReadControlRegisterIrr3 (
|
||||
Reads control register ITV.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ITV
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_ITV.
|
||||
|
||||
@return The 64-bit control register ITV.
|
||||
|
||||
@ -1091,7 +1091,7 @@ AsmReadControlRegisterItv (
|
||||
Reads control register PMV.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_PMV
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_PMV.
|
||||
|
||||
@return The 64-bit control register PMV.
|
||||
|
||||
@ -1107,7 +1107,7 @@ AsmReadControlRegisterPmv (
|
||||
Reads control register CMCV.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_CMCV
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_CMCV.
|
||||
|
||||
@return The 64-bit control register CMCV.
|
||||
|
||||
@ -1123,7 +1123,7 @@ AsmReadControlRegisterCmcv (
|
||||
Reads control register LRR0.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_LRR0
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_LRR0.
|
||||
|
||||
@return The 64-bit control register LRR0.
|
||||
|
||||
@ -1139,7 +1139,7 @@ AsmReadControlRegisterLrr0 (
|
||||
Reads control register LRR1.
|
||||
|
||||
This is a worker function for AsmReadControlRegister()
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_LRR1
|
||||
when its parameter Index is IPF_CONTROL_REGISTER_LRR1.
|
||||
|
||||
@return The 64-bit control register LRR1.
|
||||
|
||||
@ -1155,7 +1155,7 @@ AsmReadControlRegisterLrr1 (
|
||||
Reads application register K0.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K0
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K0.
|
||||
|
||||
@return The 64-bit application register K0.
|
||||
|
||||
@ -1172,7 +1172,7 @@ AsmReadApplicationRegisterK0 (
|
||||
Reads application register K1.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K1
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K1.
|
||||
|
||||
@return The 64-bit application register K1.
|
||||
|
||||
@ -1188,7 +1188,7 @@ AsmReadApplicationRegisterK1 (
|
||||
Reads application register K2.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K2
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K2.
|
||||
|
||||
@return The 64-bit application register K2.
|
||||
|
||||
@ -1204,7 +1204,7 @@ AsmReadApplicationRegisterK2 (
|
||||
Reads application register K3.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K3
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K3.
|
||||
|
||||
@return The 64-bit application register K3.
|
||||
|
||||
@ -1220,7 +1220,7 @@ AsmReadApplicationRegisterK3 (
|
||||
Reads application register K4.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K4
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K4.
|
||||
|
||||
@return The 64-bit application register K4.
|
||||
|
||||
@ -1236,7 +1236,7 @@ AsmReadApplicationRegisterK4 (
|
||||
Reads application register K5.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K5
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K5.
|
||||
|
||||
@return The 64-bit application register K5.
|
||||
|
||||
@ -1252,7 +1252,7 @@ AsmReadApplicationRegisterK5 (
|
||||
Reads application register K6.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K6
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K6.
|
||||
|
||||
@return The 64-bit application register K6.
|
||||
|
||||
@ -1268,7 +1268,7 @@ AsmReadApplicationRegisterK6 (
|
||||
Reads application register K7.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K7
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_K7.
|
||||
|
||||
@return The 64-bit application register K7.
|
||||
|
||||
@ -1284,7 +1284,7 @@ AsmReadApplicationRegisterK7 (
|
||||
Reads application register RSC.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_RSC
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_RSC.
|
||||
|
||||
@return The 64-bit application register RSC.
|
||||
|
||||
@ -1300,7 +1300,7 @@ AsmReadApplicationRegisterRsc (
|
||||
Reads application register BSP.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_BSP
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_BSP.
|
||||
|
||||
@return The 64-bit application register BSP.
|
||||
|
||||
@ -1316,7 +1316,7 @@ AsmReadApplicationRegisterBsp (
|
||||
Reads application register BSPSTORE.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_BSPSTORE
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_BSPSTORE.
|
||||
|
||||
@return The 64-bit application register BSPSTORE.
|
||||
|
||||
@ -1332,7 +1332,7 @@ AsmReadApplicationRegisterBspstore (
|
||||
Reads application register RNAT.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_RNAT
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_RNAT.
|
||||
|
||||
@return The 64-bit application register RNAT.
|
||||
|
||||
@ -1348,7 +1348,7 @@ AsmReadApplicationRegisterRnat (
|
||||
Reads application register FCR.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FCR
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FCR.
|
||||
|
||||
@return The 64-bit application register FCR.
|
||||
|
||||
@ -1364,7 +1364,7 @@ AsmReadApplicationRegisterFcr (
|
||||
Reads application register EFLAG.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_EFLAG
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_EFLAG.
|
||||
|
||||
@return The 64-bit application register EFLAG.
|
||||
|
||||
@ -1380,7 +1380,7 @@ AsmReadApplicationRegisterEflag (
|
||||
Reads application register CSD.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_CSD
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_CSD.
|
||||
|
||||
@return The 64-bit application register CSD.
|
||||
|
||||
@ -1396,7 +1396,7 @@ AsmReadApplicationRegisterCsd (
|
||||
Reads application register SSD.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_SSD
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_SSD.
|
||||
|
||||
@return The 64-bit application register SSD.
|
||||
|
||||
@ -1412,7 +1412,7 @@ AsmReadApplicationRegisterSsd (
|
||||
Reads application register CFLG.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_CFLG
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_CFLG.
|
||||
|
||||
@return The 64-bit application register CFLG.
|
||||
|
||||
@ -1428,7 +1428,7 @@ AsmReadApplicationRegisterCflg (
|
||||
Reads application register FSR.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FSR
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FSR.
|
||||
|
||||
@return The 64-bit application register FSR.
|
||||
|
||||
@ -1444,7 +1444,7 @@ AsmReadApplicationRegisterFsr (
|
||||
Reads application register FIR.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FIR
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FIR.
|
||||
|
||||
@return The 64-bit application register FIR.
|
||||
|
||||
@ -1460,7 +1460,7 @@ AsmReadApplicationRegisterFir (
|
||||
Reads application register FDR.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FDR
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FDR.
|
||||
|
||||
@return The 64-bit application register FDR.
|
||||
|
||||
@ -1476,7 +1476,7 @@ AsmReadApplicationRegisterFdr (
|
||||
Reads application register CCV.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_CCV
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_CCV.
|
||||
|
||||
@return The 64-bit application register CCV.
|
||||
|
||||
@ -1492,7 +1492,7 @@ AsmReadApplicationRegisterCcv (
|
||||
Reads application register UNAT.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_UNAT
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_UNAT.
|
||||
|
||||
@return The 64-bit application register UNAT.
|
||||
|
||||
@ -1508,7 +1508,7 @@ AsmReadApplicationRegisterUnat (
|
||||
Reads application register FPSR.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FPSR
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_FPSR.
|
||||
|
||||
@return The 64-bit application register FPSR.
|
||||
|
||||
@ -1524,7 +1524,7 @@ AsmReadApplicationRegisterFpsr (
|
||||
Reads application register ITC.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_ITC
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_ITC.
|
||||
|
||||
@return The 64-bit application register ITC.
|
||||
|
||||
@ -1540,7 +1540,7 @@ AsmReadApplicationRegisterItc (
|
||||
Reads application register PFS.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_PFS
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_PFS.
|
||||
|
||||
@return The 64-bit application register PFS.
|
||||
|
||||
@ -1556,7 +1556,7 @@ AsmReadApplicationRegisterPfs (
|
||||
Reads application register LC.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_LC
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_LC.
|
||||
|
||||
@return The 64-bit application register LC.
|
||||
|
||||
@ -1572,7 +1572,7 @@ AsmReadApplicationRegisterLc (
|
||||
Reads application register EC.
|
||||
|
||||
This is a worker function for AsmReadApplicationRegister()
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_EC
|
||||
when its parameter Index is IPF_APPLICATION_REGISTER_EC.
|
||||
|
||||
@return The 64-bit application register EC.
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/** @file
|
||||
Bit field functions of BaseLib.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -52,7 +52,7 @@ InternalBaseLibBitFieldReadUint (
|
||||
@param Operand Operand on which to perform the bitfield operation.
|
||||
@param StartBit The ordinal of the least significant bit in the bit field.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
@param OrData The value to OR with the read value from the value
|
||||
@param OrData The value to OR with the read value from the value.
|
||||
|
||||
@return The new value.
|
||||
|
||||
@ -84,7 +84,7 @@ InternalBaseLibBitFieldOrUint (
|
||||
@param Operand Operand on which to perform the bitfield operation.
|
||||
@param StartBit The ordinal of the least significant bit in the bit field.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
@param AndData The value to And with the read value from the value
|
||||
@param AndData The value to And with the read value from the value.
|
||||
|
||||
@return The new value.
|
||||
|
||||
@ -191,7 +191,7 @@ BitFieldWrite8 (
|
||||
Range 0..7.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
Range 0..7.
|
||||
@param OrData The value to OR with the read value from the value
|
||||
@param OrData The value to OR with the read value from the value.
|
||||
|
||||
@return The new 8-bit value.
|
||||
|
||||
@ -378,7 +378,7 @@ BitFieldWrite16 (
|
||||
Range 0..15.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
Range 0..15.
|
||||
@param OrData The value to OR with the read value from the value
|
||||
@param OrData The value to OR with the read value from the value.
|
||||
|
||||
@return The new 16-bit value.
|
||||
|
||||
@ -415,7 +415,7 @@ BitFieldOr16 (
|
||||
Range 0..15.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
Range 0..15.
|
||||
@param AndData The value to AND with the read value from the value
|
||||
@param AndData The value to AND with the read value from the value.
|
||||
|
||||
@return The new 16-bit value.
|
||||
|
||||
@ -565,7 +565,7 @@ BitFieldWrite32 (
|
||||
Range 0..31.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
Range 0..31.
|
||||
@param OrData The value to OR with the read value from the value
|
||||
@param OrData The value to OR with the read value from the value.
|
||||
|
||||
@return The new 32-bit value.
|
||||
|
||||
@ -602,7 +602,7 @@ BitFieldOr32 (
|
||||
Range 0..31.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
Range 0..31.
|
||||
@param AndData The value to AND with the read value from the value
|
||||
@param AndData The value to AND with the read value from the value.
|
||||
|
||||
@return The new 32-bit value.
|
||||
|
||||
@ -796,7 +796,7 @@ BitFieldOr64 (
|
||||
Range 0..63.
|
||||
@param EndBit The ordinal of the most significant bit in the bit field.
|
||||
Range 0..63.
|
||||
@param AndData The value to AND with the read value from the value
|
||||
@param AndData The value to AND with the read value from the value.
|
||||
|
||||
@return The new 64-bit value.
|
||||
|
||||
|
@ -2,11 +2,11 @@
|
||||
Utility functions to generate checksum based on 2's complement
|
||||
algorithm.
|
||||
|
||||
Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2007 - 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
|
||||
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.
|
||||
@ -27,7 +27,7 @@
|
||||
If Buffer is NULL, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the sum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the sum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Sum The sum of Buffer with carry bits dropped during additions.
|
||||
@ -66,7 +66,7 @@ CalculateSum8 (
|
||||
If Buffer is NULL, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the checksum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the checksum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Checksum The 2's complement checksum of Buffer.
|
||||
@ -102,7 +102,7 @@ CalculateCheckSum8 (
|
||||
If Length is not aligned on a 16-bit boundary, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the sum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the sum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Sum The sum of Buffer with carry bits dropped during additions.
|
||||
@ -147,7 +147,7 @@ CalculateSum16 (
|
||||
If Length is not aligned on a 16-bit boundary, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the checksum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the checksum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Checksum The 2's complement checksum of Buffer.
|
||||
@ -184,7 +184,7 @@ CalculateCheckSum16 (
|
||||
If Length is not aligned on a 32-bit boundary, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the sum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the sum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Sum The sum of Buffer with carry bits dropped during additions.
|
||||
@ -229,7 +229,7 @@ CalculateSum32 (
|
||||
If Length is not aligned on a 32-bit boundary, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the checksum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the checksum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Checksum The 2's complement checksum of Buffer.
|
||||
@ -266,7 +266,7 @@ CalculateCheckSum32 (
|
||||
If Length is not aligned on a 64-bit boundary, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the sum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the sum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Sum The sum of Buffer with carry bits dropped during additions.
|
||||
@ -311,7 +311,7 @@ CalculateSum64 (
|
||||
If Length is not aligned on a 64-bit boundary, then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to the buffer to carry out the checksum operation.
|
||||
@param Buffer The pointer to the buffer to carry out the checksum operation.
|
||||
@param Length The size, in bytes, of Buffer.
|
||||
|
||||
@return Checksum The 2's complement checksum of Buffer.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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,11 +1,11 @@
|
||||
/** @file
|
||||
Base Library CPU Functions for all architectures.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -44,7 +44,7 @@ SaveAndDisableInterrupts (
|
||||
InterruptState is FALSE, then interrupts are disabled. InterruptState is
|
||||
returned.
|
||||
|
||||
@param InterruptState TRUE if interrupts should enabled. FALSE if
|
||||
@param InterruptState TRUE if interrupts should be enabled. FALSE if
|
||||
interrupts should be disabled.
|
||||
|
||||
@return InterruptState
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -28,7 +28,7 @@
|
||||
@param Operand The 32-bit operand to evaluate.
|
||||
|
||||
@retval 0..31 Position of the highest bit set in Operand if found.
|
||||
@retval -1 Operand is zero.
|
||||
@retval -1 Operand is zero.
|
||||
|
||||
**/
|
||||
INTN
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -28,7 +28,7 @@
|
||||
@param Operand The 64-bit operand to evaluate.
|
||||
|
||||
@retval 0..63 Position of the highest bit set in Operand if found.
|
||||
@retval -1 Operand is zero.
|
||||
@retval -1 Operand is zero.
|
||||
|
||||
**/
|
||||
INTN
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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,11 +1,11 @@
|
||||
/** @file
|
||||
Linked List Library Functions.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -113,8 +113,8 @@ InternalBaseLibIsNodeInList (
|
||||
}
|
||||
|
||||
/**
|
||||
Initializes the head node of a doubly linked list, and returns the pointer to
|
||||
the head node of the doubly linked list.
|
||||
Initializes the head node of a doubly-linked list, and returns the pointer to
|
||||
the head node of the doubly-linked list.
|
||||
|
||||
Initializes the forward and backward links of a new linked list. After
|
||||
initializing a linked list with this function, the other linked list
|
||||
@ -123,7 +123,7 @@ InternalBaseLibIsNodeInList (
|
||||
|
||||
If ListHead is NULL, then ASSERT().
|
||||
|
||||
@param ListHead A pointer to the head node of a new doubly linked list.
|
||||
@param ListHead A pointer to the head node of a new doubly-linked list.
|
||||
|
||||
@return ListHead
|
||||
|
||||
@ -143,10 +143,10 @@ InitializeListHead (
|
||||
}
|
||||
|
||||
/**
|
||||
Adds a node to the beginning of a doubly linked list, and returns the pointer
|
||||
to the head node of the doubly linked list.
|
||||
Adds a node to the beginning of a doubly-linked list, and returns the pointer
|
||||
to the head node of the doubly-linked list.
|
||||
|
||||
Adds the node Entry at the beginning of the doubly linked list denoted by
|
||||
Adds the node Entry at the beginning of the doubly-linked list denoted by
|
||||
ListHead, and returns ListHead.
|
||||
|
||||
If ListHead is NULL, then ASSERT().
|
||||
@ -157,9 +157,9 @@ InitializeListHead (
|
||||
of nodes in ListHead, including the ListHead node, is greater than or
|
||||
equal to PcdMaximumLinkedListLength, then ASSERT().
|
||||
|
||||
@param ListHead A pointer to the head node of a doubly linked list.
|
||||
@param ListHead A pointer to the head node of a doubly-linked list.
|
||||
@param Entry A pointer to a node that is to be inserted at the beginning
|
||||
of a doubly linked list.
|
||||
of a doubly-linked list.
|
||||
|
||||
@return ListHead
|
||||
|
||||
@ -184,10 +184,10 @@ InsertHeadList (
|
||||
}
|
||||
|
||||
/**
|
||||
Adds a node to the end of a doubly linked list, and returns the pointer to
|
||||
the head node of the doubly linked list.
|
||||
Adds a node to the end of a doubly-linked list, and returns the pointer to
|
||||
the head node of the doubly-linked list.
|
||||
|
||||
Adds the node Entry to the end of the doubly linked list denoted by ListHead,
|
||||
Adds the node Entry to the end of the doubly-linked list denoted by ListHead,
|
||||
and returns ListHead.
|
||||
|
||||
If ListHead is NULL, then ASSERT().
|
||||
@ -198,9 +198,9 @@ InsertHeadList (
|
||||
of nodes in ListHead, including the ListHead node, is greater than or
|
||||
equal to PcdMaximumLinkedListLength, then ASSERT().
|
||||
|
||||
@param ListHead A pointer to the head node of a doubly linked list.
|
||||
@param ListHead A pointer to the head node of a doubly-linked list.
|
||||
@param Entry A pointer to a node that is to be added at the end of the
|
||||
doubly linked list.
|
||||
doubly-linked list.
|
||||
|
||||
@return ListHead
|
||||
|
||||
@ -225,9 +225,9 @@ InsertTailList (
|
||||
}
|
||||
|
||||
/**
|
||||
Retrieves the first node of a doubly linked list.
|
||||
Retrieves the first node of a doubly-linked list.
|
||||
|
||||
Returns the first node of a doubly linked list. List must have been
|
||||
Returns the first node of a doubly-linked list. List must have been
|
||||
initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead().
|
||||
If List is empty, then List is returned.
|
||||
|
||||
@ -238,9 +238,9 @@ InsertTailList (
|
||||
in List, including the List node, is greater than or equal to
|
||||
PcdMaximumLinkedListLength, then ASSERT().
|
||||
|
||||
@param List A pointer to the head node of a doubly linked list.
|
||||
@param List A pointer to the head node of a doubly-linked list.
|
||||
|
||||
@return The first node of a doubly linked list.
|
||||
@return The first node of a doubly-linked list.
|
||||
@retval NULL The list is empty.
|
||||
|
||||
**/
|
||||
@ -259,9 +259,9 @@ GetFirstNode (
|
||||
}
|
||||
|
||||
/**
|
||||
Retrieves the next node of a doubly linked list.
|
||||
Retrieves the next node of a doubly-linked list.
|
||||
|
||||
Returns the node of a doubly linked list that follows Node.
|
||||
Returns the node of a doubly-linked list that follows Node.
|
||||
List must have been initialized with INTIALIZE_LIST_HEAD_VARIABLE()
|
||||
or InitializeListHead(). If List is empty, then List is returned.
|
||||
|
||||
@ -273,10 +273,10 @@ GetFirstNode (
|
||||
PcdMaximumLinkedListLenth nodes, then ASSERT().
|
||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||
|
||||
@param List A pointer to the head node of a doubly linked list.
|
||||
@param Node A pointer to a node in the doubly linked list.
|
||||
@param List A pointer to the head node of a doubly-linked list.
|
||||
@param Node A pointer to a node in the doubly-linked list.
|
||||
|
||||
@return Pointer to the next node if one exists. Otherwise List is returned.
|
||||
@return A pointer to the next node if one exists. Otherwise List is returned.
|
||||
|
||||
**/
|
||||
LIST_ENTRY *
|
||||
@ -295,9 +295,9 @@ GetNextNode (
|
||||
}
|
||||
|
||||
/**
|
||||
Retrieves the previous node of a doubly linked list.
|
||||
Retrieves the previous node of a doubly-linked list.
|
||||
|
||||
Returns the node of a doubly linked list that precedes Node.
|
||||
Returns the node of a doubly-linked list that precedes Node.
|
||||
List must have been initialized with INTIALIZE_LIST_HEAD_VARIABLE()
|
||||
or InitializeListHead(). If List is empty, then List is returned.
|
||||
|
||||
@ -309,10 +309,10 @@ GetNextNode (
|
||||
PcdMaximumLinkedListLenth nodes, then ASSERT().
|
||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||
|
||||
@param List A pointer to the head node of a doubly linked list.
|
||||
@param Node A pointer to a node in the doubly linked list.
|
||||
@param List A pointer to the head node of a doubly-linked list.
|
||||
@param Node A pointer to a node in the doubly-linked list.
|
||||
|
||||
@return Pointer to the previous node if one exists. Otherwise List is returned.
|
||||
@return A pointer to the previous node if one exists. Otherwise List is returned.
|
||||
|
||||
**/
|
||||
LIST_ENTRY *
|
||||
@ -331,9 +331,9 @@ GetPreviousNode (
|
||||
}
|
||||
|
||||
/**
|
||||
Checks to see if a doubly linked list is empty or not.
|
||||
Checks to see if a doubly-linked list is empty or not.
|
||||
|
||||
Checks to see if the doubly linked list is empty. If the linked list contains
|
||||
Checks to see if the doubly-linked list is empty. If the linked list contains
|
||||
zero nodes, this function returns TRUE. Otherwise, it returns FALSE.
|
||||
|
||||
If ListHead is NULL, then ASSERT().
|
||||
@ -343,7 +343,7 @@ GetPreviousNode (
|
||||
in List, including the List node, is greater than or equal to
|
||||
PcdMaximumLinkedListLength, then ASSERT().
|
||||
|
||||
@param ListHead A pointer to the head node of a doubly linked list.
|
||||
@param ListHead A pointer to the head node of a doubly-linked list.
|
||||
|
||||
@retval TRUE The linked list is empty.
|
||||
@retval FALSE The linked list is not empty.
|
||||
@ -364,12 +364,12 @@ IsListEmpty (
|
||||
}
|
||||
|
||||
/**
|
||||
Determines if a node in a doubly linked list is the head node of a the same
|
||||
doubly linked list. This function is typically used to terminate a loop that
|
||||
traverses all the nodes in a doubly linked list starting with the head node.
|
||||
Determines if a node in a doubly-linked list is the head node of a the same
|
||||
doubly-linked list. This function is typically used to terminate a loop that
|
||||
traverses all the nodes in a doubly-linked list starting with the head node.
|
||||
|
||||
Returns TRUE if Node is equal to List. Returns FALSE if Node is one of the
|
||||
nodes in the doubly linked list specified by List. List must have been
|
||||
nodes in the doubly-linked list specified by List. List must have been
|
||||
initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead().
|
||||
|
||||
If List is NULL, then ASSERT().
|
||||
@ -382,11 +382,11 @@ IsListEmpty (
|
||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List and Node is not
|
||||
equal to List, then ASSERT().
|
||||
|
||||
@param List A pointer to the head node of a doubly linked list.
|
||||
@param Node A pointer to a node in the doubly linked list.
|
||||
@param List A pointer to the head node of a doubly-linked list.
|
||||
@param Node A pointer to a node in the doubly-linked list.
|
||||
|
||||
@retval TRUE Node is one of the nodes in the doubly linked list.
|
||||
@retval FALSE Node is not one of the nodes in the doubly linked list.
|
||||
@retval TRUE Node is one of the nodes in the doubly-linked list.
|
||||
@retval FALSE Node is not one of the nodes in the doubly-linked list.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
@ -405,9 +405,9 @@ IsNull (
|
||||
}
|
||||
|
||||
/**
|
||||
Determines if a node the last node in a doubly linked list.
|
||||
Determines if a node the last node in a doubly-linked list.
|
||||
|
||||
Returns TRUE if Node is the last node in the doubly linked list specified by
|
||||
Returns TRUE if Node is the last node in the doubly-linked list specified by
|
||||
List. Otherwise, FALSE is returned. List must have been initialized with
|
||||
INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead().
|
||||
|
||||
@ -420,8 +420,8 @@ IsNull (
|
||||
PcdMaximumLinkedListLength, then ASSERT().
|
||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||
|
||||
@param List A pointer to the head node of a doubly linked list.
|
||||
@param Node A pointer to a node in the doubly linked list.
|
||||
@param List A pointer to the head node of a doubly-linked list.
|
||||
@param Node A pointer to a node in the doubly-linked list.
|
||||
|
||||
@retval TRUE Node is the last node in the linked list.
|
||||
@retval FALSE Node is not the last node in the linked list.
|
||||
@ -443,12 +443,12 @@ IsNodeAtEnd (
|
||||
}
|
||||
|
||||
/**
|
||||
Swaps the location of two nodes in a doubly linked list, and returns the
|
||||
Swaps the location of two nodes in a doubly-linked list, and returns the
|
||||
first node after the swap.
|
||||
|
||||
If FirstEntry is identical to SecondEntry, then SecondEntry is returned.
|
||||
Otherwise, the location of the FirstEntry node is swapped with the location
|
||||
of the SecondEntry node in a doubly linked list. SecondEntry must be in the
|
||||
of the SecondEntry node in a doubly-linked list. SecondEntry must be in the
|
||||
same double linked list as FirstEntry and that double linked list must have
|
||||
been initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead().
|
||||
SecondEntry is returned after the nodes are swapped.
|
||||
@ -516,12 +516,12 @@ SwapListEntries (
|
||||
}
|
||||
|
||||
/**
|
||||
Removes a node from a doubly linked list, and returns the node that follows
|
||||
Removes a node from a doubly-linked list, and returns the node that follows
|
||||
the removed node.
|
||||
|
||||
Removes the node Entry from a doubly linked list. It is up to the caller of
|
||||
Removes the node Entry from a doubly-linked list. It is up to the caller of
|
||||
this function to release the memory used by this node if that is required. On
|
||||
exit, the node following Entry in the doubly linked list is returned. If
|
||||
exit, the node following Entry in the doubly-linked list is returned. If
|
||||
Entry is the only node in the linked list, then the head node of the linked
|
||||
list is returned.
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -27,7 +27,7 @@
|
||||
@param Operand The 32-bit operand to evaluate.
|
||||
|
||||
@retval 0..31 The lowest bit set in Operand was found.
|
||||
@retval -1 Operand is zero.
|
||||
@retval -1 Operand is zero.
|
||||
|
||||
**/
|
||||
INTN
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -27,7 +27,7 @@
|
||||
@param Operand The 64-bit operand to evaluate.
|
||||
|
||||
@retval 0..63 The lowest bit set in Operand was found.
|
||||
@retval -1 Operand is zero.
|
||||
@retval -1 Operand is zero.
|
||||
|
||||
|
||||
**/
|
||||
|
@ -2,11 +2,11 @@
|
||||
Leaf math worker functions that require 64-bit arithmetic support from the
|
||||
compiler.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -25,7 +25,7 @@
|
||||
@param Operand The 64-bit operand to shift left.
|
||||
@param Count The number of bits to shift left.
|
||||
|
||||
@return Operand << Count
|
||||
@return Operand << Count.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -48,7 +48,7 @@ InternalMathLShiftU64 (
|
||||
@param Operand The 64-bit operand to shift right.
|
||||
@param Count The number of bits to shift right.
|
||||
|
||||
@return Operand >> Count
|
||||
@return Operand >> Count.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -71,7 +71,7 @@ InternalMathRShiftU64 (
|
||||
@param Operand The 64-bit operand to shift right.
|
||||
@param Count The number of bits to shift right.
|
||||
|
||||
@return Operand arithmetically shifted right by Count
|
||||
@return Operand arithmetically shifted right by Count.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -113,7 +113,7 @@ InternalMathARShiftU64 (
|
||||
@param Operand The 64-bit operand to rotate left.
|
||||
@param Count The number of bits to rotate left.
|
||||
|
||||
@return Operand <<< Count
|
||||
@return Operand <<< Count.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -137,7 +137,7 @@ InternalMathLRotU64 (
|
||||
@param Operand The 64-bit operand to rotate right.
|
||||
@param Count The number of bits to rotate right.
|
||||
|
||||
@return Operand >>> Count
|
||||
@return Operand >>> Count.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -178,10 +178,10 @@ InternalMathSwapBytes64 (
|
||||
}
|
||||
|
||||
/**
|
||||
Multiples a 64-bit unsigned integer by a 32-bit unsigned integer
|
||||
Multiplies a 64-bit unsigned integer by a 32-bit unsigned integer
|
||||
and generates a 64-bit unsigned result.
|
||||
|
||||
This function multiples the 64-bit unsigned value Multiplicand by the 32-bit
|
||||
This function multiplies the 64-bit unsigned value Multiplicand by the 32-bit
|
||||
unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
|
||||
bit unsigned result is returned.
|
||||
|
||||
@ -203,17 +203,17 @@ InternalMathMultU64x32 (
|
||||
|
||||
|
||||
/**
|
||||
Multiples a 64-bit unsigned integer by a 64-bit unsigned integer
|
||||
Multiplies a 64-bit unsigned integer by a 64-bit unsigned integer
|
||||
and generates a 64-bit unsigned result.
|
||||
|
||||
This function multiples the 64-bit unsigned value Multiplicand by the 64-bit
|
||||
This function multiplies the 64-bit unsigned value Multiplicand by the 64-bit
|
||||
unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
|
||||
bit unsigned result is returned.
|
||||
|
||||
@param Multiplicand A 64-bit unsigned value.
|
||||
@param Multiplier A 64-bit unsigned value.
|
||||
|
||||
@return Multiplicand * Multiplier
|
||||
@return Multiplicand * Multiplier.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -237,7 +237,7 @@ InternalMathMultU64x64 (
|
||||
@param Dividend A 64-bit unsigned value.
|
||||
@param Divisor A 32-bit unsigned value.
|
||||
|
||||
@return Dividend / Divisor
|
||||
@return Dividend / Divisor.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -261,7 +261,7 @@ InternalMathDivU64x32 (
|
||||
@param Dividend A 64-bit unsigned value.
|
||||
@param Divisor A 32-bit unsigned value.
|
||||
|
||||
@return Dividend % Divisor
|
||||
@return Dividend % Divisor.
|
||||
|
||||
**/
|
||||
UINT32
|
||||
@ -288,7 +288,7 @@ InternalMathModU64x32 (
|
||||
@param Remainder A pointer to a 32-bit unsigned value. This parameter is
|
||||
optional and may be NULL.
|
||||
|
||||
@return Dividend / Divisor
|
||||
@return Dividend / Divisor.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
@ -350,7 +350,7 @@ InternalMathDivRemU64x64 (
|
||||
@param Remainder A pointer to a 64-bit signed value. This parameter is
|
||||
optional and may be NULL.
|
||||
|
||||
@return Dividend / Divisor
|
||||
@return Dividend / Divisor.
|
||||
|
||||
**/
|
||||
INT64
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -30,7 +30,7 @@
|
||||
@param Dividend A 64-bit unsigned value.
|
||||
@param Divisor A 32-bit unsigned value.
|
||||
|
||||
@return Dividend % Divisor
|
||||
@return Dividend % Divisor.
|
||||
|
||||
**/
|
||||
UINT32
|
||||
|
@ -1,11 +1,11 @@
|
||||
/** @file
|
||||
Math worker functions.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -18,17 +18,17 @@
|
||||
#include "BaseLibInternals.h"
|
||||
|
||||
/**
|
||||
Multiples a 64-bit signed integer by a 64-bit signed integer and generates a
|
||||
Multiplies a 64-bit signed integer by a 64-bit signed integer and generates a
|
||||
64-bit signed result.
|
||||
|
||||
This function multiples the 64-bit signed value Multiplicand by the 64-bit
|
||||
This function multiplies the 64-bit signed value Multiplicand by the 64-bit
|
||||
signed value Multiplier and generates a 64-bit signed result. This 64-bit
|
||||
signed result is returned.
|
||||
|
||||
@param Multiplicand A 64-bit signed value.
|
||||
@param Multiplier A 64-bit signed value.
|
||||
|
||||
@return Multiplicand * Multiplier
|
||||
@return Multiplicand * Multiplier.
|
||||
|
||||
**/
|
||||
INT64
|
||||
|
@ -1,11 +1,11 @@
|
||||
/** @file
|
||||
Math worker functions.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -18,17 +18,17 @@
|
||||
#include "BaseLibInternals.h"
|
||||
|
||||
/**
|
||||
Multiples a 64-bit unsigned integer by a 32-bit unsigned integer and
|
||||
Multiplies a 64-bit unsigned integer by a 32-bit unsigned integer and
|
||||
generates a 64-bit unsigned result.
|
||||
|
||||
This function multiples the 64-bit unsigned value Multiplicand by the 32-bit
|
||||
This function multiplies the 64-bit unsigned value Multiplicand by the 32-bit
|
||||
unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
|
||||
bit unsigned result is returned.
|
||||
|
||||
@param Multiplicand A 64-bit unsigned value.
|
||||
@param Multiplier A 32-bit unsigned value.
|
||||
|
||||
@return Multiplicand * Multiplier
|
||||
@return Multiplicand * Multiplier.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
|
@ -1,11 +1,11 @@
|
||||
/** @file
|
||||
Math worker functions.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -18,17 +18,17 @@
|
||||
#include "BaseLibInternals.h"
|
||||
|
||||
/**
|
||||
Multiples a 64-bit unsigned integer by a 64-bit unsigned integer and
|
||||
Multiplies a 64-bit unsigned integer by a 64-bit unsigned integer and
|
||||
generates a 64-bit unsigned result.
|
||||
|
||||
This function multiples the 64-bit unsigned value Multiplicand by the 64-bit
|
||||
This function multiplies the 64-bit unsigned value Multiplicand by the 64-bit
|
||||
unsigned value Multiplier and generates a 64-bit unsigned result. This 64-
|
||||
bit unsigned result is returned.
|
||||
|
||||
@param Multiplicand A 64-bit unsigned value.
|
||||
@param Multiplier A 64-bit unsigned value.
|
||||
|
||||
@return Multiplicand * Multiplier
|
||||
@return Multiplicand * Multiplier.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -27,7 +27,7 @@
|
||||
@param Operand The 32-bit operand to rotate right.
|
||||
@param Count The number of bits to rotate right.
|
||||
|
||||
@return Operand >> Count
|
||||
@return Operand >> Count.
|
||||
|
||||
**/
|
||||
UINT32
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -27,7 +27,7 @@
|
||||
@param Operand The 64-bit operand to rotate right.
|
||||
@param Count The number of bits to rotate right.
|
||||
|
||||
@return Operand >> Count
|
||||
@return Operand >> Count.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -26,7 +26,7 @@
|
||||
@param Operand The 64-bit operand to shift right.
|
||||
@param Count The number of bits to shift right.
|
||||
|
||||
@return Operand >> Count
|
||||
@return Operand >> Count.
|
||||
|
||||
**/
|
||||
UINT64
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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,11 +1,11 @@
|
||||
/** @file
|
||||
Unicode and ASCII string primatives.
|
||||
|
||||
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -43,8 +43,8 @@
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated Unicode string.
|
||||
@param Source Pointer to a Null-terminated Unicode string.
|
||||
@param Destination A pointer to a Null-terminated Unicode string.
|
||||
@param Source A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@return Destination.
|
||||
|
||||
@ -101,8 +101,8 @@ StrCpy (
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated Unicode string.
|
||||
@param Source Pointer to a Null-terminated Unicode string.
|
||||
@param Destination A pointer to a Null-terminated Unicode string.
|
||||
@param Source A pointer to a Null-terminated Unicode string.
|
||||
@param Length Maximum number of Unicode characters to copy.
|
||||
|
||||
@return Destination.
|
||||
@ -161,7 +161,7 @@ StrnCpy (
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated Unicode string.
|
||||
@param String A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@return The length of String.
|
||||
|
||||
@ -202,7 +202,7 @@ StrLen (
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated Unicode string.
|
||||
@param String A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@return The size of String.
|
||||
|
||||
@ -237,8 +237,8 @@ StrSize (
|
||||
than PcdMaximumUnicodeStringLength Unicode characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param FirstString Pointer to a Null-terminated Unicode string.
|
||||
@param SecondString Pointer to a Null-terminated Unicode string.
|
||||
@param FirstString A pointer to a Null-terminated Unicode string.
|
||||
@param SecondString A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@retval 0 FirstString is identical to SecondString.
|
||||
@return others FirstString is not identical to SecondString.
|
||||
@ -288,8 +288,8 @@ StrCmp (
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param FirstString Pointer to a Null-terminated Unicode string.
|
||||
@param SecondString Pointer to a Null-terminated Unicode string.
|
||||
@param FirstString A pointer to a Null-terminated Unicode string.
|
||||
@param SecondString A pointer to a Null-terminated Unicode string.
|
||||
@param Length Maximum number of Unicode characters to compare.
|
||||
|
||||
@retval 0 FirstString is identical to SecondString.
|
||||
@ -356,8 +356,8 @@ StrnCmp (
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated Unicode string.
|
||||
@param Source Pointer to a Null-terminated Unicode string.
|
||||
@param Destination A pointer to a Null-terminated Unicode string.
|
||||
@param Source A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@return Destination.
|
||||
|
||||
@ -409,8 +409,8 @@ StrCat (
|
||||
and Source results in a Unicode string with more than PcdMaximumUnicodeStringLength
|
||||
Unicode characters, not including the Null-terminator, then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated Unicode string.
|
||||
@param Source Pointer to a Null-terminated Unicode string.
|
||||
@param Destination A pointer to a Null-terminated Unicode string.
|
||||
@param Source A pointer to a Null-terminated Unicode string.
|
||||
@param Length Maximum number of Unicode characters to concatenate from
|
||||
Source.
|
||||
|
||||
@ -458,8 +458,8 @@ StrnCat (
|
||||
or String contains more than PcdMaximumUnicodeStringLength Unicode
|
||||
characters, not including the Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated Unicode string.
|
||||
@param SearchString Pointer to a Null-terminated Unicode string to search for.
|
||||
@param String A pointer to a Null-terminated Unicode string.
|
||||
@param SearchString A pointer to a Null-terminated Unicode string to search for.
|
||||
|
||||
@retval NULL If the SearchString does not appear in String.
|
||||
@return others If there is a match.
|
||||
@ -641,7 +641,7 @@ InternalIsHexaDecimalDigitCharacter (
|
||||
more than PcdMaximumUnicodeStringLength Unicode characters, not including
|
||||
the Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated Unicode string.
|
||||
@param String A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -723,7 +723,7 @@ StrDecimalToUintn (
|
||||
more than PcdMaximumUnicodeStringLength Unicode characters, not including
|
||||
the Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated Unicode string.
|
||||
@param String A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -805,7 +805,7 @@ StrDecimalToUint64 (
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated Unicode string.
|
||||
@param String A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -898,7 +898,7 @@ StrHexToUintn (
|
||||
PcdMaximumUnicodeStringLength Unicode characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated Unicode string.
|
||||
@param String A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -1034,8 +1034,8 @@ InternalAsciiIsHexaDecimalDigitCharacter (
|
||||
than PcdMaximumAsciiStringLength Unicode characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param Source Pointer to a Null-terminated Unicode string.
|
||||
@param Destination Pointer to a Null-terminated ASCII string.
|
||||
@param Source A pointer to a Null-terminated Unicode string.
|
||||
@param Destination A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@return Destination.
|
||||
|
||||
@ -1101,8 +1101,8 @@ UnicodeStrToAsciiStr (
|
||||
PcdMaximumAsciiStringLength ASCII characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated ASCII string.
|
||||
@param Source Pointer to a Null-terminated ASCII string.
|
||||
@param Destination A pointer to a Null-terminated ASCII string.
|
||||
@param Source A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@return Destination
|
||||
|
||||
@ -1155,8 +1155,8 @@ AsciiStrCpy (
|
||||
PcdMaximumAsciiStringLength ASCII characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated ASCII string.
|
||||
@param Source Pointer to a Null-terminated ASCII string.
|
||||
@param Destination A pointer to a Null-terminated ASCII string.
|
||||
@param Source A pointer to a Null-terminated ASCII string.
|
||||
@param Length Maximum number of ASCII characters to copy.
|
||||
|
||||
@return Destination
|
||||
@ -1214,7 +1214,7 @@ AsciiStrnCpy (
|
||||
PcdMaximumAsciiStringLength ASCII characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated ASCII string.
|
||||
@param String A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@return The length of String.
|
||||
|
||||
@ -1253,7 +1253,7 @@ AsciiStrLen (
|
||||
PcdMaximumAsciiStringLength ASCII characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated ASCII string.
|
||||
@param String A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@return The size of String.
|
||||
|
||||
@ -1286,8 +1286,8 @@ AsciiStrSize (
|
||||
than PcdMaximumAsciiStringLength ASCII characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param FirstString Pointer to a Null-terminated ASCII string.
|
||||
@param SecondString Pointer to a Null-terminated ASCII string.
|
||||
@param FirstString A pointer to a Null-terminated ASCII string.
|
||||
@param SecondString A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@retval ==0 FirstString is identical to SecondString.
|
||||
@retval !=0 FirstString is not identical to SecondString.
|
||||
@ -1383,8 +1383,8 @@ InternalAsciiHexCharToUintn (
|
||||
than PcdMaximumAsciiStringLength ASCII characters, not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param FirstString Pointer to a Null-terminated ASCII string.
|
||||
@param SecondString Pointer to a Null-terminated ASCII string.
|
||||
@param FirstString A pointer to a Null-terminated ASCII string.
|
||||
@param SecondString A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@retval ==0 FirstString is identical to SecondString using case insensitive
|
||||
comparisons.
|
||||
@ -1442,8 +1442,8 @@ AsciiStriCmp (
|
||||
PcdMaximumAsciiStringLength ASCII characters, not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param FirstString Pointer to a Null-terminated ASCII string.
|
||||
@param SecondString Pointer to a Null-terminated ASCII string.
|
||||
@param FirstString A pointer to a Null-terminated ASCII string.
|
||||
@param SecondString A pointer to a Null-terminated ASCII string.
|
||||
@param Length Maximum number of ASCII characters for compare.
|
||||
|
||||
@retval ==0 FirstString is identical to SecondString.
|
||||
@ -1503,8 +1503,8 @@ AsciiStrnCmp (
|
||||
Source results in a ASCII string with more than PcdMaximumAsciiStringLength
|
||||
ASCII characters, then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated ASCII string.
|
||||
@param Source Pointer to a Null-terminated ASCII string.
|
||||
@param Destination A pointer to a Null-terminated ASCII string.
|
||||
@param Source A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@return Destination
|
||||
|
||||
@ -1554,8 +1554,8 @@ AsciiStrCat (
|
||||
Source results in a ASCII string with more than PcdMaximumAsciiStringLength
|
||||
ASCII characters, not including the Null-terminator, then ASSERT().
|
||||
|
||||
@param Destination Pointer to a Null-terminated ASCII string.
|
||||
@param Source Pointer to a Null-terminated ASCII string.
|
||||
@param Destination A pointer to a Null-terminated ASCII string.
|
||||
@param Source A pointer to a Null-terminated ASCII string.
|
||||
@param Length Maximum number of ASCII characters to concatenate from
|
||||
Source.
|
||||
|
||||
@ -1600,8 +1600,8 @@ AsciiStrnCat (
|
||||
String contains more than PcdMaximumAsciiStringLength Unicode characters
|
||||
not including the Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated ASCII string.
|
||||
@param SearchString Pointer to a Null-terminated ASCII string to search for.
|
||||
@param String A pointer to a Null-terminated ASCII string.
|
||||
@param SearchString A pointer to a Null-terminated ASCII string to search for.
|
||||
|
||||
@retval NULL If the SearchString does not appear in String.
|
||||
@retval others If there is a match return the first occurrence of SearchingString.
|
||||
@ -1677,7 +1677,7 @@ AsciiStrStr (
|
||||
PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated ASCII string.
|
||||
@param String A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -1754,7 +1754,7 @@ AsciiStrDecimalToUintn (
|
||||
PcdMaximumAsciiStringLength ASCII characters not including the Null-terminator,
|
||||
then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated ASCII string.
|
||||
@param String A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -1834,7 +1834,7 @@ AsciiStrDecimalToUint64 (
|
||||
and String contains more than PcdMaximumAsciiStringLength ASCII characters not including
|
||||
the Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated ASCII string.
|
||||
@param String A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -1926,7 +1926,7 @@ AsciiStrHexToUintn (
|
||||
and String contains more than PcdMaximumAsciiStringLength ASCII characters not including
|
||||
the Null-terminator, then ASSERT().
|
||||
|
||||
@param String Pointer to a Null-terminated ASCII string.
|
||||
@param String A pointer to a Null-terminated ASCII string.
|
||||
|
||||
@retval Value translated from String.
|
||||
|
||||
@ -2014,8 +2014,8 @@ AsciiStrHexToUint64 (
|
||||
PcdMaximumUnicodeStringLength ASCII characters not including the
|
||||
Null-terminator, then ASSERT().
|
||||
|
||||
@param Source Pointer to a Null-terminated ASCII string.
|
||||
@param Destination Pointer to a Null-terminated Unicode string.
|
||||
@param Source A pointer to a Null-terminated ASCII string.
|
||||
@param Destination A pointer to a Null-terminated Unicode string.
|
||||
|
||||
@return Destination.
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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,11 +1,11 @@
|
||||
/** @file
|
||||
Unaligned access functions of BaseLib.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -24,7 +24,7 @@
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 16-bit value that may be unaligned.
|
||||
@param Buffer A pointer to a 16-bit value that may be unaligned.
|
||||
|
||||
@return The 16-bit value read from Buffer.
|
||||
|
||||
@ -49,7 +49,7 @@ ReadUnaligned16 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 16-bit value that may be unaligned.
|
||||
@param Buffer A pointer to a 16-bit value that may be unaligned.
|
||||
@param Value 16-bit value to write to Buffer.
|
||||
|
||||
@return The 16-bit value to write to Buffer.
|
||||
@ -75,7 +75,7 @@ WriteUnaligned16 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 24-bit value that may be unaligned.
|
||||
@param Buffer A pointer to a 24-bit value that may be unaligned.
|
||||
|
||||
@return The 24-bit value read from Buffer.
|
||||
|
||||
@ -100,7 +100,7 @@ ReadUnaligned24 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 24-bit value that may be unaligned.
|
||||
@param Buffer A pointer to a 24-bit value that may be unaligned.
|
||||
@param Value 24-bit value to write to Buffer.
|
||||
|
||||
@return The 24-bit value to write to Buffer.
|
||||
@ -127,7 +127,7 @@ WriteUnaligned24 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 32-bit value that may be unaligned.
|
||||
@param Buffer A pointer to a 32-bit value that may be unaligned.
|
||||
|
||||
@return The 32-bit value read from Buffer.
|
||||
|
||||
@ -152,8 +152,8 @@ ReadUnaligned32 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 32-bit value that may be unaligned.
|
||||
@param Value 32-bit value to write to Buffer.
|
||||
@param Buffer A pointer to a 32-bit value that may be unaligned.
|
||||
@param Value The 32-bit value to write to Buffer.
|
||||
|
||||
@return The 32-bit value to write to Buffer.
|
||||
|
||||
@ -178,7 +178,7 @@ WriteUnaligned32 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 64-bit value that may be unaligned.
|
||||
@param Buffer A pointer to a 64-bit value that may be unaligned.
|
||||
|
||||
@return The 64-bit value read from Buffer.
|
||||
|
||||
@ -203,8 +203,8 @@ ReadUnaligned64 (
|
||||
|
||||
If the Buffer is NULL, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a 64-bit value that may be unaligned.
|
||||
@param Value 64-bit value to write to Buffer.
|
||||
@param Buffer A pointer to a 64-bit value that may be unaligned.
|
||||
@param Value The 64-bit value to write to Buffer.
|
||||
|
||||
@return The 64-bit value to write to Buffer.
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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,11 +1,11 @@
|
||||
/** @file
|
||||
CpuBreakpoint function.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -23,7 +23,7 @@ void __writemsr (unsigned long Register, unsigned __int64 Value);
|
||||
/**
|
||||
Write data to MSR.
|
||||
|
||||
@param Index Register index of MSR.
|
||||
@param Index The register index of MSR.
|
||||
@param Value Data wants to be written.
|
||||
|
||||
@return Value written to MSR.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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,11 +1,11 @@
|
||||
/** @file
|
||||
IA-32/x64 AsmFxRestore()
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -28,7 +28,7 @@
|
||||
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
||||
If Buffer was not saved with AsmFxSave(), then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
@param Buffer A pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
|
||||
**/
|
||||
VOID
|
||||
|
@ -1,11 +1,11 @@
|
||||
/** @file
|
||||
IA-32/x64 AsmFxSave()
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 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
|
||||
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.
|
||||
@ -27,7 +27,7 @@
|
||||
If Buffer is NULL, then ASSERT().
|
||||
If Buffer is not aligned on a 16-byte boundary, then ASSERT().
|
||||
|
||||
@param Buffer Pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
@param Buffer A pointer to a buffer to save the floating point/SSE/SSE2 context.
|
||||
|
||||
**/
|
||||
VOID
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
@ -53,7 +53,7 @@ extern CONST UINT16 mTransition;
|
||||
on the real mode stack and the starting address of the save area is returned.
|
||||
|
||||
@param RegisterSet Values of registers before invocation of 16-bit code.
|
||||
@param Transition Pointer to the transition code under 1MB.
|
||||
@param Transition The pointer to the transition code under 1MB.
|
||||
|
||||
@return The pointer to a IA32_REGISTER_SET structure containing the updated
|
||||
register values.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
@ -5,7 +5,7 @@
|
||||
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
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user