date 2000.07.20.16.58.00; author mwalz; state Exp;

This commit is contained in:
aystarik 2005-06-29 16:16:20 +00:00
parent 7b0a896299
commit aa36f9caaa
6 changed files with 31 additions and 31 deletions

View File

@ -193,7 +193,7 @@ AcpiDbWalkForReferences (
AcpiOsPrintf ("Reference at Entry->ChildTable %p [%4.4s]\n", Entry, &Entry->Name);
}
return AE_OK;
return (AE_OK);
}
@ -709,7 +709,7 @@ AcpiDbWalkForSpecificObjects (
if (ACPI_FAILURE (Status))
{
AcpiOsPrintf ("Could Not get pathname for object %p\n", ObjHandle);
return AE_OK;
return (AE_OK);
}
AcpiOsPrintf ("%32s", buffer);
@ -745,7 +745,7 @@ AcpiDbWalkForSpecificObjects (
}
AcpiOsPrintf ("\n");
return AE_OK;
return (AE_OK);
}
@ -775,7 +775,7 @@ AcpiDbDisplayObjects (
if (Type == ACPI_TYPE_NOT_FOUND)
{
AcpiOsPrintf ("Invalid or unsupported argument\n");
return AE_OK;
return (AE_OK);
}
@ -798,7 +798,7 @@ AcpiDbDisplayObjects (
AcpiDbWalkForSpecificObjects, (void *) &Type, NULL);
AcpiDbSetOutputDestination (DB_CONSOLE_OUTPUT);
return AE_OK;
return (AE_OK);
}
@ -843,7 +843,7 @@ AcpiDbWalkAndMatchName (
{
/* No match, just exit */
return AE_OK;
return (AE_OK);
}
}
@ -863,7 +863,7 @@ AcpiDbWalkAndMatchName (
AcpiOsPrintf ("%32s (0x%p) - %s\n", Buffer, ObjHandle, AcpiCmGetTypeName (((ACPI_NAMED_OBJECT*)ObjHandle)->Type));
}
return AE_OK;
return (AE_OK);
}
@ -894,7 +894,7 @@ AcpiDbFindNameInNamespace (
AcpiDbWalkAndMatchName, NameArg, NULL);
AcpiDbSetOutputDestination (DB_CONSOLE_OUTPUT);
return AE_OK;
return (AE_OK);
}

View File

@ -170,7 +170,7 @@ AcpiDbGetPointer (
#endif
return ObjPtr;
return (ObjPtr);
}

View File

@ -215,7 +215,7 @@ AcpiDbExecuteMethod (
AcpiGbl_CmSingleStep = FALSE;
AcpiGbl_MethodExecuting = FALSE;
return Status;
return (Status);
}

View File

@ -278,7 +278,7 @@ AcpiDbGetFromHistory (
}
AcpiOsPrintf ("Invalid history number: %d\n", HistoryIndex);
return NULL;
return (NULL);
}

View File

@ -391,7 +391,7 @@ AcpiDbGetNextToken (
if (!String || !(*String))
{
return NULL;
return (NULL);
}
@ -406,7 +406,7 @@ AcpiDbGetNextToken (
if (!(*String))
{
return NULL;
return (NULL);
}
}
@ -431,7 +431,7 @@ AcpiDbGetNextToken (
*Next = String + 1;
}
return Start;
return (Start);
}
@ -485,7 +485,7 @@ AcpiDbGetLine (
if (Count)
Count--; /* Number of args only */
return Count;
return (Count);
}
@ -510,20 +510,20 @@ AcpiDbMatchCommand (
if (!UserCommand || UserCommand[0] == 0)
{
return CMD_NULL;
return (CMD_NULL);
}
for (i = CMD_FIRST_VALID; Commands[i].Name; i++)
{
if (STRSTR (Commands[i].Name, UserCommand) == Commands[i].Name)
{
return i;
return (i);
}
}
/* Command not recognized */
return CMD_NOT_FOUND;
return (CMD_NOT_FOUND);
}
@ -618,7 +618,7 @@ AcpiDbCommandDispatch (
if (ACPI_FAILURE(Status))
{
AcpiOsPrintf("AcpiEnable failed (0x%x)\n", Status);
return Status;
return (Status);
}
break;
@ -651,26 +651,26 @@ AcpiDbCommandDispatch (
CommandLine = AcpiDbGetFromHistory (Args[1]);
if (!CommandLine)
{
return AE_CTRL_TRUE;
return (AE_CTRL_TRUE);
}
Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op);
if (ACPI_SUCCESS (Status))
Status = AE_CTRL_TRUE;
return Status;
return (Status);
break;
case CMD_HISTORY_LAST:
CommandLine = AcpiDbGetFromHistory (NULL);
if (!CommandLine)
{
return AE_CTRL_TRUE;
return (AE_CTRL_TRUE);
}
Status = AcpiDbCommandDispatch (CommandLine, WalkState, Op);
if (ACPI_SUCCESS (Status))
Status = AE_CTRL_TRUE;
return Status;
return (Status);
case CMD_INFORMATION:
AcpiDbDisplayMethodInfo (Op);
@ -681,7 +681,7 @@ AcpiDbCommandDispatch (
{
AcpiGbl_CmSingleStep = TRUE;
AcpiGbl_MethodBreakpoint = 0;
return AE_OK;
return (AE_OK);
}
break;
@ -713,7 +713,7 @@ AcpiDbCommandDispatch (
Status = AcpiDbLoadAcpiTable (Args[1]);
if (ACPI_FAILURE (Status))
{
return Status;
return (Status);
}
AcpiDbSetOutputDestination (DB_REDIRECTABLE_OUTPUT);
@ -722,7 +722,7 @@ AcpiDbCommandDispatch (
if (ACPI_FAILURE (Status))
{
return Status;
return (Status);
}
break;
@ -834,7 +834,7 @@ AcpiDbCommandDispatch (
/* Add all commands that come here to the history buffer */
AcpiDbAddToHistory (InputBuffer);
return Status;
return (Status);
}
@ -970,7 +970,7 @@ AcpiDbUserCommands (
*/
AcpiTerminate ();
return Status;
return (Status);
}

View File

@ -195,7 +195,7 @@ AcpiDbDisplayStatistics (
if (!TypeArg)
{
AcpiOsPrintf ("Use subcommand OBJECTS, MEMORY, MISC, or TABLES\n");
return AE_OK;
return (AE_OK);
}
STRUPR (TypeArg);
@ -203,7 +203,7 @@ AcpiDbDisplayStatistics (
if (Type == (UINT32) -1)
{
AcpiOsPrintf ("Invalid or unsupported argument\n");
return AE_OK;
return (AE_OK);
}
@ -300,7 +300,7 @@ AcpiDbDisplayStatistics (
}
AcpiOsPrintf ("\n");
return AE_OK;
return (AE_OK);
}