From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mx.groups.io with SMTP id smtpd.web09.6631.1662550640427667653 for ; Wed, 07 Sep 2022 04:37:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ventanamicro.com header.s=google header.b=EKx/K3MA; spf=pass (domain: ventanamicro.com, ip: 209.85.216.52, mailfrom: sunilvl@ventanamicro.com) Received: by mail-pj1-f52.google.com with SMTP id o2-20020a17090a9f8200b0020025a22208so10765798pjp.2 for ; Wed, 07 Sep 2022 04:37: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=S4r51dzIlYhQp+/wz5FdLbM7FRp3Pm5VF1ZPUwNncJ0=; b=EKx/K3MAVGqVsEksCge+hSKZlCrrxKZzeeBka6jD/4aZYwBkznYEPsHnXbzF3JeCzg UtpZUkOljmnDibugt9lD63C6K4YHW0RAlUiTUl0dX4IDqYVV41+vpklntn8LqH5mZXw8 2pyKhST+qdPobbbTOkdZv4dvVikr2da6oLXuh/INFkAOo6ANW7spipljdiCEFrQPKcRg sLgoZsxoDeeHnrlXOAWiH37aDhGIC/EUAHPrkv9n9y8K6nlmzi+z+N5dCEEzjbj7OrX8 2K2b5cArZIBCygtoyAeH9ZM0OfhPlux6fzKdJQJMrA26ihbjgRpJCje1trG8eGH25RtV Z5kQ== 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=S4r51dzIlYhQp+/wz5FdLbM7FRp3Pm5VF1ZPUwNncJ0=; b=yEO3lNhNX3JjXVQEzkhafO5f4oQ62PN/sroNcz4tlTPiAdXGQFohDqMmRS6doS2gnI JXY1D2NiSmJXadQI1+sgidiQOY1Of7qs1W4NBnnr5/QdMquAYE8ufmxlNMqYtXNddcdf HMJPEwlNz1wnm7pmDJh3/U3R1E2SRU2rr2ZGiZLXl3FURx9N7B7qQcg94NSqy3B3YeXJ o1/L7iiyS5yl0oFHyTWUvfBJ/wQO+jtHMyQ0Yswt5Uq62mQ2iHmx2lHwgHfLvAGsUe8R TTlTAPWbAdysWRLrZT9yXk9XwC0rhy1lzOAKd2WKtWmKAYr5GdmOzrk/4AYn2ig49YB3 MkRQ== X-Gm-Message-State: ACgBeo1szwEtDBBPs08T6FpT6lROATL2IVJu2dsGeeg5Ro4JT1zPM1j7 p+7WbEdvjlomXpvBSbAvn3uUFlCqcifT3fyV X-Google-Smtp-Source: AA6agR4Sg35L8Anvk0nEe5fJ4E7Xea+w+rgKi42FKFTAoNVE9NJWgO+zVj850flVR2OJK/OEmVSyTg== X-Received: by 2002:a17:902:7c94:b0:170:aed6:7e6c with SMTP id y20-20020a1709027c9400b00170aed67e6cmr3417002pll.10.1662550639621; Wed, 07 Sep 2022 04:37:19 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([49.206.11.92]) by smtp.gmail.com with ESMTPSA id 8-20020a17090a000800b001fd77933fb3sm10797230pja.17.2022.09.07.04.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 04:37:19 -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 17:06:16 +0530 Message-Id: <20220907113626.540065-10-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220907113626.540065-1-sunilvl@ventanamicro.com> References: <20220907113626.540065-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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/DxeCpuExceptionHandlerLib.inf b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf index e7a81bebdb13..bf33d54bae13 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf @@ -32,7 +32,7 @@ [Sources.X64] X64/ArchExceptionHandler.c X64/ArchInterruptDefs.h -[Sources.common] +[Sources.IA32, Sources.X64] CpuExceptionCommon.h CpuExceptionCommon.c PeiDxeSmmCpuException.c @@ -56,8 +56,10 @@ [LibraryClasses] SerialPortLib PrintLib SynchronizationLib - LocalApicLib PeCoffGetEntryPointLib MemoryAllocationLib DebugLib + +[LibraryClasses.IA32, LibraryClasses.X64] + LocalApicLib VmgExitLib -- 2.25.1