From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by mx.groups.io with SMTP id smtpd.web10.22608.1688371725111389902 for ; Mon, 03 Jul 2023 01:08:45 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@ventanamicro.com header.s=google header.b=iixJE8Kc; spf=pass (domain: ventanamicro.com, ip: 209.85.160.54, mailfrom: sunilvl@ventanamicro.com) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-1b038d7a5faso3715120fac.1 for ; Mon, 03 Jul 2023 01:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1688371724; x=1690963724; 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=gpxjHvT2WB/MtgF0/SQUu164cmPgBuikeH0s6kBlxWI=; b=iixJE8KcRakSCvKgYDORIjnfkFMSG1EYQBbu3sH8frKd6cUNk3W1l63Mx+MSY6tGa6 niyCFbpx2kUUu/wNwGrmk+TiM2JPxVuYYAhq13ApYoV/DdbDiVmIk0CWE+FvMSXWFunb upIJBxm6RRaDEmqhlThiA5IlHY3ikBeKaa/Sq4lyVOO6L8F9Jt4GiJUV2nrDv3IJ7pAO lgI3vf+khX1erMNuSTu00rCZZovcGqmm0CS55ufB1Ki/1oJi9EyQibuw/vnZEKj4NYV8 V1mIwkb/e2AcAe+QcD0wKsIT7dchqFOChoGwR/5Qqlf4AEoo/j9ZY9LALYHF4/kkj6SN kibw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688371724; x=1690963724; 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=gpxjHvT2WB/MtgF0/SQUu164cmPgBuikeH0s6kBlxWI=; b=SEMPKeP07FSCciPtVJkR0vcsYqMuOdAmvb30/czO5C1GQWrHAVBt8wDSsZgb5Q6KxF SzCk9xck9J9D3xGcYN+Pl68NkCPMjwNpH6gJohl+TAkbg98aV5qfioUSU9pJqt0f6MIg /sh9W1lZDBLjncwyC0s+uFyJuzqZqPj0hnIEbQUzqFLWPkWwu3vB5R9zMhkAWFucuIzY wKVQ+TBDZgu8GE9+z24sSCbzlrpoYqHBgbGz5c4aXPmyxmgEn9ltwW5BNZfnElZLvp/L jbGzacks6EdKV60dpxBuQIGCVlcAxv+8HTp9QuLRSZyNd80vOqDQh6+Z2A++zdYd+/xd vtKQ== X-Gm-Message-State: AC+VfDwBGaWM+q+/f5jGSTfekUrNjPrl/Af+KJ7CiuCxEztTYAVqQjyf fWnJZAcjnuCVu185Euux/o9CnjgGOFqLtLIbo8k= X-Google-Smtp-Source: APBJJlGVSCRhP1Rn09s8LjFH/Nl4oB9o89jp0SArLTU/t4rsWcAP94lzfZbcHgPaI6/9q78Ot/WgfA== X-Received: by 2002:a05:6871:714:b0:1b0:315f:93ca with SMTP id f20-20020a056871071400b001b0315f93camr9553040oap.5.1688371724315; Mon, 03 Jul 2023 01:08:44 -0700 (PDT) Return-Path: Received: from sunil-laptop.. ([106.51.184.72]) by smtp.gmail.com with ESMTPSA id s18-20020a17090a881200b0024e05b7ba8bsm14863253pjn.25.2023.07.03.01.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 01:08:44 -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 Subject: [PATCH 2/4] OvmfPkg/RiscVVirt: SecEntry: Remove unnecessary assembly directives Date: Mon, 3 Jul 2023 13:38:29 +0530 Message-Id: <20230703080831.51075-3-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230703080831.51075-1-sunilvl@ventanamicro.com> References: <20230703080831.51075-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 --- 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