public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <afish@apple.com>
Subject: 回复: [edk2-devel] gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask and ExitBootServices
Date: Thu, 27 Aug 2020 09:38:47 +0800	[thread overview]
Message-ID: <003001d67c12$cf25b9e0$6d712da0$@byosoft.com.cn> (raw)
In-Reply-To: <2030C8D7-3DF6-4374-8BDF-BEC2B11344C8@apple.com>

Fish:
  If PcdNullPointerDetectionPropertyMask BIT7 is set, it will be disabled on EndOfDxe. Do you mean to always turn off it on ExitBootServices? But, after ExitBootSerivces, there should be no memory allocation. 

Thanks
Liming
> -----邮件原件-----
> 发件人: bounce+27952+64665+4905953+8761045@groups.io
> <bounce+27952+64665+4905953+8761045@groups.io> 代表 Andrew Fish
> via groups.io
> 发送时间: 2020年8月27日 8:34
> 收件人: edk2-devel-groups-io <devel@edk2.groups.io>
> 主题: [edk2-devel]
> gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask
> and ExitBootServices
> 
> I think I might have found a case when grub calls ExitBootServices,
> PcdNullPointerDetectionPropertyMask is TRUE, and grub decided to allocate
> memory in the guard area….
> 
> Is there any code to turn off PcdNullPointerDetectionPropertyMask at
> ExitBootServices time?
> 
> Seems like MemoryProtectionExitBootServicesCallback() should also turn off
> PcdNullPointerDetectionPropertyMask?
> 
> Thanks,
> 
> Andrew Fish
> 




      reply	other threads:[~2020-08-27  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-27  0:33 gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask and ExitBootServices Andrew Fish
2020-08-27  1:38 ` gaoliming [this message]

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='003001d67c12$cf25b9e0$6d712da0$@byosoft.com.cn' \
    --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