From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by mx.groups.io with SMTP id smtpd.web09.1051.1617155754674525139 for ; Tue, 30 Mar 2021 18:55:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=NyVhSPOh; spf=pass (domain: nuviainc.com, ip: 209.85.167.169, mailfrom: rebecca@nuviainc.com) Received: by mail-oi1-f169.google.com with SMTP id i3so18498821oik.7 for ; Tue, 30 Mar 2021 18:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nnHhUwVFb6HXVJ3kBlHtF6dO5bzIw2knV4LuFyVj2hw=; b=NyVhSPOhCG7TXR6/OkPB50bQP3B+CkChA4oRgYmbx/bRpC7QpzTSyHkoOCTDg6cp7A H79ouHGHhvOt5GpzwGkJ2cwdNvb7UUK1eZsFShARz3N+oALbZudGP2y++uI7pFfYRRUK q8Hkh1VWudqEJ7mimpu/81eTn8/xFsCLETPWquFKmRz9T05c/Ef8c2VwLTPsKutLcE+6 PW/Jr2TbFLVviXiFuzC17VixGbFHGLrC/kEsgztHCDDiMT4vVjqIw6rsoNMKVVVMxfgD m90/BkdE0PvITTHGjTsAHexRKdlAxPBw0k6JlhWinH0gZ/lkihhzAsegtVJa0RVDQcll EWFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nnHhUwVFb6HXVJ3kBlHtF6dO5bzIw2knV4LuFyVj2hw=; b=ruNXolPKdSdf497IGVJFwyn8Mx9yhqgv3HubA3g1kMYbao9t55VSbvp0C9AcPtXxWh bk6rdBJqkaLXjuTlTGfEwXzrXzK8QDyUdOrxVk4wPkmJOPTjl1TKOBSBcUJZ0L6Pe25b 5q3v3vVonjEkfPKay36NSVWlsQK/RiUl4ZFqpWOF6okSPoJXudKUdvFoSWmMxYCYweoW wk878KlLUXxDJmBNQCtx+SL6U6IUp8wqDXdYZsuTbwFbMhemzBcsmx6bZkc1P9Dx6oq7 DJNtCZFR38VNB2YduMkZbPBnRUZv7Xt+TLZOLRRKyKWo9MB04lQB0tCyVFq4liTTzYJK acaA== X-Gm-Message-State: AOAM531M8MY7w4P0S2W1Fd0bkODxWS9VwcA1rxhAtq8qjpjvUSc/O/TV S/HU38LRauZtfFpPw5Z5nBoUnhSuI5TapJDm3RbLXnNEnbCIsEaov2UHnmqbayUmNH9i4aJqXAQ YAvR4KptLNTvJsZHBQmiJaF/bAtDXEyLRul6CfR1twLLRjTsEeCSvEeSi9xQD3jUrGYbuqA== X-Google-Smtp-Source: ABdhPJxzsUAL/o5SCON3bxMOygIFLeCgNJmeFfcTI1Q6FaBbSbC7N7q6OLgS3HgkH/8OwHCSmHqDxw== X-Received: by 2002:aca:1a01:: with SMTP id a1mr587033oia.33.1617155753801; Tue, 30 Mar 2021 18:55:53 -0700 (PDT) Return-Path: Received: from cube.nuviainc.com (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id t14sm145071otj.50.2021.03.30.18.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 18:55:53 -0700 (PDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Ray Ni , Zhichao Gao Subject: [PATCH 1/1] ShellPkg: Fix smbiosview system enclosure type table Date: Tue, 30 Mar 2021 19:54:32 -0600 Message-Id: <20210331015432.18015-1-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The SystemEnclosureTypeTable in QueryTable.c contained a couple of errors: value 0x10 is "Lunch Box" not "Main Server Chassis", and the Sub Notebook value was repeated as 0x13 when that entry is for "SubChassis". The entries in-between needed adjusted. Signed-off-by: Rebecca Cran --- ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c index d0796a0e5141..39a3e3c0895b 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c @@ -188,20 +188,20 @@ TABLE_ITEM SystemEnclosureTypeTable[] = { }, { 0x10, + L" Lunch Box" + }, + { + 0x11, L" Main Server Chassis" }, { - 0x11, + 0x12, L" Expansion Chassis" }, { - 0x12, + 0x13, L" SubChassis" }, - { - 0x13, - L" Sub Notebook" - }, { 0x14, L" Bus Expansion Chassis" -- 2.26.2