From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::236; helo=mail-wm0-x236.google.com; envelope-from=guyraviv8@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 35DB1209831DA for ; Wed, 6 Jun 2018 23:34:43 -0700 (PDT) Received: by mail-wm0-x236.google.com with SMTP id p126-v6so15715405wmb.2 for ; Wed, 06 Jun 2018 23:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LGDX94AqLCdT2Dw77sq969gRvOUMJeatFKAMnnZYrO4=; b=kUavURwBRdWdBhDtIDC2YqHQXluDLSdS5E94bCVLAL2Vxm+bcqwFYWrUE9AFUL3sJK rvUchu04RV/itKKwV2JPPQS77atmtDkPewuTRdHiS7jnXLtoKyhwERlLfCdW8K9WbM8v iJA0E/1sKqqvkj9P33EGwVcMTh/Or2sPVzJUl3SVQ/13FARV85ULJLIHNPc88JPhcVb2 6zJJCv7tdtHVHFguvZF6Z0vK4tWLawKZ6YzshYpBrH1ZSNirAzPzijP06PxUVVRmx0cE Qnf6wj9lfHw6LUbQBFvn6LWtOE3SPrEGLW0wYtex81t1lNgMYruxcVQtfCFxOhBbsWpg rDIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LGDX94AqLCdT2Dw77sq969gRvOUMJeatFKAMnnZYrO4=; b=O+6eGa2NbW9OHTu6VUlhWuaofhDQq6cpqhnTPhvh2xr2RguJVZnpxbujqiDzmCWIAJ 5CCzZrczuGAdzdzWKQP0RCgHmZjdaHjziZ4A9QBQLANizVdmIGio/KWnA04/WKVwZmL6 cVkPvHgaVnqOj4jxRITwYlx4Ykrv1hDHr0g8rDXK/VsBZn9sW0MIkXXz+rOv9BVPzIMK j8tnwa/v9ezREyVX4aRqY2vv7iDTlnqsjL0ft8wpw0L4jnB0ceBPnmXXBNGwrM8UMjTZ EZZpcRgoHVGBjuXsYNJhLr5P59SDZWVMChKqrXy46luHuydQUT0M+IfWfBlDN+JSTqT+ GkXw== X-Gm-Message-State: APt69E3Z66/mnfVQlYmy/4Xdfg3shUKjEicamvWq3RsA1qb0aUphiCOV VCyHB5l0Fkt2NbUHcQSRtq58BXicqsIv0Sr6LBJN1w== X-Google-Smtp-Source: ADUXVKKXXl3VmaWcWedciDXylfZ8I4lpCLDZYLEkQOX6UIOECc4tIywV7qmHoURYHKK6NpqSFlpBXPT7qkuQ6GXpKaM= X-Received: by 2002:a1c:bf0c:: with SMTP id p12-v6mr602870wmf.120.1528353281759; Wed, 06 Jun 2018 23:34:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:f618:0:0:0:0:0 with HTTP; Wed, 6 Jun 2018 23:34:41 -0700 (PDT) In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2939F2@SHSMSX104.ccr.corp.intel.com> References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2939F2@SHSMSX104.ccr.corp.intel.com> From: Guy Raviv Date: Thu, 7 Jun 2018 09:34:41 +0300 Message-ID: To: "Gao, Liming" Cc: "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 Subject: Re: Crc32 Calculation Miss X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 06:34:43 -0000 Content-Type: text/plain; charset="UTF-8" Hi Gao, I used the EFI_CALCULATE_CRC32 function from edkCompatibilityPkg\Foundation. Thanks, Guy On Wed, Jun 6, 2018 at 6:00 PM, Gao, Liming wrote: > Do you use CalculateCrc32() in BaseLib to calculate CRC32 value for the > different buffer? > > > -----Original Message----- > > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Guy Raviv > > Sent: Wednesday, June 6, 2018 10:18 PM > > To: edk2-devel@lists.01.org > > Subject: [edk2] Crc32 Calculation Miss > > > > Hi Everyone, > > > > I have an odd problem. > > In a specific module in my code (MRC training), code modification doesn't > > change the BIOS Crc calculation. > > 1. i checked in my project's fdf file if the FV base address and region > > size defined are the same as the parameters i'm putting in the > calculation. > > 2. i also compared two different binaries and found they are exactly the > > same. > > > > does anyone have any idea what can be wrong here or where should i check? > > > > Thanks, > > Guy > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel >