From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.web08.6407.1662549140843930816 for ; Wed, 07 Sep 2022 04:12:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ventanamicro.com header.s=google header.b=kWB44okT; spf=pass (domain: ventanamicro.com, ip: 209.85.215.177, mailfrom: sunilvl@ventanamicro.com) Received: by mail-pg1-f177.google.com with SMTP id v4so13223932pgi.10 for ; Wed, 07 Sep 2022 04:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Bk7HSMKehBDzl5xSM8th0V7dciZ5gH5hiLwWhdKh7YA=; b=kWB44okT53MEZB18sIuiMDxOastCotGMGNmUXMpreW0LjD/pKh5Ov7gouGsKZievor +tX9qoYs2fuVFalbgryUeME7Rr8NQNsyUpEMWrmHbzN8mRLABcuOZl1xzFVQb8fCRMBi M1IKOrDLk72S6AjwmkcxtxXSDLIZcvd2436QTSHyo/ZmzX0nblUfLm5mPHhrW6bJoGH1 +LROWzgvqY92wf+OCz2E8yuksxxBOMmfHuh3G0XIJ5mw1OFYELl1C4Q3YnIGQ7ZiyVAY ZJGzNAuyGVlK+pnKIFoRr9NPfTWUCprJMVvJW1NuxUri3rm16g36WZehxzb/vQk1D4Xc alWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=Bk7HSMKehBDzl5xSM8th0V7dciZ5gH5hiLwWhdKh7YA=; b=BshjLqqLFcX41StkaQjDzvgz8W8XWliBV6FzvdgP7pfBEVo64FkwLeici16ysyYIf1 cB1KOjSTuDnhOyZEJSHcRi+PqJ5GpbAXip4izbSDW6mkBWN+pDeOvmuD7TChh5y3AhUb 8GuB/1UtpyYNE63Q5dQx7e98MSRCsAbCFfcffFN5nSt+stOnZlgaTHlh1R/CP2aJZdpM ZH1FOttsPN2afwyMcFkvFI91gCn7TiU3SCKvqUXvW6u8ANwy5/zuIaMpogDkWl73OBFL JGt83xsCRrm4EdIXd83cof6wnTyjnjRnB84yERL7qe7IreQWmCJJcu26dn0s51xjJB48 KhlQ== X-Gm-Message-State: ACgBeo277Qzi3jNXEL8qHihiHhRfq28cqq2OfEfN+EdbwCuhI5Q5rllY 4XKZ8XvvpZf9i6OKE39HoIuhoRZY/JE8of4d X-Google-Smtp-Source: AA6agR4jiT7HA60BTbPhfNbqgEKKFYqK4yo0Hf1sKqBOuByby0oNtVgHnSt2O8XKZGYh906e2zRARQ== X-Received: by 2002:a63:5522:0:b0:42b:976d:dcd4 with SMTP id j34-20020a635522000000b0042b976ddcd4mr2808639pgb.421.1662549139599; Wed, 07 Sep 2022 04:12:19 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([49.206.11.92]) by smtp.gmail.com with ESMTPSA id y5-20020aa79ae5000000b0052b84ca900csm12208518pfp.62.2022.09.07.04.12.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 04:12:17 -0700 (PDT) From: "Sunil V L" To: devel@edk2.groups.io Cc: Jian J Wang , Liming Gao , Eric Dong , Ray Ni , Rahul Kumar , Debkumar De , Catharine West , Daniel Schaefer , Abner Chang , Leif Lindholm , Andrew Fish , Ard Biesheuvel , Heinrich Schuchardt , Anup Patel , Sunil V L Subject: [RFC PATCH V2 09/19] UefiCpuPkg: Update Sources in DxeCpuExceptionHandlerLib.inf Date: Wed, 7 Sep 2022 16:41:15 +0530 Message-Id: <20220907111125.539698-10-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220907111125.539698-1-sunilvl@ventanamicro.com> References: <20220907111125.539698-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Currently the common sources mean x86 only in this library. To add support for other architectures like RISC-V, we need to build these files only for x86. Signed-off-by: Sunil V L --- UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf | = 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandl= erLib.inf b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandle= rLib.inf index e7a81bebdb13..bf33d54bae13 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.i= nf +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.i= nf @@ -32,7 +32,7 @@ [Sources.X64] X64/ArchExceptionHandler.c=0D X64/ArchInterruptDefs.h=0D =0D -[Sources.common]=0D +[Sources.IA32, Sources.X64]=0D CpuExceptionCommon.h=0D CpuExceptionCommon.c=0D PeiDxeSmmCpuException.c=0D @@ -56,8 +56,10 @@ [LibraryClasses] SerialPortLib=0D PrintLib=0D SynchronizationLib=0D - LocalApicLib=0D PeCoffGetEntryPointLib=0D MemoryAllocationLib=0D DebugLib=0D +=0D +[LibraryClasses.IA32, LibraryClasses.X64]=0D + LocalApicLib=0D VmgExitLib=0D --=20 2.25.1