[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/7] docs: Fix spelling typo and remove unnecessary spaces
From: |
Glenn Washburn |
Subject: |
[PATCH 1/7] docs: Fix spelling typo and remove unnecessary spaces |
Date: |
Wed, 11 May 2022 21:56:18 -0500 |
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
docs/grub-dev.texi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
index 617e155a0..47a8e3826 100644
--- a/docs/grub-dev.texi
+++ b/docs/grub-dev.texi
@@ -967,13 +967,13 @@ If it works next stage is to have heap, console and timer.
To have the heap working you need to determine which regions are suitable for
heap usage, allocate them from firmware and map (if applicable). Then call
-grub_mm_init_region (vois *start, grub_size_t s) for every of this region.
+grub_mm_init_region (void *start, grub_size_t s) for every of this region.
As a shortcut for early port you can allocate right after _end or have
a big static array for heap. If you do you'll probably need to come back to
this later. As for output console you should distinguish between an array of
text, terminfo or graphics-based console. Many of real-world examples don't
fit perfectly into any of these categories but one of the models is easier
-to be used as base. In second and third case you should add your platform to
+to be used as base. In second and third case you should add your platform to
terminfokernel respectively videoinkernel group. A good example of array of
text is i386-pc (kern/i386/pc/init.c and term/i386/pc/console.c).
Of terminfo is ieee1275 (kern/ieee1275/init.c and term/ieee1275/console.c).
@@ -1930,7 +1930,7 @@ use in GRUB at this time:
@item BDF
Inefficient storage; uses ASCII to describe properties and
hexadecimal numbers in ASCII for the bitmap rows.
-@item PCF
+@item PCF
Many format variations such as byte order and bitmap padding (rows
padded to byte, word, etc.) would result in more complex code to
handle the font format.
@@ -2051,8 +2051,8 @@ bit in the byte. For the sake of compact storage, rows
are not padded
to byte boundaries (i.e., a single byte may contain bits belonging to
multiple rows). The last byte of the bitmap @strong{is} padded with zero
bits in the bits positions to the right of the last used bit if the
-bitmap data does not fill the last byte.
-
+bitmap data does not fill the last byte.
+
The length of the @strong{bitmap data} field is (@var{width} * @var{height} +
7) / 8
using integer arithmetic, which is equivalent to ceil(@var{width} *
@var{height} / 8) using real number arithmetic.
--
2.34.1
- [PATCH 0/7] Various docs improvements, Glenn Washburn, 2022/05/11
- [PATCH 1/7] docs: Fix spelling typo and remove unnecessary spaces,
Glenn Washburn <=
- [PATCH 2/7] docs: Make note that sendkey is only available on i386-pc, Glenn Washburn, 2022/05/11
- [PATCH 3/7] docs: Make note of i386-pc specific usage of halt command, Glenn Washburn, 2022/05/11
- [PATCH 4/7] docs: Markup loader commands with @command tag, Glenn Washburn, 2022/05/11
- [PATCH 5/7] docs: Create command section for loader commands, Glenn Washburn, 2022/05/11
- [PATCH 6/7] docs: Add under documented loader commands to beginning of loader section, Glenn Washburn, 2022/05/11
- [PATCH 7/7] docs: Add section for general undocumented commands, Glenn Washburn, 2022/05/11
- Re: [PATCH 0/7] Various docs improvements, Daniel Kiper, 2022/05/19