Skip to content

Commit

Permalink
SHEL6
Browse files Browse the repository at this point in the history
  • Loading branch information
hfang committed Aug 7, 2006
1 parent f0ffde6 commit 42668cd
Show file tree
Hide file tree
Showing 54 changed files with 1,073 additions and 96 deletions.
7 changes: 6 additions & 1 deletion DeviceTree/devicetree.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -138,6 +138,11 @@ Routine Description:
ZeroMem (&ChkPck, sizeof (SHELL_VAR_CHECK_PACKAGE));
EFI_SHELL_APP_INIT (ImageHandle, SystemTable);

//
// Enable tab key which can pause the output
//
EnableOutputTabPause();

Status = LibInitializeStrings (&HiiHandle, STRING_ARRAY_NAME, &EfiDevicetreeGuid);
if (EFI_ERROR (Status)) {
return Status;
Expand Down
6 changes: 3 additions & 3 deletions EDK_Snapshot.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Notes:
This EFI Shell release package has been tested on the 2006-06-12's EDK which snapshot
is Edk-Dev-Snapshot-20060612, User can get this version EDK from the following URL:
http://edk.tianocore.org/files/documents/16/247/Edk-Dev-Snapshot-20060612.zip
This EFI Shell release package has been tested on the 2006-08-07's EDK which snapshot
is Edk-Dev-Snapshot-200600807, User can get this version EDK from the following URL:
http://edk.tianocore.org/files/documents/16/265/Edk-Dev-Snapshot-20060807.zip
We don't guarantee this package can work correctly on the other EDK snapshot.
7 changes: 6 additions & 1 deletion EfiCompress/CompressMain.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -123,6 +123,11 @@ Routine Description:
//
EFI_SHELL_APP_INIT (ImageHandle, SystemTable);

//
// Enable tab key which can pause the output
//
EnableOutputTabPause();

//
// Register our string package with HII and return the handle to it.
// If previously registered we will simply receive the handle
Expand Down
8 changes: 7 additions & 1 deletion EfiDecompress/Decompress.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -130,6 +130,12 @@ Routine Description:
// as an nshell app and run
//
EFI_SHELL_APP_INIT (ImageHandle, SystemTable);

//
// Enable tab key which can pause the output
//
EnableOutputTabPause();

//
// Register our string package with HII and return the handle to it.
// If previously registered we will simply receive the handle
Expand Down
8 changes: 7 additions & 1 deletion IpConfig/IpConfig.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -384,6 +384,12 @@ Routine Description:
// as an nshell app and run
//
EFI_SHELL_APP_INIT (ImageHandle, SystemTable);

//
// Enable tab key which can pause the output
//
EnableOutputTabPause();

//
// Register our string package with HII and return the handle to it.
// If previously registered we will simply receive the handle
Expand Down
8 changes: 6 additions & 2 deletions Library/Init.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -344,7 +344,11 @@ LibInitializeShellApplication (
// Disable the page break output mode in default
//
DisablePageBreak ();


//
// Disable the tab key pause output mode in default
DisableOutputTabPause ();

//
// Done with init
//
Expand Down
63 changes: 62 additions & 1 deletion Library/ShellEnvInt.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -122,6 +122,67 @@ Routine Description:
return SE2->GetPageBreak ();
}

VOID
EnableOutputTabPause (
VOID
)
/*++
Routine Description:
Enable tab key which can pause output
Arguments:
Returns:
--*/
{
SE2->SetKeyFilter (SE2->GetKeyFilter () | EFI_OUTPUT_PAUSE);
}

VOID
DisableOutputTabPause (
VOID
)
/*++
Routine Description:
disable tab key which can pause output
Disable pause key
Arguments:
Returns:
--*/
{
SE2->SetKeyFilter (SE2->GetKeyFilter () & ~EFI_OUTPUT_PAUSE);
}

BOOLEAN
GetOutputTabPause (
VOID
)
/*++
Routine Description:
Get the status of tab pause
Arguments:
Returns:
TRUE - the status of the tab key is enabled
FALSE - the status of the tab key is disabled
--*/
{
return (BOOLEAN) ((SE2->GetKeyFilter () & EFI_OUTPUT_PAUSE) != 0);
}

VOID
SetKeyFilter (
IN UINT32 KeyFilter
Expand Down
17 changes: 16 additions & 1 deletion Library/ShellEnvInt.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -54,6 +54,21 @@ DisablePageBreak (
VOID
);

VOID
EnableOutputTabPause (
VOID
);

VOID
DisableOutputTabPause (
VOID
);

BOOLEAN
GetOutputTabPause (
VOID
);

VOID
SetKeyFilter (
IN UINT32 KeyFilter
Expand Down
7 changes: 6 additions & 1 deletion LoadPciRom/LoadPciRom.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -139,6 +139,11 @@ Routine Description:
// as an nshell app and run
//
EFI_SHELL_APP_INIT (ImageHandle, SystemTable);

//
// Enable tab key which can pause the output
//
EnableOutputTabPause();

Status = LibInitializeStrings (&HiiHandle, STRING_ARRAY_NAME, &EfiLoadPciRomGuid);

Expand Down
18 changes: 9 additions & 9 deletions ShellFull.inf
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#/*++
#
# Copyright (c) 2006 Intel Corporation. All rights reserved
# This software and associated documentation (if any) is furnished
# under a license and may only be used or copied in accordance
# with the terms of the license. Except as permitted by such
# license, no part of this software or documentation may be
# reproduced, stored in a retrieval system, or transmitted in any
# form or by any means without the express written consent of
# Intel Corporation.
#
# Copyright (c) 2006, Intel Corporation
# All rights reserved. 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
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
# Module Name:
#
# ShellFull.inf
Expand Down
64 changes: 64 additions & 0 deletions SmbiosView/QueryTable.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,54 @@ TABLE_ITEM ProcessorUpgradeTable[] = {
0x09,
L"Slot 2"
},
{
0x0A,
L"370-pin socket"
},
{
0x0B,
L"Slot A"
},
{
0x0C,
L"Slot M"
},
{
0x0D,
L"Socket 423"
},
{
0x0E,
L"Socket A"
},
{
0x0F,
L"Socket 478"
},
{
0x10,
L"Socket 754"
},
{
0x11,
L"Socket 940"
},
{
0x12,
L"Socket 939"
},
{
0x13,
L"Socket mPGA604"
},
{
0x14,
L"Socket LGA771"
},
{
0x15,
L"Socket LGA775"
}
};

TABLE_ITEM McErrorDetectMethodTable[] = {
Expand Down Expand Up @@ -1800,6 +1848,10 @@ TABLE_ITEM MemoryDeviceFormFactorTable[] = {
{
0x0E,
L" SRIMM"
},
{
0x0F,
L" FB-DIMM"
}
};

Expand Down Expand Up @@ -1872,6 +1924,18 @@ TABLE_ITEM MemoryDeviceTypeTable[] = {
0x11,
L" RDRAM"
},
{
0x12,
L" DDR"
},
{
0x13,
L" DDR2"
},
{
0x14,
L" DDR2 FB-DIMM"
}
};

TABLE_ITEM MemoryDeviceTypeDetailTable[] = {
Expand Down
7 changes: 6 additions & 1 deletion SmbiosView/smbiosview.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -137,6 +137,11 @@ Routine Description:
ZeroMem (&ChkPck, sizeof (SHELL_VAR_CHECK_PACKAGE));

EFI_SHELL_APP_INIT (ImageHandle, SystemTable);

//
// Enable tab key which can pause the output
//
EnableOutputTabPause();

Status = LibInitializeStrings (&HiiHandle, STRING_ARRAY_NAME, &EfiSmbiosViewGuid);

Expand Down
7 changes: 6 additions & 1 deletion TelnetMgmt/TelnetMgmt.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (c) 2005, Intel Corporation
Copyright (c) 2005 - 2006, Intel Corporation
All rights reserved. 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
Expand Down Expand Up @@ -112,6 +112,11 @@ Routine Description:
//
Status = EFI_SUCCESS;
EFI_SHELL_APP_INIT (ImageHandle, SystemTable);

//
// Enable tab key which can pause the output
//
EnableOutputTabPause();

Status = LibInitializeStrings (&HiiHandle, STRING_ARRAY_NAME, &EfiTelnetMgmtGuid);

Expand Down
Loading

0 comments on commit 42668cd

Please sign in to comment.