From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.88]) by mx.groups.io with SMTP id smtpd.web11.229.1689027975765436612 for ; Mon, 10 Jul 2023 15:26:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=V9HFSdNe; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.243.88, mailfrom: jbrasen@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FH75jai42Iagzu5Xne6kw93Vb9SM4ksjht0iQyHDxnDsAyYWHF8JBujPIj8AZ8dtl8qo/Wl+C2FA9ZjLYP/I/Ct1YQGeZOeLPoTe1mqa9OL82eKQshvI81IX516gi9hDAUx9hYOYY0ERm+l4flHGPZLtIIjiqggF+mu063UyOxISSpPhrWeKLcU0MNW4AYQzCNS3xQBltlDo5g4tIVw3NdtqiUofAD27kzX6wFDqo6uZSpYpG0hGGRFl5yL3ZK0wccwtVW+q+QtS//yzd/T2A2Ro7JQ/r8Pp7zYiNBeqgrvCTljIguIe0mZtgbtvVp5NXk423amhzQxKTtBV3m2afA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eJPBunu6nbwEqnawUqxkXBhXWBJSsbOAcwhLhDnSeUQ=; b=TJnttklUzuU9ZR2dagxpohe6Cbng6jhd3YOR83sggbL0Pd+co/EMUyWDvmjtrzjs83F/QL5Kt3H4I2MXoc7o+sEG3HIskbnnmg8ZjPJf8lC8EEAnh7IqAxw9kzbO/nZu0+vvZriJT0TqVGqSO76qq2zUeUGkEGWIZxIfPhuW9WrZQuIEhHgsVkkOkEzcmu/IRpxQGWJARvCT8hinL/+n0hM0KpZDgz/aecs23CU52bhFHBAHPKoYCwnRQBbL2rKUU4zTUwYukY2JOtJzBODf2s+lfnfD/EN1zBHRI5zolE2ji2/G2cP8JbKRxpQwN2x0d/sCmJyeJUXWdV/hc9aOPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eJPBunu6nbwEqnawUqxkXBhXWBJSsbOAcwhLhDnSeUQ=; b=V9HFSdNe8oqBSxhsr4N6IB3bkq5QkNPzfrR2QbLkAThcq1zXnnmXe1yHS/PPLYxiw4LB5R1B37bKJpREh15Kog38JVRKtcZ7/9Dkb6LxpMFBjewvfwuSFDWElVCS+CgkbWWJJ92nc7VOHk9hA0aCQYxUGs/Nys2FEbaZUDXl3ZMPN3f8F1we87eJOPvWPANIvD3bDkCMS6ohYQZIjUFml6LL6zKBMhSF9xcXglKybcSlj9KZT1LLRc27YuZQ04CEQyjSXLyYM1sKJB8OzrgG06pWnoG1F0SLsoH5riePXDDJyTu1pFmeGRVIFj8fB/Oi2VY51ZQX+3yPqbX0vzqiPw== Received: from SJ0PR13CA0106.namprd13.prod.outlook.com (2603:10b6:a03:2c5::21) by PH7PR12MB9224.namprd12.prod.outlook.com (2603:10b6:510:2e7::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Mon, 10 Jul 2023 22:26:13 +0000 Received: from CO1NAM11FT065.eop-nam11.prod.protection.outlook.com (2603:10b6:a03:2c5:cafe::9) by SJ0PR13CA0106.outlook.office365.com (2603:10b6:a03:2c5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.19 via Frontend Transport; Mon, 10 Jul 2023 22:26:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT065.mail.protection.outlook.com (10.13.174.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.18 via Frontend Transport; Mon, 10 Jul 2023 22:26:12 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Mon, 10 Jul 2023 15:26:01 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 10 Jul 2023 15:26:00 -0700 Received: from 6cd8174ac25c.nvidia.com (10.127.8.9) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 10 Jul 2023 15:26:00 -0700 From: "Jeff Brasen" To: CC: , , , Jeff Brasen Subject: [PATCH v2 0/4] Add support for generating ACPI ThermalZones Date: Mon, 10 Jul 2023 22:25:55 +0000 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-NVConfidentiality: public Return-Path: jbrasen@nvidia.com X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT065:EE_|PH7PR12MB9224:EE_ X-MS-Office365-Filtering-Correlation-Id: c57c5a80-20d7-4ecd-3f6c-08db8194ab2d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +Cek5nzu6VF25DugXQ7LqOy7uXhrxkygkCzMC0O5ARIRRZ837InyWCq2E9R/WwWPrc1KnVrrcuclm9ORmpH/Rf6uR6rx0BlD1G9IYFqej0N5ZHkzlxExLk1wZ+U4tXt5B3E0UAoRN2jJhh4ChowKMGmR8GNAbkMhW8qBBqvob2rK/W39C7DLn2K6kz3r75M0Z/VenMXksH3TgpGEZrcSFwHE0W/jOJiuHCFLVZFca+tcrOhJrhelrHTN2Gp+gzGy1geMuSJASIOINSy1EQ5iF1E43HOby+pr6XrHC9eXNNoFmPEHy6HMmaA1SaDdusxyCg1LocFs74hBcBVSRfGPVj/1z5WTKvC0HGAvQsc8s2eoMGuHwJ09IYyE3TUL06p2v1eggSESupfcqBc0DdiSiVxBQZ7+Q1PFaYg6CvpkMyfNPNXvLVLrzjgQbKZVhdi3qSm8W7K1Vd69DgDQJHZA5jIBb3BuR6UoAVcNnAriLSVtcnC/iq12mla0PTEeIvMGjjz1tVkPDNDQO9ZwvVVdxOsF9LtYa90OIE1Gk79oqTrtIUnsFi/HbzDZF92RkjJ1FDyvKuMpBdtxVTwk8w4CV/xWkoLgJRq9aZBuxu/9XeKI8H3vxiMin8BeU/HhRQzrPtwSEzQ0ReRIm632+2meQUI54pxBR8bqvD8d9yNWenexk5jJ+3YfHCL9FgZF0wlmRg6tUgBO5i0/vUylzc3baqA+cHvgT4ZUmYD0K8RG60fP8TkH1DOocGfQxGdYBVYa X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(396003)(346002)(136003)(39860400002)(451199021)(40470700004)(46966006)(36840700001)(86362001)(82310400005)(82740400003)(40460700003)(40480700001)(36756003)(6666004)(7696005)(54906003)(70206006)(70586007)(356005)(7636003)(478600001)(107886003)(26005)(186003)(2616005)(36860700001)(5660300002)(316002)(2906002)(8936002)(8676002)(47076005)(426003)(336012)(4326008)(6916009)(4744005)(41300700001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2023 22:26:12.8506 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c57c5a80-20d7-4ecd-3f6c-08db8194ab2d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT065.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB9224 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Add APIs needed to create thermal zones dynamically. Does not add a generator for this as creating the TMP method generically ma= y be difficult. Change log: v2 - renamed NameString function and added goto dones in a couple error cas= es Jeff Brasen (4): DynamicTablesPkg: Add ThermalZone CodeGen function DynamicTablesPkg: Add support for simple method invocation. DynamicTablesPkg: Add support to add Strings to package DynamicTablesPkg: Add Aml NameUnicodeString API .../Include/Library/AmlLib/AmlLib.h | 130 +++++ .../Common/AmlLib/CodeGen/AmlCodeGen.c | 508 ++++++++++++++++++ 2 files changed, 638 insertions(+) --=20 2.25.1