From: "Ni, Ray" <ray.ni@intel.com>
To: Andrew Fish <afish@apple.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Kuo, Ted" <ted.kuo@intel.com>,
"Chiu, Chasel" <chasel.chiu@intel.com>,
"Desimone, Nathaniel L" <nathaniel.l.desimone@intel.com>,
"Zeng, Star" <star.zeng@intel.com>,
"S, Ashraf Ali" <ashraf.ali.s@intel.com>
Subject: Re: [edk2-devel][PATCH v3 1/8] IntelFsp2Pkg: X64 compatible changes to support PEI in 64bit
Date: Thu, 7 Apr 2022 00:08:42 +0000 [thread overview]
Message-ID: <MWHPR11MB163194C9F70A82345137D6E68CE69@MWHPR11MB1631.namprd11.prod.outlook.com> (raw)
In-Reply-To: <584D9D92-ADCC-4DE0-A506-70363B642D0A@apple.com>
> >> -; UINT32
> >> +; UINTN
> >> ; EFIAPI
> >> -; AsmReadEsp (
> >> +; AsmReadStackPointer (
> >> ; VOID
> >> ; );
> >> ;------------------------------------------------------------------------------
> >> -global ASM_PFX(AsmReadEsp)
> >> -ASM_PFX(AsmReadEsp):
> >> +global ASM_PFX(AsmReadStackPointer)
> >> +ASM_PFX(AsmReadStackPointer):
> >> mov eax, esp
> >> ret
> >>
> >
> > I guess it's possible that bootloader sets up the stack above 4G.
> > If that's the case, above code doesn't work.
> >
> >
>
> Is there an issue with the SecSwitchStack too?
I didn't read the whole patch😊.
next prev parent reply other threads:[~2022-04-07 0:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 17:02 [edk2-devel][PATCH v3 0/8] Support PEI 64bit in IntelFsp2Pkg and IntelFsp2WrapperPkg Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 1/8] IntelFsp2Pkg: X64 compatible changes to support PEI in 64bit Kuo, Ted
2022-04-06 23:57 ` Ni, Ray
2022-04-07 0:05 ` Andrew Fish
2022-04-07 0:08 ` Ni, Ray [this message]
2022-04-07 1:25 ` Kuo, Ted
2022-04-07 1:10 ` Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 2/8] IntelFsp2Pkg: Add FSPx_ARCH2_UPD support for X64 Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 3/8] IntelFsp2Pkg: Update FSP_GLOBAL_DATA and FSP_PLAT_DATA " Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 4/8] IntelFsp2Pkg: FspSecCore support " Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 5/8] IntelFsp2Pkg: SecFspSecPlatformLibNull " Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 6/8] IntelFsp2WrapperPkg: Adopt FSPM_UPD_COMMON_FSP24 " Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 7/8] IntelFsp2WrapperPkg: BaseFspWrapperApiLib support " Kuo, Ted
2022-04-06 17:02 ` [edk2-devel][PATCH v3 8/8] IntelFsp2WrapperPkg: SecFspWrapperPlatformSecLibSample " Kuo, Ted
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MWHPR11MB163194C9F70A82345137D6E68CE69@MWHPR11MB1631.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox