From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by mx.groups.io with SMTP id smtpd.web10.11170.1642092062407305298 for ; Thu, 13 Jan 2022 08:41:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=HbOxo1z3; spf=pass (domain: quicinc.com, ip: 199.106.114.39, mailfrom: quic_rcran@quicinc.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1642092062; x=1673628062; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=SEhZUfAGeZl5Oy/29eesE+LkwGJc6bYZqB3JSHWTzss=; b=HbOxo1z3cZ4cs9SamBww/d6HtBRwmt/FwCtDpAn1/l0QXkh9m0bOWlJ5 N6+c9HQVBvbF4Lp0CK1HQTaBVlawYcstTDKeQzl/xsXkmB+De92OAHUZN f0ei2HWfUl7e/NcHMt4FOMunhA1P+SOZ3H3EUvO7pNZunh5+B2K4tYvaK g=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 13 Jan 2022 08:41:01 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2022 08:41:01 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 13 Jan 2022 08:41:01 -0800 Received: from linbox.ba.nuviainc.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 13 Jan 2022 08:41:00 -0800 From: "Rebecca Cran" To: , Sami Mujawar , PierreGondois , Alexei Fedorov , "Leif Lindholm" CC: Rebecca Cran Subject: [PATCH v3 0/3] Add Memory32Fixed and AmlCodeGenMethodRetInteger functions Date: Thu, 13 Jan 2022 09:40:49 -0700 Message-ID: <20220113164052.20841-1-quic_rcran@quicinc.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Return-Path: quic_rcran@quicinc.com X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Content-Transfer-Encoding: 8bit Content-Type: text/plain Add functions to generate code for the Memory32Fixed ASL macro and a method returning an Integer. Remove a redundant cast from AmlCodeGenReturn. Changes from v2 to v3: o Rename function to AmlCodeGenRdMemory32Fixed. o Use define ACPI_32_BIT_FIXED_MEMORY_RANGE_DESCRIPTOR. Rebecca Cran (3): DynamicTablesPkg: Add Memory32Fixed function DynamicTablesPkg: Remove redundant cast in AmlCodeGenReturn DynamicTablesPkg: Add AmlCodeGenMethodRetInteger function DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h | 80 ++++++++++ DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c | 158 +++++++++++++++++++- DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c | 57 +++++++ 3 files changed, 294 insertions(+), 1 deletion(-) -- 2.31.1