mirror of https://github.com/acidanthera/audk.git
DynamicTablesPkg: AmlLib fix ECC errors
Fix the following ECC reported errors in AmlLib. - [1008] File has invalid Non-ACSII char. - [9002] The function headers should follow Doxygen special documentation blocks in section 2.3.5 Comment does NOT have tail **/ Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
This commit is contained in:
parent
e4dfb2ffa3
commit
5e0b708f74
|
@ -33,7 +33,7 @@ EFIAPI
|
|||
LinkNode (
|
||||
IN AML_OBJECT_NODE * Node,
|
||||
IN AML_NODE_HEADER * ParentNode,
|
||||
IN AML_OBJECT_NODE ** NewObjectNode
|
||||
OUT AML_OBJECT_NODE ** NewObjectNode
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
|
@ -71,7 +71,7 @@ LinkNode (
|
|||
@param[in] OemId 6-character string OEM identifier.
|
||||
@param[in] OemTableId 8-character string OEM table identifier.
|
||||
@param[in] OemRevision OEM revision number.
|
||||
@param[out] DefinitionBlockTerm The ASL Term handle representing a
|
||||
@param[out] NewRootNode Pointer to the root node representing a
|
||||
Definition Block.
|
||||
|
||||
@retval EFI_SUCCESS Success.
|
||||
|
|
|
@ -40,7 +40,7 @@ EFIAPI
|
|||
LinkRdNode (
|
||||
IN AML_DATA_NODE * RdNode,
|
||||
IN AML_OBJECT_NODE * ParentNode,
|
||||
IN AML_DATA_NODE ** NewRdNode
|
||||
OUT AML_DATA_NODE ** NewRdNode
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
|
|
|
@ -674,7 +674,7 @@ AmlAddPrefix (
|
|||
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
*/
|
||||
**/
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
@retval EFI_BUFFER_TOO_SMALL No space left in the buffer.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
@retval EFI_OUT_OF_RESOURCES Could not allocate memory.
|
||||
*/
|
||||
**/
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
@ -177,7 +177,7 @@ AmlParseFieldElement (
|
|||
@retval EFI_BUFFER_TOO_SMALL No space left in the buffer.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
@retval EFI_OUT_OF_RESOURCES Could not allocate memory.
|
||||
*/
|
||||
**/
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
|
|
@ -1320,7 +1320,7 @@ AmlCreateMethodInvocationNode (
|
|||
// DefExternal := ExternalOp NameString ObjectType ArgumentCount
|
||||
// ExternalOp := 0x15
|
||||
// ObjectType := ByteData
|
||||
// ArgumentCount := ByteData (0 – 7)
|
||||
// ArgumentCount := ByteData (0 - 7)
|
||||
|
||||
// Read the ArgumentCount.
|
||||
ArgCountNode = (AML_DATA_NODE*)FixedArgs[EAmlParseIndexTerm2];
|
||||
|
@ -1334,7 +1334,7 @@ AmlCreateMethodInvocationNode (
|
|||
// MethodInvocation := MethodInvocationOp NameString ArgumentCount
|
||||
// MethodInvocationOp := Pseudo Opcode for Method Invocation
|
||||
// NameString := Method Name
|
||||
// ArgumentCount := ByteData (0 – 7)
|
||||
// ArgumentCount := ByteData (0 - 7)
|
||||
Status = AmlCreateObjectNode (
|
||||
AmlGetByteEncodingByOpCode (AML_METHOD_INVOC_OP, 0),
|
||||
0,
|
||||
|
@ -1411,7 +1411,7 @@ error_handler:
|
|||
@retval EFI_BUFFER_TOO_SMALL No space left in the buffer.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
@retval EFI_OUT_OF_RESOURCES Could not allocate memory.
|
||||
*/
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
AmlGetMethodInvocationArgCount (
|
||||
|
|
|
@ -1134,7 +1134,7 @@ AmlParseVariableArguments (
|
|||
@retval EFI_BUFFER_TOO_SMALL No space left in the buffer.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
@retval EFI_OUT_OF_RESOURCES Could not allocate memory.
|
||||
*/
|
||||
**/
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
@ -1179,7 +1179,7 @@ AmlPopulateRootNode (
|
|||
@retval EFI_BUFFER_TOO_SMALL No space left in the buffer.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
@retval EFI_OUT_OF_RESOURCES Could not allocate memory.
|
||||
*/
|
||||
**/
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
@ -1287,7 +1287,7 @@ AmlPopulateObjectNode (
|
|||
@retval EFI_BUFFER_TOO_SMALL No space left in the buffer.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
@retval EFI_OUT_OF_RESOURCES Could not allocate memory.
|
||||
*/
|
||||
**/
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
|
|
|
@ -213,7 +213,7 @@ AmlRdIsResourceDataBuffer (
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
// TODO Might want to check the CRC when available.
|
||||
// @todo Might want to check the CRC when available.
|
||||
// An end tag resource data element must be the last element of the list.
|
||||
// Thus the function should have already returned.
|
||||
if (AmlRdCompareDescId (
|
||||
|
|
|
@ -52,7 +52,7 @@ AmlStreamInit (
|
|||
in the ClonedStream.
|
||||
|
||||
@param [in] Stream Pointer to the stream to clone.
|
||||
@param [in] ClonedStream Pointer to the stream to initialize.
|
||||
@param [out] ClonedStream Pointer to the stream to initialize.
|
||||
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
|
@ -97,7 +97,7 @@ AmlStreamClone (
|
|||
|
||||
@param [in] Stream Pointer to the stream from which a sub-stream is
|
||||
created.
|
||||
@param [in] SubStream Pointer to the stream to initialize.
|
||||
@param [out] SubStream Pointer to the stream to initialize.
|
||||
|
||||
@retval EFI_SUCCESS The function completed successfully.
|
||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||
|
|
|
@ -464,7 +464,7 @@ AmlNodeCompareOpCode (
|
|||
|
||||
@retval TRUE The Node is an integer node.
|
||||
@retval FALSE Otherwise.
|
||||
*/
|
||||
**/
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
IsIntegerNode (
|
||||
|
@ -499,7 +499,7 @@ IsIntegerNode (
|
|||
|
||||
@retval TRUE The Node is a ZeroOp or OneOp.
|
||||
@retval FALSE Otherwise.
|
||||
*/
|
||||
**/
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
IsSpecialIntegerNode (
|
||||
|
@ -556,7 +556,7 @@ AmlIsMethodDefinitionNode (
|
|||
// DefExternal := ExternalOp NameString ObjectType ArgumentCount
|
||||
// ExternalOp := 0x15
|
||||
// ObjectType := ByteData
|
||||
// ArgumentCount := ByteData (0 – 7)
|
||||
// ArgumentCount := ByteData (0 - 7)
|
||||
ObjectType = (AML_DATA_NODE*)AmlGetFixedArgument (
|
||||
(AML_OBJECT_NODE*)Node,
|
||||
EAmlParseIndexTerm1
|
||||
|
|
|
@ -41,7 +41,7 @@ AmlGetParent (
|
|||
|
||||
@return The root node of the tree.
|
||||
NULL if error.
|
||||
*/
|
||||
**/
|
||||
AML_ROOT_NODE *
|
||||
EFIAPI
|
||||
AmlGetRootNode (
|
||||
|
|
Loading…
Reference in New Issue