From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f178.google.com (mail-vk1-f178.google.com [209.85.221.178]) by mx.groups.io with SMTP id smtpd.web11.9401.1686924707560345009 for ; Fri, 16 Jun 2023 07:11:47 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@gmail.com header.s=20221208 header.b=gDDm+Ms5; spf=pass (domain: gmail.com, ip: 209.85.221.178, mailfrom: pedro.falcato@gmail.com) Received: by mail-vk1-f178.google.com with SMTP id 71dfb90a1353d-4714a5de80dso152138e0c.3 for ; Fri, 16 Jun 2023 07:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686924706; x=1689516706; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2gx62J2Pv07/+cTeWX5vdTAkCKJl0yISkqn/dcp5cyA=; b=gDDm+Ms558mVmIbLcyGP7vL37kFiqzV4OvmbYRGwv1TyM7/rdKPS+j2HzrwGn0jZPB /6MmJGWhImLdbmN5i+0WDVGpVkPo1C6JzOjIs/1hqOBbLIKWOj+9VFkL2ofCYCW6qhig A3FNuScurMuV6WfHbP6+HTzd50com7NR/ozWzDV5TYGBsOUET03wSxcG5HQ8f3/bSrb1 6BOsecZDFjkm+s11nyHIs7kNSdaQ9qTNMuZSpNmcx8FW3GYTHhPVLLcBrg+eMONEGu2z gpM6eFnk2xkmVipW6qYftl3d4suqbSb1ezuu7N0ZcrXX4WDxVRcXOmTx4b6rkihFfthb nO2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686924706; x=1689516706; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2gx62J2Pv07/+cTeWX5vdTAkCKJl0yISkqn/dcp5cyA=; b=C7UMokKlW3k7WX8TZXo6rDxK3ZrtGoOPTLC9NTyjR++SIKmxON/64BLfEfNbw2OWq2 hNYrzKfPB9RsYKQEZ8MRIjcCLtwb2/e0P4pN1JjaRE8JKb6oR3RY5FQysupPWkTOiWud O/hQNklCZUiyujF7cEuX4ScSAMrW45Xp5q89OUnx/rqd4uz2vnQWIo39jzym7A9dxxG+ kG9qzgVWPs6BlfjRHU97y0mP6ayWyu7uOY/R5toO9SX7Mj5HSkxcD/6j/tNv7nJlF/N3 QHYc1Ht2Fxu/MbocWTD0z4XPppZIC0CMTBzzHbro3ZAOILSSSKmqvGyLRQrmO/kGiUil 8L9Q== X-Gm-Message-State: AC+VfDwH1wlanN75eAgzugtxbLXJjnKgX9HhVBH1zr97mCIS79oqpKt9 SH2K6awc2iTKIEmU763suMt3U9Gvej46NTKgEBKnM/m+ X-Google-Smtp-Source: ACHHUZ64yhPV2yJBkGDM2tGSyOa4ml+mJzWhOhc45KIi9iQVgYZIfuJ9DfyIRtQFSsU5RSD4/zMu7oQI8U4fnswradU= X-Received: by 2002:a1f:ec41:0:b0:456:e940:b583 with SMTP id k62-20020a1fec41000000b00456e940b583mr1186491vkh.16.1686924706313; Fri, 16 Jun 2023 07:11:46 -0700 (PDT) MIME-Version: 1.0 References: <20230616072257.1989-1-gavin.xue@intel.com> In-Reply-To: From: "Pedro Falcato" Date: Fri, 16 Jun 2023 15:11:35 +0100 Message-ID: Subject: Re: [edk2-devel] [edk2 PATCH] MdePkg: Use same ProcessorBind symbol define for RISCV64 To: devel@edk2.groups.io, sunilvl@ventanamicro.com Cc: Gavin Xue , Andrei Warkentin , Yimin Wang , Alan Sheng Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jun 16, 2023 at 11:36=E2=80=AFAM Sunil V L wrote: > > On Fri, Jun 16, 2023 at 03:22:57PM +0800, Gavin Xue wrote: > > Different symbol (PROCESSOR_BIND_H__) define in RISCV64 ProcessorBindin= g.h > > from other CPU Arch. An unexception compilation error generated > > if include __PROCESSOR_BIND_H__ symbol in header file for > > cross-platform compiling. (replying through Sunil's reply as the original email doesn't seem to have been sent to the list) What exactly is the problem here? The header has its include guard, you include it once, it defines PROCESSOR_BIND_H__, you include it twice, the #ifndef doesn't pass and nothing gets "included" again. I really don't understand what your problem is, here. Particularly the __PROCESSOR_BIND_H__ inclusion bit, this all seems like a giant hack. --=20 Pedro