Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mTQRS-00042A-BU for mharc-grub-devel@gnu.org; Thu, 23 Sep 2021 11:15:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTQRG-0003yw-P4 for grub-devel@gnu.org; Thu, 23 Sep 2021 11:15:07 -0400 Received: from [176.12.98.74] (port=52888 helo=shell.ipa.basealt.ru) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTQRE-0005vR-T4 for grub-devel@gnu.org; Thu, 23 Sep 2021 11:15:06 -0400 Received: by shell.ipa.basealt.ru (Postfix, from userid 709000081) id 4CF5A29077; Thu, 23 Sep 2021 18:06:16 +0300 (MSK) From: Nikolai Kostrigin To: grub-devel@gnu.org Cc: nickel@altlinux.org Subject: [PATCH] docs/grub-dev.texi: fix typos Date: Thu, 23 Sep 2021 18:06:03 +0300 Message-Id: <20210923150603.807894-2-nickel@basealt.ru> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210923150603.807894-1-nickel@basealt.ru> References: <20210923150603.807894-1-nickel@basealt.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 176.12.98.74 (failed) Received-SPF: none client-ip=176.12.98.74; envelope-from=nickel@shell.ipa.basealt.ru; helo=shell.ipa.basealt.ru X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2021 15:15:08 -0000 From: Nikolai Kostrigin Signed-off-by: Nikolai Kostrigin --- docs/grub-dev.texi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi index 6c629a23e..fb2cc965e 100644 --- a/docs/grub-dev.texi +++ b/docs/grub-dev.texi @@ -760,7 +760,7 @@ void grub_arch_sync_caches (void *address, grub_size_t len) (cache.S). They won't be used for now. You will need to create directory include/$cpu/$platform and a file -include/$cpu/types.h. The later folowing this template: +include/$cpu/types.h. The latter following this template: @example #ifndef GRUB_TYPES_CPU_HEADER @@ -1034,15 +1034,15 @@ On emu stack and heap are just normal host OS stack and heap. Stack is typically On i386-pc, i386-coreboot, i386-qemu and i386-multiboot the stack is 60KiB. All available space between 1MiB and 4GiB marks is part of heap. -On *-xen stack is 4MiB. If compiled for x86-64 with GCC 4.4 or later adressable -space is unlimited. When compiled for x86-64 with older GCC version adressable -space is limited to 2GiB. When compiling for i386 adressable space is limited -to 4GiB. All adressable pages except the ones for stack, GRUB binary, special +On *-xen stack is 4MiB. If compiled for x86-64 with GCC 4.4 or later addressable +space is unlimited. When compiled for x86-64 with older GCC version addressable +space is limited to 2GiB. When compiling for i386 addressable space is limited +to 4GiB. All addressable pages except the ones for stack, GRUB binary, special pages and page table are in the heap. On *-efi GRUB uses same stack as EFI. If compiled for x86-64 with GCC 4.4 or -later adressable space is unlimited. When compiled for x86-64 with older GCC -version adressable space is limited to 2GiB. For all other platforms adressable +later addressable space is unlimited. When compiled for x86-64 with older GCC +version addressable space is limited to 2GiB. For all other platforms addressable space is limited to 4GiB. GRUB allocates pages from EFI for its heap, at most 1.6 GiB. @@ -2036,7 +2036,7 @@ functions (defined in @file{gfxmenu/gui_util.c}) that are particularly useful: @item @code{grub_gui_find_by_id (root, id, callback, userdata)}: -This function ecursively traverses the component tree rooted at @var{root}, and +This function recursively traverses the component tree rooted at @var{root}, and for every component that has an ID equal to @var{id}, calls the function pointed to by @var{callback} with the matching component and the void pointer @var{userdata} as arguments. The callback function can do whatever is desired to use the -- 2.33.0