Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nf1CP-0006i1-KS for mharc-grub-devel@gnu.org; Thu, 14 Apr 2022 11:15:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf1CJ-0006e7-4o for grub-devel@gnu.org; Thu, 14 Apr 2022 11:15:52 -0400 Received: from mail.ispras.ru ([83.149.199.84]:43914) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf1CF-0002hf-07 for grub-devel@gnu.org; Thu, 14 Apr 2022 11:15:50 -0400 Received: from mail.ispras.ru (unknown [83.149.199.84]) by mail.ispras.ru (Postfix) with ESMTPSA id 3E1A140D403D; Thu, 14 Apr 2022 15:15:20 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 14 Apr 2022 18:15:20 +0300 From: baskov@ispras.ru To: Paul Menzel Cc: grub-devel@gnu.org Subject: Re: [PATCH RFC 1/3] efi: provide definitions of DXE services table In-Reply-To: <55222746-e3ce-11f2-e528-235c63f7f469@molgen.mpg.de> References: <20220407033228.30242-1-baskov@ispras.ru> <20220407033228.30242-2-baskov@ispras.ru> <55222746-e3ce-11f2-e528-235c63f7f469@molgen.mpg.de> User-Agent: Roundcube Webmail/1.4.4 Message-ID: X-Sender: baskov@ispras.ru Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=83.149.199.84; envelope-from=baskov@ispras.ru; helo=mail.ispras.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2022 15:15:52 -0000 On 2022-04-11 10:12, Paul Menzel wrote: > Dear Baskov, > > > Thank you for your patches. > > > Am 07.04.22 um 05:32 schrieb Baskov Evgeniy: >> DXE services can be used to change memory attributes >> on systems where EFI use stricter policies about memory >> access rights and sets NX flag on some pages required by >> grub to executable. > > If you resend, please use (at least) 72 characters per line. Thank you, I will take that in mind for the next version. > > For the UEFI ignorant, could you please reference the UEFI > specification name, revision, and section needed for review? > DXE services are part of UEFI Platform Initialization Specification [1] Functions used in this patch are described in section 7.2.4, Global Coherency Domain Services, starting with page 325 (2-41) in version 1.7A. Actually, the fact that DXE services are not the part of the main UEFI spec, was one of the reasons to create the new protocol. The one remaining problem with it is that it is not supported yet by the implementation which was the reason for this patch to exist. [1] https://uefi.org/sites/default/files/resources/PI_Spec_1_7_A_final_May1.pdf Thanks, Baskov Evgeniy