From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.web10.2969.1689090232164739192 for ; Tue, 11 Jul 2023 08:43:52 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@ventanamicro.com header.s=google header.b=hjrwiRPU; spf=pass (domain: ventanamicro.com, ip: 209.85.210.177, mailfrom: sunilvl@ventanamicro.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-666e64e97e2so3130520b3a.1 for ; Tue, 11 Jul 2023 08:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1689090231; x=1691682231; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qll0ilP60SnsTEb07WgekfD7e6h7X/veJLlFAqTSttk=; b=hjrwiRPUo16ibTp2UL56MQkVhkR4nrUd5eHYKcetJWYnF2x/oze1Qe9OP4BWoFM8Ob Fu+77duealTyCGcOHjokKwE+yBQG4hsWp7KS5npkuM0hm53lBpucw6OYqBwK7IFguCbr LOleZcSP9GblZpXwju1hNwnn+2uOkZ06lCu3myqPUgzUyl+ImIvNc13aivwWuNjQZi1A Obdh2E0INCgr6olUEiq1Wyzk5fsrtCVSninYDVnqWosF95/VXMxTwyXNC1s2H6mlqubC 4e/L8A0tPk5VtfsXDLwAE0wbsuFzk7kDxjJjVcKDVwYkF7zx/3TWGN1YYM8A83XSleXH CxhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689090231; x=1691682231; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qll0ilP60SnsTEb07WgekfD7e6h7X/veJLlFAqTSttk=; b=RBKhF0sw43Xdp0bzviDjV32VlZpi+Vm56SxISiGx4fZ6vF3F4EgL6kDaN0hRtsj4L/ nsIMtHeDdH1YFEiR32IPzDroYHzT+7brHZuibw/okIOCMWXPyYf/APkUZvbetGsn/YxQ FLGiV/hXTawpQoOj3Y0qP1UVgNORVfDyYQPyP/7eZU0JBhCOxKXwPU9nyshtOCREN/gd AsiLo/82lQ4xFGzucBUzIi0hb9/OtArTwpF4x98fC19bao1AYykJgdy7KuqoXo4EsTwH 97YFE015VxhGjKEq+BIpx0xMGEsoDP4NC5IdVDtjDUiUVCdvVDeciVWha0Z6ujMbO0v5 QRYA== X-Gm-Message-State: ABy/qLZqEiDkhh+ZDHyqZ7W1kTkFkiuwhpzkB6lGLW3ctLSJcpJXRBTG zY3UkartqnsuF+Zcy5MzuBSz7lGZ6Qe4LJbl0nU= X-Google-Smtp-Source: APBJJlEnsdr+3VwdkESaq6JUGWBl3LbTk+stTUQVcstpt/FWdfFili4EBNjRw42xmIjchxY2pa8cow== X-Received: by 2002:a05:6a20:6a0a:b0:117:a2f3:3c93 with SMTP id p10-20020a056a206a0a00b00117a2f33c93mr17078721pzk.2.1689090231391; Tue, 11 Jul 2023 08:43:51 -0700 (PDT) Return-Path: Received: from sunil-laptop.. ([106.51.184.72]) by smtp.gmail.com with ESMTPSA id k9-20020a170902694900b001b9f75c8c4dsm923084plt.52.2023.07.11.08.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 08:43:51 -0700 (PDT) From: "Sunil V L" To: devel@edk2.groups.io Cc: Sunil V L , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Andrei Warkentin , Ard Biesheuvel Subject: [PATCH v2 2/4] OvmfPkg/RiscVVirt: SecEntry: Remove unnecessary assembly directives Date: Tue, 11 Jul 2023 21:13:33 +0530 Message-Id: <20230711154335.586343-3-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230711154335.586343-1-sunilvl@ventanamicro.com> References: <20230711154335.586343-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit llvm fails to resolve _ModuleEntry when these extra directives are present. ASM_FUNC already takes care what is required. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Andrei Warkentin Signed-off-by: Sunil V L Acked-by: Ard Biesheuvel --- OvmfPkg/RiscVVirt/Sec/SecEntry.S | 3 --- 1 file changed, 3 deletions(-) diff --git a/OvmfPkg/RiscVVirt/Sec/SecEntry.S b/OvmfPkg/RiscVVirt/Sec/SecEntry.S index e919a3cb0e80..192fff321ce5 100644 --- a/OvmfPkg/RiscVVirt/Sec/SecEntry.S +++ b/OvmfPkg/RiscVVirt/Sec/SecEntry.S @@ -7,9 +7,6 @@ #include "SecMain.h" -.text -.align 3 - ASM_FUNC (_ModuleEntryPoint) /* Use Temp memory as the stack for calling to C code */ li a4, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase) -- 2.34.1