/** @file
Main file for attrib shell level 2 function.
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include "UefiShellLevel2CommandsLib.h"
{L"-w", TypeValue},
{L"-s", TypeValue},
{L"-c", TypeValue},
};
/**
Function for 'reset' command.
@param[in] ImageHandle Handle to the Image (NULL if Internal).
@param[in] SystemTable Pointer to the System Table (NULL if Internal).
**/
)
{
ProblemParam = NULL;
//
// initialize the shell lib (we must be in non-auto-init...)
//
Status = ShellInitialize();
//
// parse the command line
//
return (SHELL_INVALID_PARAMETER);
} else {
}
} else {
//
// check for "-?"
//
} else {
//
// check for warm reset flag, then shutdown reset flag, then cold (default) reset flag
//
} else {
} else {
}
}
} else {
DEBUG_CODE(ShellPrintEx(-1,-1,L"Reset with %s (%d bytes)", String, String!=NULL?StrSize(String):0););
} else {
}
}
} else {
//
// this is default so dont worry about flag...
//
} else {
}
}
}
}
//
// we should never get here... so the free and return are for formality more than use
// as the ResetSystem function should not return...
//
//
// free the command line package
//
//
// return the status
//
return (ShellStatus);
}