2 %CommandName% for EBL (Embedded Boot Loader)
4 Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 Module Name: CmdTemplate.c
15 Search/Replace %CommandName% with the name of your new command
25 Argv[0] - "%CommandName%"
27 @param Argc Number of command arguments in Argv
28 @param Argv Array of strings that represent the parsed command line.
29 Argv[0] is the command name
44 GLOBAL_REMOVE_IF_UNREFERENCED
const EBL_COMMAND_TABLE mCmd
%CommandName
%Template
[] =
48 " [show args] ; explain args and command",
56 Initialize the commands in this file
59 EblInitialize
%CommandName
%Cmd (
63 EblAddCommands (mCmd
%CommandName
%Template
, sizeof (mCmd
%CommandName
%Template
)/sizeof (EBL_COMMAND_TABLE
));