From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id B7CEF740034 for ; Mon, 12 May 2025 06:36:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=KlMwhY6r1PzCRZAvg+rE1ZOfUHDENovPezbUmVowx70=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1747031795; v=1; x=1747290993; b=V+Jw/6NrLhUhQ2l6oMxx+nAlzjXZJjHwoxJkdUjUAKoNddSism2z+gd+lebNixRP/alCnUZP TlHS96yyW1vLKVnAwcOQrPqivzlaXOenrnBOEMSDJvRj2cc0KSZ2rcag36ASfuWLsYpAtNMhD1G icLHUUHOgu5xi2mM6Fcs+AS8WTb0xlup90qFA5mzantS1y52YyiUtDTTBTc2WYSynLO7Ov/i0Kz YxsOQkLWSm3mXYokhIXXxfBFVHbHGts1BN+G5blWQ3/KS9nKdEmkGlppMvSk1GDJjwFGGzdetyX tz/J5jeZvPOl1ITnikWwhEkYYwLxVwcpoZw1dMgZ+LRfQ== X-Received: by 127.0.0.2 with SMTP id a30KYY7687511xp4jbTVNso1; Sun, 11 May 2025 23:36:33 -0700 Subject: [edk2-devel] StackBase address for BSP. To: devel@edk2.groups.io From: "gauravpandya321 via groups.io" X-Originating-Location: Bengaluru, Karnataka, IN (161.69.93.46) X-Originating-Platform: Windows Chrome 135 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sun, 11 May 2025 23:36:32 -0700 Message-ID: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,gauravpandya321@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: mZc5OGjTUO5tiaC1KcygqWKrx7686176AA= Content-Type: multipart/alternative; boundary="KVO6cSb2pDCTTgD0snQ6" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b="V+Jw/6Nr"; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --KVO6cSb2pDCTTgD0snQ6 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable When i was traversing the following code in file UefiCpuPkg/CpuMpPei/CpuPag= ing.c In function SetupStackGuardPage we ASSERT if find any StackBase address as = 0x00. Why StackBase address for BSP cannot be zero, any specific reason? In file edk2/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c at line number 788 --> TopOfNewStack =3D Private->PhysicalMemoryBegin + New= StackSize; Can not Private->PhysicalMemoryBegin be 0x00, if not why is should not be 0= x00? -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121331): https://edk2.groups.io/g/devel/message/121331 Mute This Topic: https://groups.io/mt/113066243/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --KVO6cSb2pDCTTgD0snQ6 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
When i was traversing the following code in file UefiCpuPkg/CpuMpPei/C= puPaging.c
In function SetupStackGuardPage we ASSERT if find any StackBase addres= s as 0x00. 
 
Why StackBase address for BSP cannot be zero, any specific reason?

In file edk2/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c 
at line number 788 --> TopOfNewStack =3D Private->PhysicalMemory= Begin + NewStackSize;
 
Can not Private->PhysicalMemoryBegin be 0x00, if not why is should = not be 0x00?
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#121331) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--KVO6cSb2pDCTTgD0snQ6--